From 79cd20b0e271405dee37c82e64cc707e478c071b Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Tue, 14 Aug 2018 21:56:36 +0300 Subject: [PATCH] Install first autoconfig board last in reset sequence. --- custom.cpp | 6 ++++++ devices.cpp | 1 - 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/custom.cpp b/custom.cpp index d4b0b03e..60c16617 100644 --- a/custom.cpp +++ b/custom.cpp @@ -9894,6 +9894,12 @@ void custom_reset (bool hardreset, bool keyboardreset) setup_fmodes (0); shdelay_disabled = false; + // must be after audio reset + // this inits first autoconfig board +#ifdef AUTOCONFIG + expamem_reset(); +#endif + #ifdef ACTION_REPLAY /* Doing this here ensures we can use the 'reset' command from within AR */ action_replay_reset (hardreset, keyboardreset); diff --git a/devices.cpp b/devices.cpp index bc032020..a11886fa 100644 --- a/devices.cpp +++ b/devices.cpp @@ -114,7 +114,6 @@ void devices_reset(int hardreset) compemu_reset (); #endif #ifdef AUTOCONFIG - expamem_reset (); rtarea_reset(); #endif #ifdef DRIVESOUND -- 2.47.3