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

@@ -40,10 +40,10 @@ static SFORMAT StateRegs[] =
};
static void Sync(void) {
int i;
setprg32(0x8000, prg_reg >> 2);
if (!prg_mode)
setprg8(0xC000, prg_reg);
int i;
for (i = 0; i < 8; i++)
setchr1(i << 10, chr_reg[i]);
switch (mirr) {