Removing temp ignoresegv patch

This commit is contained in:
Seth Polsley 2020-09-10 17:31:21 -05:00
parent 833f21c225
commit 40e2d3d84b
3 changed files with 0 additions and 5 deletions

View File

@ -31,7 +31,6 @@ enum {
ROMTYPE_NEWWORLD
};
extern int ROMType;
extern bool SoundPatchFlag;
extern bool DecodeROM(uint8 *data, uint32 size);
extern bool PatchROM(void);

View File

@ -67,7 +67,6 @@ const uint32 ADDR_MAP_PATCH_SPACE = 0x2fd140;
// Global variables
int ROMType; // ROM type
bool SoundPatchFlag;
static uint32 sony_offset; // Offset of .Sony driver resource
// Prototypes
@ -694,8 +693,6 @@ bool PatchROM(void)
ROMType = ROMTYPE_NEWWORLD;
else
return false;
SoundPatchFlag = ROMType == ROMTYPE_NEWWORLD && !PrefsFindBool("ignoresegv");
// Check that other ROM addresses point to really free regions
if (!check_rom_patch_space(CHECK_LOAD_PATCH_SPACE, 0x40))

View File

@ -522,7 +522,6 @@ void CheckLoad(uint32 type, int16 id, uint16 *p, uint32 size)
// Install sound input driver
memcpy(p, sound_input_driver, sizeof(sound_input_driver));
D(bug(" patch 1 applied\n"));
*/
} else if (type == FOURCC('I','N','I','T') && id == 1 && size == (2416 >> 1)) {
D(bug("INIT 1 (size 2416) found\n"));
size >>= 1;