From 6e3c186c46a7b9bdea9ece8984e0dec7b8c4b3b9 Mon Sep 17 00:00:00 2001 From: EkeEke Date: Wed, 29 Apr 2015 01:14:57 +0200 Subject: [PATCH] [Core/MD] fixed Game Genie / Pro Action Replay lock-on support when Mega CD hardware is enabled --- core/cd_hw/cd_cart.c | 2 +- core/cd_hw/cd_cart.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/cd_hw/cd_cart.c b/core/cd_hw/cd_cart.c index 94c11e2..b036305 100644 --- a/core/cd_hw/cd_cart.c +++ b/core/cd_hw/cd_cart.c @@ -2,7 +2,7 @@ * Genesis Plus * CD compatible ROM/RAM cartridge support * - * Copyright (C) 2012 Eke-Eke (Genesis Plus GX) + * Copyright (C) 2012-2015 Eke-Eke (Genesis Plus GX) * * Redistribution and use of this code or any derivative works are permitted * provided that the following conditions are met: diff --git a/core/cd_hw/cd_cart.h b/core/cd_hw/cd_cart.h index e166ff4..2ee7b25 100644 --- a/core/cd_hw/cd_cart.h +++ b/core/cd_hw/cd_cart.h @@ -2,7 +2,7 @@ * Genesis Plus * CD compatible ROM/RAM cartridge support * - * Copyright (C) 2012 Eke-Eke (Genesis Plus GX) + * Copyright (C) 2012-2015 Eke-Eke (Genesis Plus GX) * * Redistribution and use of this code or any derivative works are permitted * provided that the following conditions are met: @@ -40,7 +40,7 @@ /* CD compatible ROM/RAM cartridge */ typedef struct { - uint8 area[0x810000]; /* cartridge ROM/RAM area (max. 8MB + 64KB backup) */ + uint8 area[0x840000]; /* cartridge ROM/RAM area (max. 8MB ROM / 64KB backup memory + Pro Action Replay 128KB ROM / 64KB RAM) */ uint8 boot; /* cartridge boot mode (0x00: boot from CD with ROM/RAM cartridge enabled, 0x40: boot from ROM cartridge with CD enabled) */ uint8 id; /* RAM cartridge ID (related to RAM size, 0 if disabled) */ uint8 prot; /* RAM cartridge write protection */