aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/init.c b/core/init.c
index f286622f..41e5fea1 100644
--- a/core/init.c
+++ b/core/init.c
@@ -21,7 +21,7 @@ static inline void check_escapes(void)
KbdFlags = oreg.eax.b[0];
/* Ctrl->skip 386 check */
- if (oreg.eax.b[0] & 0x04) {
+ if (!(oreg.eax.b[0] & 0x04)) {
/*
* Now check that there is sufficient low (DOS) memory
*
@@ -35,7 +35,7 @@ static inline void check_escapes(void)
mem = ((uint32_t)__lowmem_heap) + min_lowmem_heap + 1023;
mem = mem >> 10;
- if (mem < oreg.eax.w[0]) {
+ if (oreg.eax.w[0] < mem) {
char buf[256];
snprintf(buf, sizeof(buf),