CPU and MMU cleanups and fixes, and non-Debug builds are now stripped again.

This commit is contained in:
OBattler
2021-04-10 07:18:47 +02:00
parent 99ca313565
commit c370ae7e18
22 changed files with 3488 additions and 4367 deletions

View File

@@ -281,7 +281,7 @@ check_seg_valid(x86seg *s)
int valid = 1;
x86seg *dt = (s->seg & 0x0004) ? &ldt : &gdt;
if (((s->seg & 0xfff8) + 7) > dt->limit)
if (((s->seg & 0xfff8UL) + 7UL) > dt->limit)
valid = 0;
switch (s->access & 0x1f) {