aboutsummaryrefslogtreecommitdiffstats
path: root/core/highmem.inc
diff options
context:
space:
mode:
Diffstat (limited to 'core/highmem.inc')
-rw-r--r--core/highmem.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/highmem.inc b/core/highmem.inc
index 5ae3abea..c7e602f8 100644
--- a/core/highmem.inc
+++ b/core/highmem.inc
@@ -25,6 +25,7 @@
;
highmemsize:
push es
+ pushfd
pushad
push cs
@@ -152,6 +153,7 @@ got_highmem:
%endif
mov [HighMemSize],eax
popad
+ popfd
pop es
ret ; Done!