MSVC compatibility fixes
This commit is contained in:
@@ -81,12 +81,12 @@ static void MRestore(int version) {
|
||||
}
|
||||
|
||||
void Mapper185_Init(CartInfo *info) {
|
||||
int x;
|
||||
Sync = Sync185;
|
||||
info->Power = MPower;
|
||||
info->Close = MClose;
|
||||
GameStateRestore = MRestore;
|
||||
DummyCHR = (uint8*)FCEU_gmalloc(8192);
|
||||
int x;
|
||||
for (x = 0; x < 8192; x++)
|
||||
DummyCHR[x] = 0xff;
|
||||
SetupCartCHRMapping(0x10, DummyCHR, 8192, 0);
|
||||
@@ -94,12 +94,12 @@ void Mapper185_Init(CartInfo *info) {
|
||||
}
|
||||
|
||||
void Mapper181_Init(CartInfo *info) {
|
||||
int x;
|
||||
Sync = Sync181;
|
||||
info->Power = MPower;
|
||||
info->Close = MClose;
|
||||
GameStateRestore = MRestore;
|
||||
DummyCHR = (uint8*)FCEU_gmalloc(8192);
|
||||
int x;
|
||||
for (x = 0; x < 8192; x++)
|
||||
DummyCHR[x] = 0xff;
|
||||
SetupCartCHRMapping(0x10, DummyCHR, 8192, 0);
|
||||
|
||||
Reference in New Issue
Block a user