From efb953a874908a58a6b1bdc1a395e088285554e7 Mon Sep 17 00:00:00 2001 From: iq_132 <1191709+iq132@users.noreply.github.com> Date: Tue, 4 Nov 2014 02:31:48 +0000 Subject: [PATCH] Add proper patch addresses for drgw2hk --- src/burn/drv/pgm/d_pgm.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/burn/drv/pgm/d_pgm.cpp b/src/burn/drv/pgm/d_pgm.cpp index 5bf502b6d..f78f9b51f 100644 --- a/src/burn/drv/pgm/d_pgm.cpp +++ b/src/burn/drv/pgm/d_pgm.cpp @@ -902,7 +902,6 @@ struct BurnDriver BurnDrvDrgw2x = { // Dragon World II (V100H, Hong Kong) -// the IGS025 has a "DRAGON-II 0004-1" sticker, the IGS012 has no per-game marking static struct BurnRomInfo drgw2hkRomDesc[] = { { "dragon_ii_v-100-h.u2", 0x080000, 0xc6e2e6ec, 1 | BRF_PRG | BRF_ESS }, // 0 68K Code @@ -921,9 +920,9 @@ static void drgw2100h_patch() { pgm_decrypt_dw2(); - *((UINT16*)(PGM68KROM + 0x0302C0)) = BURN_ENDIAN_SWAP_INT16(0x4e93); - *((UINT16*)(PGM68KROM + 0x030366)) = BURN_ENDIAN_SWAP_INT16(0x4e93); - *((UINT16*)(PGM68KROM + 0x0303F6)) = BURN_ENDIAN_SWAP_INT16(0x4e93); + *((UINT16*)(PGM68KROM + 0x02f520)) = BURN_ENDIAN_SWAP_INT16(0x4e93); + *((UINT16*)(PGM68KROM + 0x02f5c6)) = BURN_ENDIAN_SWAP_INT16(0x4e93); + *((UINT16*)(PGM68KROM + 0x02f656)) = BURN_ENDIAN_SWAP_INT16(0x4e93); } static INT32 drgw2100hInit()