From f28312171428995b7650011c9bccf4a7f61e68ec Mon Sep 17 00:00:00 2001 From: beirich Date: Tue, 18 Jan 2011 06:14:25 +0000 Subject: [PATCH] LoadRom() update to allow SG-1000 roms to load --- BizHawk.MultiClient/MainForm.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/BizHawk.MultiClient/MainForm.cs b/BizHawk.MultiClient/MainForm.cs index ce6212066b..25b5cef5d4 100644 --- a/BizHawk.MultiClient/MainForm.cs +++ b/BizHawk.MultiClient/MainForm.cs @@ -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();