fix a dumb PAL bug. possibly for the second time.

This commit is contained in:
beirich 2012-07-15 07:15:31 +00:00
parent a47c70d0ef
commit d24d3ae932
1 changed files with 3 additions and 1 deletions

View File

@ -73,10 +73,12 @@ namespace BizHawk.Emulation.Consoles.Sega
if (RomData.Length % BankSize != 0)
Array.Resize(ref RomData, ((RomData.Length / BankSize) + 1) * BankSize);
RomBanks = (byte)(RomData.Length / BankSize);
DisplayType = DisplayType.NTSC;
if (game["PAL"]) DisplayType = DisplayType.PAL;
CoreOutputComm.VsyncNum = DisplayType == DisplayType.NTSC ? 60 : 50;
CoreOutputComm.VsyncDen = 1;
if (game["PAL"]) DisplayType = DisplayType.PAL;
if (game["Japan"]) Region = "Japan";
if (game.NotInDatabase || game["FM"] && game["UseFM"])
HasYM2413 = true;