Move overrides out of some mappers
Move mapper-based overrides out and use ines-correct.h if possible. Affects the following mappers below: - Move Cnrom database to ines-correct.h - Mapper 201 update - Mapper 91: Add Street Fighter III (Submapper 1) to ines-correct.h - Add dipswitch notes to m237 - Update mapper9 (PC10 version of Mike Tyson's Punch-out)
This commit is contained in:
@@ -109,11 +109,8 @@ static void StateRestore(int version) {
|
||||
|
||||
void Mapper91_Init(CartInfo *info) {
|
||||
submapper = 0;
|
||||
if (info->CRC32 == 0x082778e6) /* Super Fighter III */
|
||||
submapper = 1;
|
||||
else if (info->iNES2)
|
||||
submapper = info->submapper;
|
||||
|
||||
/* Super Fighter III */
|
||||
if (info->submapper == 1) submapper = info->submapper;
|
||||
info->Power = M91Power;
|
||||
GameHBIRQHook = M91IRQHook;
|
||||
GameStateRestore = StateRestore;
|
||||
|
||||
Reference in New Issue
Block a user