diff options
Diffstat (limited to 'src/gb.h')
| -rw-r--r-- | src/gb.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -94,6 +94,11 @@ struct GB { // serial u8 sb, sc; + // APU registers 0xFF10-0xFF3F. We don't synthesize sound, but games read + // these back (e.g. the music fade-out decrements NR50/rAUDVOL until it + // reads 0), so they must behave as real storage, not a 0xFF black hole. + u8 apu[0x30]; + // DMA u8 dma; |
