]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
Adjust Agnus Chip RAM max capability only if manually configured. Allow OCS to access...
authorToni Wilen <twilen@winuae.net>
Sat, 25 Mar 2023 18:45:55 +0000 (20:45 +0200)
committerToni Wilen <twilen@winuae.net>
Sat, 25 Mar 2023 18:45:55 +0000 (20:45 +0200)
memory.cpp

index 6d583e8068b9915a9573da9860591aa0d71f64bc..081074caed669e871ece23e3eca6c360c62b356e 100644 (file)
@@ -2431,7 +2431,7 @@ static void allocate_memory (void)
                }
        }
 
-       if (currprefs.cs_agnusmodel > 0) {
+       if (currprefs.cs_agnussize > AGNUSSIZE_AUTO) {
                if (currprefs.cs_agnussize <= AGNUSSIZE_512) {
                        chipmem_full_mask = 0x80000 - 1;
                } else if (currprefs.cs_agnussize == AGNUSSIZE_1M && chipmem_full_mask > 0x100000) {