From 7948c062caf4b0d3a3860d363cbd0f549bee9855 Mon Sep 17 00:00:00 2001 From: OV2 Date: Sun, 25 May 2014 18:12:36 +0200 Subject: [PATCH] win32: allow port command line arguments to work --- win32/wsnes9x.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/win32/wsnes9x.cpp b/win32/wsnes9x.cpp index 6ed8800d..7568bcd7 100644 --- a/win32/wsnes9x.cpp +++ b/win32/wsnes9x.cpp @@ -10880,8 +10880,10 @@ void S9xPostRomInit() if(!S9xMovieActive() && !startingMovie) { // revert previously forced control - if(GUI.ControlForced!=0xff) + if(GUI.ControlForced!=0xff) { GUI.ControllerOption = GUI.ControlForced; + ChangeInputDevice(); + } int prevController = GUI.ControllerOption; GUI.ValidControllerOptions = 0xFFFF; @@ -10964,10 +10966,10 @@ void S9xPostRomInit() GUI.ValidControllerOptions = (1<