[nostalgia/core] Add Context buttonDown function

This commit is contained in:
2022-02-13 02:21:38 -06:00
parent 0e7a090d28
commit 41cebff5fc
4 changed files with 9 additions and 10 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ uint64_t ticksMs(Context*) noexcept {
return g_timerMs;
}
bool buttonDown(Key k) noexcept {
bool buttonDown(Context*, Key k) noexcept {
return !(REG_GAMEPAD & k);
}