mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-01-11 10:30:09 +00:00
Removing temp ignoresegv patch
This commit is contained in:
parent
833f21c225
commit
40e2d3d84b
@ -31,7 +31,6 @@ enum {
|
|||||||
ROMTYPE_NEWWORLD
|
ROMTYPE_NEWWORLD
|
||||||
};
|
};
|
||||||
extern int ROMType;
|
extern int ROMType;
|
||||||
extern bool SoundPatchFlag;
|
|
||||||
|
|
||||||
extern bool DecodeROM(uint8 *data, uint32 size);
|
extern bool DecodeROM(uint8 *data, uint32 size);
|
||||||
extern bool PatchROM(void);
|
extern bool PatchROM(void);
|
||||||
|
@ -67,7 +67,6 @@ const uint32 ADDR_MAP_PATCH_SPACE = 0x2fd140;
|
|||||||
|
|
||||||
// Global variables
|
// Global variables
|
||||||
int ROMType; // ROM type
|
int ROMType; // ROM type
|
||||||
bool SoundPatchFlag;
|
|
||||||
static uint32 sony_offset; // Offset of .Sony driver resource
|
static uint32 sony_offset; // Offset of .Sony driver resource
|
||||||
|
|
||||||
// Prototypes
|
// Prototypes
|
||||||
@ -695,8 +694,6 @@ bool PatchROM(void)
|
|||||||
else
|
else
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
SoundPatchFlag = ROMType == ROMTYPE_NEWWORLD && !PrefsFindBool("ignoresegv");
|
|
||||||
|
|
||||||
// Check that other ROM addresses point to really free regions
|
// Check that other ROM addresses point to really free regions
|
||||||
if (!check_rom_patch_space(CHECK_LOAD_PATCH_SPACE, 0x40))
|
if (!check_rom_patch_space(CHECK_LOAD_PATCH_SPACE, 0x40))
|
||||||
return false;
|
return false;
|
||||||
|
@ -522,7 +522,6 @@ void CheckLoad(uint32 type, int16 id, uint16 *p, uint32 size)
|
|||||||
// Install sound input driver
|
// Install sound input driver
|
||||||
memcpy(p, sound_input_driver, sizeof(sound_input_driver));
|
memcpy(p, sound_input_driver, sizeof(sound_input_driver));
|
||||||
D(bug(" patch 1 applied\n"));
|
D(bug(" patch 1 applied\n"));
|
||||||
*/
|
|
||||||
} else if (type == FOURCC('I','N','I','T') && id == 1 && size == (2416 >> 1)) {
|
} else if (type == FOURCC('I','N','I','T') && id == 1 && size == (2416 >> 1)) {
|
||||||
D(bug("INIT 1 (size 2416) found\n"));
|
D(bug("INIT 1 (size 2416) found\n"));
|
||||||
size >>= 1;
|
size >>= 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user