LoadRom() update to allow SG-1000 roms to load

This commit is contained in:
beirich 2011-01-18 06:14:25 +00:00
parent 33460a4fee
commit f283121714
1 changed files with 2 additions and 1 deletions

View File

@ -184,6 +184,7 @@ namespace BizHawk.MultiClient
switch(game.System)
{
case "SG":
case "SMS":
Global.Emulator = new SMS();
Global.Emulator.Controller = Global.SMSControls;
@ -361,7 +362,7 @@ namespace BizHawk.MultiClient
{
var ofd = new OpenFileDialog();
ofd.InitialDirectory = Global.Config.LastRomPath;
ofd.Filter = "Rom Files|*.SMS;*.GG;*.SG;*.PCE;*.SGX;*.GB;*.BIN;*.SMD;*.ZIP;*.7z|Master System|*.SMS;*.GG;*.ZIP;*.7z|PC Engine|*.PCE;*.SG;*.SGX;*.ZIP;*.7z|Gameboy|*.GB;*.ZIP;*.7z|Archive Files|*.zip;*.7z|All Files|*.*";
ofd.Filter = "Rom Files|*.SMS;*.GG;*.SG;*.PCE;*.SGX;*.GB;*.BIN;*.SMD;*.ZIP;*.7z|Master System|*.SMS;*.GG;*.SG;*.ZIP;*.7z|PC Engine|*.PCE;*.SGX;*.ZIP;*.7z|Gameboy|*.GB;*.ZIP;*.7z|Archive Files|*.zip;*.7z|All Files|*.*";
ofd.RestoreDirectory = true;
Global.Sound.StopSound();