summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Huth <huth@tuxfamily.org>2021-03-21 05:41:16 (GMT)
committerThomas Huth <huth@tuxfamily.org>2021-03-21 05:41:16 (GMT)
commit21669eae28576d6ffe95a8f0b03b4793d03e7857 (patch)
tree8623edb3226d54251bf7ec2aa0f3d885d971c2e2
parent8cbdefe511e33ed60d08b0f00fc7cb3d109d425c (diff)
downloadhatari-21669eae28576d6ffe.zip
hatari-21669eae28576d6ffe.tar.gz
Allow 1MB EmuTOS images in Falcon and TT mode, too
-rw-r--r--src/tos.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tos.c b/src/tos.c
index da19681..eccf76a 100644
--- a/src/tos.c
+++ b/src/tos.c
@@ -1019,7 +1019,7 @@ static uint8_t *TOS_LoadImage(void)
* 512k EmuTOS declares itself as TOS 2.x, but it can handle
* all machine types, so it can & needs to be skipped here
*/
- if (!(bIsEmuTOS && TosSize == 512*1024))
+ if (!bIsEmuTOS || TosSize < 512 * 1024)
TOS_CheckSysConfig();
/* 32-bit addressing is supported only by CPU >= 68020, TOS v3, TOS v4 and EmuTOS */