notaz.gp2x.de
/
picodrive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(MSVC) Build fixes
[picodrive.git]
/
pico
/
z80if.c
diff --git
a/pico/z80if.c
b/pico/z80if.c
index
8db4aa5
..
5efeff8
100644
(file)
--- a/
pico/z80if.c
+++ b/
pico/z80if.c
@@
-121,8
+121,8
@@
static int z80_unpack_legacy(const void *data)
}
#elif defined(_USE_CZ80)
if (*(int *)data == 0x00007a43) { // "Cz" save?
}
#elif defined(_USE_CZ80)
if (*(int *)data == 0x00007a43) { // "Cz" save?
- memcpy(&CZ80, data+8, offsetof(cz80_struc, BasePC));
- Cz80_Set_Reg(&CZ80, CZ80_PC, *(int *)(data+4));
+ memcpy(&CZ80,
(int*)
data+8, offsetof(cz80_struc, BasePC));
+ Cz80_Set_Reg(&CZ80, CZ80_PC, *(int *)(
(int*)
data+4));
return 0;
}
#endif
return 0;
}
#endif