]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
Make sure possible new FPU type is selected at reset.
authorToni Wilen <twilen@winuae.net>
Tue, 14 Aug 2018 18:57:11 +0000 (21:57 +0300)
committerToni Wilen <twilen@winuae.net>
Tue, 14 Aug 2018 18:57:11 +0000 (21:57 +0300)
fpp.cpp

diff --git a/fpp.cpp b/fpp.cpp
index f7d3c7fc77069d6ff572c09ea02afafbf0a648e1..f806fab530f908c0050a88a029309eba45bf9c88 100644 (file)
--- a/fpp.cpp
+++ b/fpp.cpp
@@ -3182,6 +3182,7 @@ static void fpu_test(void)
 
 void fpu_reset (void)
 {
+       currprefs.fpu_mode = changed_prefs.fpu_mode;
        if (currprefs.fpu_mode > 0) {
                fp_init_softfloat(currprefs.fpu_model);
 #ifdef MSVC_LONG_DOUBLE