mirror of
https://github.com/LIV2/WinUAE.git
synced 2025-12-06 00:12:52 +00:00
Fix FPU state if FPU has is enabled but is not enabled in loaded statefile.
This commit is contained in:
parent
35ec7a5215
commit
49cc0cf9c2
2
fpp.cpp
2
fpp.cpp
@ -3741,8 +3741,8 @@ uae_u8 *restore_fpu (uae_u8 *src)
|
||||
int i;
|
||||
uae_u32 flags;
|
||||
|
||||
fpu_reset();
|
||||
changed_prefs.fpu_model = currprefs.fpu_model = restore_u32 ();
|
||||
fpu_reset();
|
||||
flags = restore_u32 ();
|
||||
for (i = 0; i < 8; i++) {
|
||||
w1 = restore_u16 () << 16;
|
||||
|
||||
@ -6904,6 +6904,8 @@ uae_u8 *restore_cpu (uae_u8 *src)
|
||||
int flags, model;
|
||||
uae_u32 l;
|
||||
|
||||
changed_prefs.fpu_model = currprefs.fpu_model = 0;
|
||||
changed_prefs.mmu_model = currprefs.mmu_model = 0;
|
||||
currprefs.cpu_model = changed_prefs.cpu_model = model = restore_u32 ();
|
||||
flags = restore_u32 ();
|
||||
changed_prefs.address_space_24 = 0;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user