From 729706683f24479cdc09335619b6eca237052b37 Mon Sep 17 00:00:00 2001 From: Alejandro Pulver Date: Sun, 22 Jul 2007 16:58:39 +0000 Subject: - Fix building on non-i386 with GCC 4.2 (on i386 assembly code is used). Reported by: pav --- emulators/generator/files/patch-cmz80__z80.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 emulators/generator/files/patch-cmz80__z80.c (limited to 'emulators') diff --git a/emulators/generator/files/patch-cmz80__z80.c b/emulators/generator/files/patch-cmz80__z80.c new file mode 100644 index 000000000000..365c2b00ffcc --- /dev/null +++ b/emulators/generator/files/patch-cmz80__z80.c @@ -0,0 +1,20 @@ +--- cmz80/z80.c.orig Mon Oct 29 20:07:24 2001 ++++ cmz80/z80.c Sun Jul 22 13:54:12 2007 +@@ -633,7 +633,7 @@ + #endif + } + +-/* inline */ static BYTE Inc(BYTE bArg) ++/* inline */ BYTE Inc(BYTE bArg) + { + #ifdef ARITH_TABLES + bArg++; +@@ -646,7 +646,7 @@ + #endif + } + +-/* inline */ static BYTE Dec(BYTE bArg) ++/* inline */ BYTE Dec(BYTE bArg) + { + #ifdef ARITH_TABLES + m_regF = (m_regF & C_FLAG) | rgfDec[bArg--]; -- cgit v1.2.3