From 0bd17b40859a35a9289e51a062ec448ce0cd1fc9 Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Thu, 19 Dec 2019 19:55:39 +0200 Subject: [PATCH] Fix uae boot rom mode setting after load. --- memory.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/memory.cpp b/memory.cpp index 5294f4e1..a553dbbb 100644 --- a/memory.cpp +++ b/memory.cpp @@ -2344,8 +2344,8 @@ static void allocate_memory (void) if (savestate_state == STATE_RESTORE) { if (bootrom_filepos) { - if (currprefs.uaeboard <= 0) - currprefs.uaeboard = 1; + if (currprefs.uaeboard < 0) + currprefs.uaeboard = 0; protect_roms (false); restore_ram (bootrom_filepos, rtarea_bank.baseaddr); protect_roms (true); -- 2.47.3