notaz.gp2x.de
/
picodrive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
eeprom crash fix, PacMan2 hack
[picodrive.git]
/
cpu
/
cz80
/
cz80.c
diff --git
a/cpu/cz80/cz80.c
b/cpu/cz80/cz80.c
index
461b46a
..
d7bdba3
100644
(file)
--- a/
cpu/cz80/cz80.c
+++ b/
cpu/cz80/cz80.c
@@
-14,12
+14,20
@@
#include "cz80.h"
\r
\r
#if PICODRIVE_HACKS
\r
#include "cz80.h"
\r
\r
#if PICODRIVE_HACKS
\r
+#undef EMU_M68K
\r
#include <Pico/PicoInt.h>
\r
#endif
\r
\r
#ifndef ALIGN_DATA
\r
#include <Pico/PicoInt.h>
\r
#endif
\r
\r
#ifndef ALIGN_DATA
\r
+#ifdef _MSC_VER
\r
+#define ALIGN_DATA
\r
+#define inline
\r
+#undef CZ80_USE_JUMPTABLE
\r
+#define CZ80_USE_JUMPTABLE 0
\r
+#else
\r
#define ALIGN_DATA __attribute__((aligned(4)))
\r
#endif
\r
#define ALIGN_DATA __attribute__((aligned(4)))
\r
#endif
\r
+#endif
\r
\r
#define CF 0x01
\r
#define NF 0x02
\r
\r
#define CF 0x01
\r
#define NF 0x02
\r