]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
Install first autoconfig board last in reset sequence.
authorToni Wilen <twilen@winuae.net>
Tue, 14 Aug 2018 18:56:36 +0000 (21:56 +0300)
committerToni Wilen <twilen@winuae.net>
Tue, 14 Aug 2018 18:56:36 +0000 (21:56 +0300)
custom.cpp
devices.cpp

index d4b0b03e7d61400d5a54c13fa92c1f84f6ac1cc3..60c166179621d5548c2fa27ccf48f223f0a96a73 100644 (file)
@@ -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);
index bc032020a987d393fd8f320d5baddeadbe6661c9..a11886fa467414201338b8276d5c857639e4e7d6 100644 (file)
@@ -114,7 +114,6 @@ void devices_reset(int hardreset)
        compemu_reset ();
 #endif
 #ifdef AUTOCONFIG
-       expamem_reset ();
        rtarea_reset();
 #endif
 #ifdef DRIVESOUND