mirror of
https://github.com/ekeeke/Genesis-Plus-GX.git
synced 2024-12-26 03:01:50 +01:00
[Core/MD] fixed Game Genie / Pro Action Replay lock-on support when Mega CD hardware is enabled
This commit is contained in:
parent
7b3bb615f6
commit
6e3c186c46
@ -2,7 +2,7 @@
|
|||||||
* Genesis Plus
|
* Genesis Plus
|
||||||
* CD compatible ROM/RAM cartridge support
|
* 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
|
* Redistribution and use of this code or any derivative works are permitted
|
||||||
* provided that the following conditions are met:
|
* provided that the following conditions are met:
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
* Genesis Plus
|
* Genesis Plus
|
||||||
* CD compatible ROM/RAM cartridge support
|
* 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
|
* Redistribution and use of this code or any derivative works are permitted
|
||||||
* provided that the following conditions are met:
|
* provided that the following conditions are met:
|
||||||
@ -40,7 +40,7 @@
|
|||||||
/* CD compatible ROM/RAM cartridge */
|
/* CD compatible ROM/RAM cartridge */
|
||||||
typedef struct
|
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 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 id; /* RAM cartridge ID (related to RAM size, 0 if disabled) */
|
||||||
uint8 prot; /* RAM cartridge write protection */
|
uint8 prot; /* RAM cartridge write protection */
|
||||||
|
Loading…
Reference in New Issue
Block a user