aboutsummaryrefslogtreecommitdiff
path: root/source/snes9x.h
diff options
context:
space:
mode:
authorNebuleon Fumika2013-02-06 19:07:39 -0500
committerNebuleon Fumika2013-02-06 19:07:39 -0500
commit5e3426d0d26bb25810aca6593416ac0125ea6e8f (patch)
tree15c44732299ca8f4df6d2e46d63c8e18a61e03c3 /source/snes9x.h
parent90de0280db8e33d9e54a65639be6ec76510e4bb0 (diff)
downloadsnes9x2005-5e3426d0d26bb25810aca6593416ac0125ea6e8f.tar.gz
snes9x2005-5e3426d0d26bb25810aca6593416ac0125ea6e8f.tar.bz2
snes9x2005-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/snes9x.h')
-rw-r--r--source/snes9x.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/snes9x.h b/source/snes9x.h
index 6c93855..2661923 100644
--- a/source/snes9x.h
+++ b/source/snes9x.h
@@ -341,7 +341,6 @@ struct SSettings{
int SoundMixInterval;
bool8 SoundEnvelopeHeightReading;
bool8 DisableSoundEcho;
- bool8 DisableSampleCaching;
bool8 DisableMasterVolume;
bool8 SoundSync;
bool8 InterpolatedSound;