fix: correction temporaire pour permettre l'execution d'application non CE

This commit is contained in:
Nicolas Hordé 2004-11-19 19:57:06 +00:00
parent cac7a678dd
commit 9c770034e7
1 changed files with 3 additions and 5 deletions

View File

@ -78,8 +78,9 @@ MBloadfuncs:
push ax bx ecx dx si di ds es gs push ax bx ecx dx si di ds es gs
push gs push gs
pop ds pop ds
cmp word ptr ds:[exe.Checks],"EC" cmp word ptr ds:[0],"EC"
jne notloaded ;jne notloaded
jne endofloading
mov si,ds:[exe.import] mov si,ds:[exe.import]
loadfuncs: loadfuncs:
cmp word ptr [si],0 cmp word ptr [si],0
@ -120,9 +121,6 @@ notloaded:
ret ret
;Recherche une fonction pointé par DS:SI en mémoire et renvoie son adresse en GS:DX ;Recherche une fonction pointé par DS:SI en mémoire et renvoie son adresse en GS:DX
MBSearchfunc: MBSearchfunc:
push bx si di push bx si di