notaz.gp2x.de
/
picodrive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Finish migrating to new mem handling. Make carthw db external.
[picodrive.git]
/
platform
/
common
/
emu.h
diff --git
a/platform/common/emu.h
b/platform/common/emu.h
index
59fa7a1
..
5b695ef
100644
(file)
--- a/
platform/common/emu.h
+++ b/
platform/common/emu.h
@@
-9,6
+9,8
@@
extern "C" {
#endif
extern "C" {
#endif
+#define array_size(x) (sizeof(x) / sizeof(x[0]))
+
extern void *g_screen_ptr;
#if SCREEN_SIZE_FIXED
extern void *g_screen_ptr;
#if SCREEN_SIZE_FIXED
@@
-97,6
+99,13
@@
enum TPicoGameState {
PGS_SuspendWake, /* PSP */
};
PGS_SuspendWake, /* PSP */
};
+// media types
+enum {
+ PM_BAD = 0,
+ PM_MD_CART, /* also 32x */
+ PM_MARK3,
+ PM_CD,
+};
void emu_init(void);
void emu_finish(void);
void emu_init(void);
void emu_finish(void);