From 252395e70af987a0d73635bf9a9a8f007bc19702 Mon Sep 17 00:00:00 2001 From: "R. Belmont" Date: Thu, 31 Jul 2008 04:42:51 +0000 Subject: [PATCH] Enable strict PC relative loads for ST-V games; at least Cotton Boomerang needs them. --- src/mame/drivers/stv.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/mame/drivers/stv.c b/src/mame/drivers/stv.c index 3d46d46ac92..88e7d950c37 100644 --- a/src/mame/drivers/stv.c +++ b/src/mame/drivers/stv.c @@ -2348,9 +2348,10 @@ DRIVER_INIT ( stv ) install_stvbios_speedups(machine); // do strict overwrite verification - maruchan and rsgun crash after coinup without this. + // cottonbm needs strict PCREL // todo: test what games need this and don't turn it on for them... - cpunum_set_info_int(0, CPUINFO_INT_SH2_DRC_OPTIONS, SH2DRC_STRICT_VERIFY); - cpunum_set_info_int(1, CPUINFO_INT_SH2_DRC_OPTIONS, SH2DRC_STRICT_VERIFY); + cpunum_set_info_int(0, CPUINFO_INT_SH2_DRC_OPTIONS, SH2DRC_STRICT_VERIFY|SH2DRC_STRICT_PCREL); + cpunum_set_info_int(1, CPUINFO_INT_SH2_DRC_OPTIONS, SH2DRC_STRICT_VERIFY|SH2DRC_STRICT_PCREL); /* debug .. watch the command buffer rsgun, cottonbm etc. appear to use to communicate between cpus */ memory_install_write32_handler(machine, 0, ADDRESS_SPACE_PROGRAM, 0x60ffc44, 0x60ffc47, 0, 0, w60ffc44_write );