Sync Megadrive driver with MESS 0.147u2

This commit is contained in:
Barry Harris 2012-11-11 20:21:36 +00:00
parent 7fad7b5a66
commit c382b1b8b1
3 changed files with 806 additions and 727 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1364,7 +1364,8 @@ static INT32 MegadriveLoadRoms(bool bLoad)
case SEGA_MD_ROM_OFFS_080000: Offset = 0x080000; break;
case SEGA_MD_ROM_OFFS_100000: Offset = 0x100000; break;
case SEGA_MD_ROM_OFFS_100001: Offset = 0x100001; break;
case SEGA_MD_ROM_OFFS_200000: Offset = 0x200000; break;
case SEGA_MD_ROM_OFFS_200000: Offset = 0x200000; break;
case SEGA_MD_ROM_OFFS_300000: Offset = 0x300000; break;
}
switch (ri.nType & 0xf0) {

View File

@ -9,6 +9,7 @@
#define SEGA_MD_ROM_OFFS_100000 0x05
#define SEGA_MD_ROM_OFFS_100001 0x06
#define SEGA_MD_ROM_OFFS_200000 0x07
#define SEGA_MD_ROM_OFFS_300000 0x08
extern UINT8 MegadriveReset;
extern UINT8 bMegadriveRecalcPalette;