From 49816e69ee681e91b8576a04aa7ac1ba25d020fe Mon Sep 17 00:00:00 2001 From: teuf <> Date: Tue, 24 Apr 2001 17:10:33 +0000 Subject: [PATCH] Fixed dos version compilation --- zsnes/src/init.asm | 2 -- zsnes/src/macros.mac | 21 +++------------------ 2 files changed, 3 insertions(+), 20 deletions(-) diff --git a/zsnes/src/init.asm b/zsnes/src/init.asm index 0e3b6234..c93badcc 100644 --- a/zsnes/src/init.asm +++ b/zsnes/src/init.asm @@ -197,7 +197,6 @@ NEWSYM init call loadfile call showinfo .noloadfile - call UpdateDevices call init65816 call initregr @@ -4812,7 +4811,6 @@ NEWSYM showinfo mov ah,9 call Output_Text .nointerl - mov edx,.ret mov ah,9 call Output_Text diff --git a/zsnes/src/macros.mac b/zsnes/src/macros.mac index eba9ac69..d47bb529 100644 --- a/zsnes/src/macros.mac +++ b/zsnes/src/macros.mac @@ -77,8 +77,6 @@ section .text %ifndef __PRINTF__ %define __PRINTF__ EXTSYM printf -EXTSYM fflush -EXTSYM stdout %endif [section .data] %%string: db %1, 0 @@ -96,10 +94,7 @@ push eax mov eax, %%strformat push eax call printf -mov eax, [stdout] -push eax -call fflush -add esp, 20 +add esp, 16 popad %endmacro @@ -110,8 +105,6 @@ popad %ifndef __PRINTF__ %define __PRINTF__ EXTSYM printf -EXTSYM fflush -EXTSYM stdout %endif [section .data] %%strformat: db '%s in %s line %u',13, 10,0 @@ -128,10 +121,7 @@ push eax mov eax, %%strformat push eax call printf -mov eax, [stdout] -push eax -call fflush -add esp, 20 +add esp, 16 popad %endmacro @@ -140,8 +130,6 @@ popad %ifndef __PRINTF__ %define __PRINTF__ EXTSYM printf -EXTSYM fflush -EXTSYM stdout %endif [section .data] %%strformat: db '%x in %s line %u',13, 10,0 @@ -158,9 +146,6 @@ push eax mov eax, %%strformat push eax call printf -mov eax, [stdout] -push eax -call fflush -add esp, 20 +add esp, 16 popad %endmacro