NES: minor tweaks of no consequence

This commit is contained in:
goyuken 2014-01-01 18:21:45 +00:00
parent 933240845a
commit 31038e58aa
2 changed files with 4 additions and 2 deletions

View File

@ -295,7 +295,8 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES
protected void AssertVram(params int[] vram) { Assert_memtype(Cart.vram_size, "vram", vram); }
protected void Assert_memtype(int value, string name, int[] valid)
{
if (DisableConfigAsserts) return;
// only disable vram and wram asserts, as UNIF knows its prg and chr sizes
if (DisableConfigAsserts && (name == "wram" || name == "vram")) return;
foreach (int i in valid) if (value == i) return;
Assert(false, "unhandled {0} size of {1}", name,value);
}

View File

@ -18,7 +18,8 @@ using BizHawk.Emulation.Common.Components;
//FUTURE - we may need to split this into a separate MMC5 class. but for now it is just a pain.
namespace BizHawk.Emulation.Cores.Nintendo.NES
{
[NES.INESBoardImplPriority]
//MMC5 isn't actually all that common
//[NES.INESBoardImplPriority]
public sealed class ExROM : NES.NESBoardBase
{
//configuraton