summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/graphics.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/core/graphics.c b/core/graphics.c
index 864550b1..4a4af55f 100644
--- a/core/graphics.c
+++ b/core/graphics.c
@@ -367,10 +367,6 @@ void pm_usingvga(com32sys_t *regs)
GXPixCols = regs->ecx.w[0];
GXPixRows = regs->edx.w[0];
- if (UsingVGA & 0x08)
- regs->eflags.l &= ~EFLAGS_CF;
- else {
+ if (!(UsingVGA & 0x08))
adjust_screen();
- set_flags(regs, EFLAGS_CF);
- }
}