From 03398d037d51fda5bdcbb820fde9361de0ca7074 Mon Sep 17 00:00:00 2001 From: libretroadmin Date: Tue, 19 Jul 2022 19:43:16 +0200 Subject: [PATCH] Remove unused SoundEnvelopeHeightReading --- src/memmap.c | 10 ---------- src/snes9x.h | 2 -- 2 files changed, 12 deletions(-) diff --git a/src/memmap.c b/src/memmap.c index ca5f606..a66a5e6 100644 --- a/src/memmap.c +++ b/src/memmap.c @@ -475,14 +475,6 @@ again: "ROM image is in interleaved format - converting..."); nblocks = Memory.CalculatedSize >> 16; -#if 0 - int step = 64; - - while (nblocks <= step) - step >>= 1; - - nblocks = step; -#endif if (Tales) { @@ -2402,8 +2394,6 @@ void ApplyROMFixes () } } - if (strcmp (Memory.ROMName, "FURAI NO SIREN") == 0) - SNESGameFixes.SoundEnvelopeHeightReading2 = TRUE; #if 0 if(strcmp (ROMName, "XBAND JAPANESE MODEM") == 0) { diff --git a/src/snes9x.h b/src/snes9x.h index e458c20..8e642c6 100644 --- a/src/snes9x.h +++ b/src/snes9x.h @@ -306,7 +306,6 @@ typedef struct bool8 SixteenBitSound; int SoundBufferSize; int SoundMixInterval; - bool8 SoundEnvelopeHeightReading; bool8 DisableSoundEcho; bool8 DisableSampleCaching; bool8 DisableMasterVolume; @@ -365,7 +364,6 @@ typedef struct uint8 Old_Read0x4200; uint8 _0x213E_ReturnValue; uint8 TouhaidenControllerFix; - uint8 SoundEnvelopeHeightReading2; uint8 SRAMInitialValue; uint8 Uniracers; uint8 Flintstones;