]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
HRTMon ROM check fix
authorToni Wilen <twilen@winuae.net>
Sun, 24 Aug 2025 10:48:25 +0000 (13:48 +0300)
committerToni Wilen <twilen@winuae.net>
Sun, 24 Aug 2025 10:48:25 +0000 (13:48 +0300)
ar.cpp

diff --git a/ar.cpp b/ar.cpp
index 6affae9c10927097ef7073860ca931dabe14e6a2..73db0c42d2e588c76638c5a9c5e3904d3f731b67 100644 (file)
--- a/ar.cpp
+++ b/ar.cpp
@@ -1822,7 +1822,7 @@ int hrtmon_load (void)
                        cart_type = CART_AR1200;
                        armodel = 1200;
                        hrtmem_start = 0x800000;
-               } else if (!memcmp (header, "HRT!", 4)) {
+               } else if (!memcmp (header, "HRT!", 4) || !memcmp(header + 1, "HRT!", 4)) {
                        cart_type = CART_HRTMON;
                } else {
                        zfile_fclose (f);