Add hack for unlicensed games that don't handle the Z80 bus properly

This commit is contained in:
techmetx11 2023-08-21 16:21:25 +01:00
parent bccd8832dd
commit a67db32a4a
No known key found for this signature in database
GPG key ID: 20E0C88A0E7E5AF2
5 changed files with 39 additions and 6 deletions

View file

@ -1210,6 +1210,8 @@ static void parse_carthw(const char *carthw_cfg, int *fill_sram,
PicoIn.quirks |= PQUIRK_MARSCHECK_HACK;
else if (strcmp(p, "force_6btn") == 0)
PicoIn.quirks |= PQUIRK_FORCE_6BTN;
else if (strcmp(p, "no_z80_bus_lock") == 0)
PicoIn.quirks |= PQUIRK_NO_Z80_BUS_LOCK;
else {
elprintf(EL_STATUS, "carthw:%d: unsupported prop: %s", line, p);
goto bad_nomsg;