From 8a50d176b72a48dc1a8892ee398cf8855c244812 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Thu, 30 Oct 2014 02:03:23 +0100 Subject: New Makefile --- source/cpuexec.h | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'source/cpuexec.h') diff --git a/source/cpuexec.h b/source/cpuexec.h index 3eb6064..ca5eb4f 100644 --- a/source/cpuexec.h +++ b/source/cpuexec.h @@ -89,6 +89,16 @@ #ifndef _CPUEXEC_H_ #define _CPUEXEC_H_ + +typedef struct +{ +#ifdef __WIN32__ + void (__cdecl* S9xOpcode)(void); +#else + void (*S9xOpcode)(void); +#endif +} SOpcodes; + #include "ppu.h" #include "memmap.h" #include "65c816.h" @@ -101,14 +111,6 @@ if (CPU.Cycles >= CPU.NextEvent) \ S9xDoHBlankProcessing_NoSFX (); -typedef struct -{ -#ifdef __WIN32__ - void (__cdecl* S9xOpcode)(void); -#else - void (*S9xOpcode)(void); -#endif -} SOpcodes; typedef struct { -- cgit v1.2.3