pineman / fpt

Gameboy emulator (yes, written in rust)
https://pineman.github.io/fpt
MIT License
5 stars 1 forks source link

Fix BIT instructions zero flag behavior #70

Closed pineman closed 1 month ago

pineman commented 1 month ago

The rgbds entry says: image which I interpreted as "only mutates the Z flag if the result is 0". But it actually always sets (or resets) the zero flag (see sameboy). This fixes the start button not doing anything in Tetris.

pineman commented 1 month ago

no idea why it breaks so many rom tests