diff options
author | Nebuleon Fumika | 2013-02-06 19:07:39 -0500 |
---|---|---|
committer | Nebuleon Fumika | 2013-02-06 19:07:39 -0500 |
commit | 5e3426d0d26bb25810aca6593416ac0125ea6e8f (patch) | |
tree | 15c44732299ca8f4df6d2e46d63c8e18a61e03c3 /source/apu.h | |
parent | 90de0280db8e33d9e54a65639be6ec76510e4bb0 (diff) | |
download | snesemu-5e3426d0d26bb25810aca6593416ac0125ea6e8f.tar.gz snesemu-5e3426d0d26bb25810aca6593416ac0125ea6e8f.tar.bz2 snesemu-5e3426d0d26bb25810aca6593416ac0125ea6e8f.zip |
Remove 320 KiB of memory allocations in APU emulation that were completely unused but constantly re-zeroed.
Frees up 320 KiB for other uses, and saves ~4 milliseconds at emulator startup, when resetting the APU and when loading a new game.
Diffstat (limited to 'source/apu.h')
-rw-r--r-- | source/apu.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source/apu.h b/source/apu.h index 67b2525..b675dfd 100644 --- a/source/apu.h +++ b/source/apu.h @@ -104,8 +104,6 @@ struct SIAPU uint8 *WaitAddress1; uint8 *WaitAddress2; uint32 WaitCounter; - uint8 *ShadowRAM; - uint8 *CachedSamples; uint8 _Carry; uint8 _Zero; uint8 _Overflow; |