This commit is contained in:
Lior Halphon 2021-12-02 11:54:26 +02:00
parent 8660e20eeb
commit 4b3c77bfa5
1 changed files with 2 additions and 0 deletions

View File

@ -101,6 +101,7 @@ void GB_set_key_mask(GB_gameboy_t *gb, GB_key_mask_t mask)
*key = true;
}
mask >>= 1;
key++;
}
GB_update_joyp(gb);
@ -115,6 +116,7 @@ void GB_set_key_mask_for_player(GB_gameboy_t *gb, GB_key_mask_t mask, unsigned p
*key = true;
}
mask >>= 1;
key++;
}
GB_update_joyp(gb);