1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
freebsd-ports/emulators/adamem/files/patch-Coleco.c
Alexey Dokuchaev 1da8ab0c4c Fix the build on 5.X and -CURRENT.
Reported by:	kris
Approved by:	portmgr (marcus), fjoe (mentor, implicit), maintainer
2004-09-23 07:16:23 +00:00

21 lines
452 B
C

--- Coleco.c.orig Wed Sep 22 13:28:07 2004
+++ Coleco.c Wed Sep 22 13:32:20 2004
@@ -616,7 +616,7 @@
OutE0,OutE0,OutE0,OutE0,OutE0,OutE0,OutE0,OutE0
};
-void Z80_Out (unsigned Port,byte Val)
+FASTCALL void Z80_Out (unsigned Port,byte Val)
{
OutPortFn fn;
Port&=0xff;
@@ -763,7 +763,7 @@
InpE0,InpE0,InpE2,InpE2,InpE0,InpE0,InpE2,InpE2
};
-byte Z80_In (unsigned Port)
+FASTCALL byte Z80_In (unsigned Port)
{
InPortFn fn;
Port&=0xff;