MSVC compatibility fixes

This commit is contained in:
Twinaphex
2014-04-15 01:59:54 -07:00
parent a5a1a476b1
commit 514448258e
20 changed files with 55 additions and 37 deletions

View File

@@ -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);