From: Toni Wilen Date: Tue, 14 Aug 2018 18:56:36 +0000 (+0300) Subject: Install first autoconfig board last in reset sequence. X-Git-Tag: 4100~126 X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=79cd20b0e271405dee37c82e64cc707e478c071b;p=francis%2Fwinuae.git Install first autoconfig board last in reset sequence. --- 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