From 6f03edf79bd0ada45be019e0748ee6883c423e57 Mon Sep 17 00:00:00 2001 From: stainless <> Date: Wed, 12 Sep 2001 02:33:13 +0000 Subject: [PATCH] Added start and end symbols for MinGW support. --- zsnes/src/win/copyvwin.asm | 4 ++++ zsnes/src/win/winintrf.asm | 10 ++++++++++ 2 files changed, 14 insertions(+) diff --git a/zsnes/src/win/copyvwin.asm b/zsnes/src/win/copyvwin.asm index 88fd8e9a..3856c019 100644 --- a/zsnes/src/win/copyvwin.asm +++ b/zsnes/src/win/copyvwin.asm @@ -28,6 +28,10 @@ EXTSYM vidbufferofsb EXTSYM HalfTransB,HalfTransC +%ifdef __MINGW__ +NEWSYM CopyVWinAsmStart +%endif + NEWSYM AddEndBytes, dd 0 ; Number of bytes between each line NEWSYM NumBytesPerLine, dd 0 ; Total number of bytes per line (1024+AddEndBytes) diff --git a/zsnes/src/win/winintrf.asm b/zsnes/src/win/winintrf.asm index 2421b07b..c37b8710 100644 --- a/zsnes/src/win/winintrf.asm +++ b/zsnes/src/win/winintrf.asm @@ -137,6 +137,11 @@ EXTSYM PrevWinMode,PrevFSMode EXTSYM _imp__GetLocalTime@4 +%ifdef __MINGW__ +NEWSYM WinIntRFAsmStart +%endif + + ; NOTE: For timing, Game60hzcall should be called at 50hz or 60hz (depending ; on romispal) after a call to InitPreGame and before DeInitPostGame are ; made. GUI36hzcall should be called at 36hz after a call GUIInit and @@ -2040,3 +2045,8 @@ SystemTime: .wMinute dw 0 .wSecond dw 0 .wMilliseconds dw 0 + + +%ifdef __MINGW__ +NEWSYM WinIntRFAsmEnd +%endif