mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-12-23 19:29:18 +00:00
Removing temp ignoresegv patch
This commit is contained in:
parent
833f21c225
commit
40e2d3d84b
@ -31,7 +31,6 @@ enum {
|
||||
ROMTYPE_NEWWORLD
|
||||
};
|
||||
extern int ROMType;
|
||||
extern bool SoundPatchFlag;
|
||||
|
||||
extern bool DecodeROM(uint8 *data, uint32 size);
|
||||
extern bool PatchROM(void);
|
||||
|
@ -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
|
||||
@ -695,8 +694,6 @@ bool PatchROM(void)
|
||||
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))
|
||||
return false;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user