emrsmsrli / gameboi

An Original GameBoy emulator?
MIT License
25 stars 0 forks source link

stat write does not preserve current coincidence flag and mode #2

Closed emrsmsrli closed 4 years ago

emrsmsrli commented 4 years ago

stat write should be `stat.reg = (stat.reg & 0x7u) | (data & 0xF8u);instead ofstat.reg = data & 0xFCu;`