Fixed program counter in RET macro, Dirt Racer now plays with some blinking, making progress :)

This commit is contained in:
pagefault
2006-02-19 09:00:04 +00:00
parent 8aa5b2b247
commit 8ae1e80cce
2 changed files with 19 additions and 1 deletions

View File

@@ -26,9 +26,18 @@
EXTSYM WriteLine
%macro FXReturn 0
dec dword[NumberOfOpcodes]
;pushad
js %%endloop
;call WriteLine
;popad
%%blah
jmp [FxTabled+ecx*4]
%%endloop
jmp FXEndLoop
ALIGN32
%endmacro
@@ -38,7 +47,6 @@
jmp [FxTabled+ecx*4]
%%endloop
jmp FXEndLoop
; jmp [FxTabled+ecx*4]
ALIGN32
%endmacro