{ "068-mg1.bin", 0x020000, 0xb1c7911e, [color=red]4[/color] | BRF_ESS | BRF_PRG }, // 8 Z80 code
static void mslugxPatch(){ unsigned short *mem16 = (unsigned short *)Neo68KROM; for (int i = 0;i < (0x100000/2) - 4;i++) { if (mem16[i+0] == 0x0243 && mem16[i+1] == 0x0001 && /* andi.w #$1, D3 */ mem16[i+2] == 0x6600) /* bne xxxx */ { mem16[i+2] = 0x4e71; mem16[i+3] = 0x4e71; } } mem16[0x3bdc/2] = 0x4e71; mem16[0x3bde/2] = 0x4e71; mem16[0x3be0/2] = 0x4e71; mem16[0x3c0c/2] = 0x4e71; mem16[0x3c0e/2] = 0x4e71; mem16[0x3c10/2] = 0x4e71; mem16[0x3c36/2] = 0x4e71; mem16[0x3c38/2] = 0x4e71;}
The fba code does exactly the same as the mame code, it just looks a little different.