From b416aebd45734e6c00a1f5f9febf0acdd6f727f7 Mon Sep 17 00:00:00 2001 From: goyuken Date: Fri, 3 Jan 2014 20:01:52 +0000 Subject: [PATCH] fix GPGX to two 6 button controllers for movie 1.0 --- BizHawk.Client.EmuHawk/MainForm.Movie.cs | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/BizHawk.Client.EmuHawk/MainForm.Movie.cs b/BizHawk.Client.EmuHawk/MainForm.Movie.cs index 33f8544d40..af3bd4180d 100644 --- a/BizHawk.Client.EmuHawk/MainForm.Movie.cs +++ b/BizHawk.Client.EmuHawk/MainForm.Movie.cs @@ -54,7 +54,17 @@ namespace BizHawk.Client.EmuHawk s.BoardProperties = new System.Collections.Generic.Dictionary(Global.MovieSession.Movie.Header.BoardProperties); this._syncSettingsHack = s; } - + else if (!record && Global.Emulator is Emulation.Cores.Consoles.Sega.gpgx.GPGX) + { + // unfortunately, gpgx is being released with movie 1.0 + // we don't save the control settings there, so hack and assume a particular configuration + var s = new Emulation.Cores.Consoles.Sega.gpgx.GPGX.GPGXSyncSettings + { + ControlType = Emulation.Cores.Consoles.Sega.gpgx.GPGX.ControlType.Normal, + UseSixButton = true, + }; + this._syncSettingsHack = s; + } // load the rom in any case LoadRom(GlobalWin.MainForm.CurrentlyOpenRom, true, !record); }