NES: fix some CNROM games. dunno how they got broken?

This commit is contained in:
goyuken 2014-03-01 16:58:01 +00:00
parent bb3a76cb3d
commit 1fbc833361
2 changed files with 1 additions and 5 deletions

View File

@ -72,8 +72,6 @@ namespace BizHawk.Client.EmuHawk
#endregion #endregion
#region MMC5
private unsafe void DrawTile(int* dst, int pitch, byte* pal, byte* tile) private unsafe void DrawTile(int* dst, int pitch, byte* pal, byte* tile)
{ {
dst += 7; dst += 7;
@ -165,8 +163,6 @@ namespace BizHawk.Client.EmuHawk
} }
} }
#endregion
private unsafe void Generate(bool now = false) private unsafe void Generate(bool now = false)
{ {
if (!IsHandleCreated || IsDisposed) if (!IsHandleCreated || IsDisposed)

View File

@ -79,7 +79,7 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES
default: default:
return false; return false;
} }
if (Cart.pcb == "HVC-CNROM-256K-01") if (Cart.pcb == "9011-N02") // othello
copyprotection = true; copyprotection = true;
prg_byte_mask = Cart.prg_size * 1024 - 1; prg_byte_mask = Cart.prg_size * 1024 - 1;
chr_mask = (Cart.chr_size / 8) - 1; chr_mask = (Cart.chr_size / 8) - 1;