From 7f4413a5d7181c6a779ad458a1350de4f2ffea00 Mon Sep 17 00:00:00 2001 From: zeromus Date: Wed, 2 Mar 2011 07:11:36 +0000 Subject: [PATCH] [NES] figure out how to run some of blargg's tests --- .../Consoles/Nintendo/NES/Boards/SxROM.cs | 2 +- BizHawk.MultiClient/output/gamedb.txt | 15 ++++++++++++++- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/BizHawk.Emulation/Consoles/Nintendo/NES/Boards/SxROM.cs b/BizHawk.Emulation/Consoles/Nintendo/NES/Boards/SxROM.cs index 561763d0ca..7a6357ff9e 100644 --- a/BizHawk.Emulation/Consoles/Nintendo/NES/Boards/SxROM.cs +++ b/BizHawk.Emulation/Consoles/Nintendo/NES/Boards/SxROM.cs @@ -190,7 +190,7 @@ namespace BizHawk.Emulation.Consoles.Nintendo.Boards { base.Initialize(romInfo, nes); - Debug.Assert(RomInfo.PRG_Size == 8 || RomInfo.PRG_Size == 16); + Debug.Assert(RomInfo.PRG_Size == 1 || RomInfo.PRG_Size == 8 || RomInfo.PRG_Size == 16); prg_mask = RomInfo.PRG_Size - 1; Debug.Assert(RomInfo.CRAM_Size == -1, "don't specify in gamedb, it is redundant"); diff --git a/BizHawk.MultiClient/output/gamedb.txt b/BizHawk.MultiClient/output/gamedb.txt index e0d0052701..d6ab2e0f78 100644 --- a/BizHawk.MultiClient/output/gamedb.txt +++ b/BizHawk.MultiClient/output/gamedb.txt @@ -2401,4 +2401,17 @@ ADD4E9F5ED4391A6B3FDFC5F0E300E71 Doraemon (J) NES board=GxROM;mirror=V;PRG=8;C 8F43E7D7BD3DBDF6D8ADF3E046DE3562 Gumshoe (UE) NES board=GxROM;mirror=V;PRG=8;CHR=4 ;GxROM 8,16 (mapper 66) -BE40E77C5532AF8E2C1EA7B96831CCEA Thunder & Lightning (U).nes NES board=GxROM;mirror=H;PRG=8;CHR=16 \ No newline at end of file +BE40E77C5532AF8E2C1EA7B96831CCEA Thunder & Lightning (U).nes NES board=GxROM;mirror=H;PRG=8;CHR=16 + +;blargg's tests +FCDA199AE2DD1824F377AC3EC40E68CD 2005.10.05-01.basics.nes NES board=SNROM;PRG=1 +8BE5342D1A1F5E63602B0B2AD4D3E957 2005.10.05-02.alignment.nes NES board=SNROM;PRG=1 +E7F1424401BA5C3484F10CB6F9E7328F 2005.10.05-03.corners.nes NES board=SNROM;PRG=1 +64836B8BAA2D19AE0F41F8F00390478A 2005.10.05-04.flip.nes NES board=SNROM;PRG=1 +99E18274B94CB11D0F67984D36B476BB 2005.10.05-05.left_clip.nes NES board=SNROM;PRG=1 +9ADB96106B2D57D92A22CC67ACA43963 2005.10.05-06.right_edge.nes NES board=SNROM;PRG=1 +8D917EFB12AA4C6D08BE86C809A68F4A 2005.10.05-07.screen_bottom.nes NES board=SNROM;PRG=1 +57DE8767DAB3F8A150EA5C63B374F825 2005.10.05-08.double_height.nes NES board=SNROM;PRG=1 +594E8568C4C621EC95A6390D559CA504 2005.10.05-09.timing_basics.nes NES board=SNROM;PRG=1 +7B42B8672F35068E96EB1D4D2CA1A33B 2005.10.05-10.timing_order.nes NES board=SNROM;PRG=1 +55AD5FFC60CA9AEF60FEB8AEC900214E 2005.10.05-11.edge_timing.nes NES board=SNROM;PRG=1 \ No newline at end of file