Fix CGB emulation

This commit is contained in:
Lior Halphon 2019-07-19 20:27:53 +03:00
parent 4f9c8e9374
commit e634019ac9

View File

@ -3,7 +3,7 @@
void GB_update_joyp(GB_gameboy_t *gb) void GB_update_joyp(GB_gameboy_t *gb)
{ {
if (gb->model & GB_MODEL_SGB_NO_SFC) return; if (gb->model & GB_MODEL_NO_SFC_BIT) return;
uint8_t key_selection = 0; uint8_t key_selection = 0;
uint8_t previous_state = 0; uint8_t previous_state = 0;