aboutsummaryrefslogtreecommitdiff
path: root/source/cpuexec.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/cpuexec.h')
-rw-r--r--source/cpuexec.h18
1 files changed, 10 insertions, 8 deletions
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
{