nes: boring stuff

This commit is contained in:
goyuken 2012-12-03 15:40:20 +00:00
parent ae963b5443
commit 8de879f132
2 changed files with 8 additions and 0 deletions

View File

@ -478,6 +478,11 @@ namespace BizHawk.Emulation.Consoles.Nintendo
Console.WriteLine(format, arg);
loadReport.WriteLine(format, arg);
}
public override void WriteLine(string value)
{
Console.WriteLine(value);
loadReport.WriteLine(value);
}
}
public unsafe void Init(GameInfo gameInfo, byte[] rom, byte[] fdsbios = null)

View File

@ -99,7 +99,10 @@ namespace BizHawk.Emulation.Consoles.Nintendo
ret.wram_size = (short)(wram_size * 8);
//0 is supposed to mean 8KB (for compatibility, as this is an extension to original iNES format)
if (ret.wram_size == 0)
{
report.WriteLine("iNES wr=0 interpreted as wr=8");
ret.wram_size = 8;
}
//iNES wants us to assume that no chr -> 8KB vram
if (ret.chr_size == 0) ret.vram_size = 8;