notaz.gp2x.de
/
pcsx_rearmed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
psx_gpu: add enhanced triangle rendering
[pcsx_rearmed.git]
/
frontend
/
main.h
diff --git
a/frontend/main.h
b/frontend/main.h
index
b64bc4c
..
56e1e73
100644
(file)
--- a/
frontend/main.h
+++ b/
frontend/main.h
@@
-35,6
+35,15
@@
extern char cfgfile_basename[MAXPATHLEN];
extern int state_slot;
extern char cfgfile_basename[MAXPATHLEN];
extern int state_slot;
+
+/* emu_core_preinit - must be the very first call
+ * emu_core_init - to be called after platform-specific setup */
+int emu_core_preinit(void);
+int emu_core_init(void);
+
+void emu_set_default_config(void);
+void emu_on_new_cd(void);
+
int get_state_filename(char *buf, int size, int i);
int emu_check_state(int slot);
int emu_save_state(int slot);
int get_state_filename(char *buf, int size, int i);
int emu_check_state(int slot);
int emu_save_state(int slot);
@@
-56,8
+65,19
@@
enum sched_action {
SACTION_NEXT_SSLOT,
SACTION_PREV_SSLOT,
SACTION_TOGGLE_FSKIP,
SACTION_NEXT_SSLOT,
SACTION_PREV_SSLOT,
SACTION_TOGGLE_FSKIP,
+ SACTION_TOGGLE_RENDERER,
+ SACTION_SCREENSHOT,
+ SACTION_VOLUME_UP,
+ SACTION_VOLUME_DOWN,
+ SACTION_MINIMIZE,
+ SACTION_GUN_TRIGGER = 16,
+ SACTION_GUN_A,
+ SACTION_GUN_B,
+ SACTION_GUN_TRIGGER2,
};
};
+#define SACTION_GUN_MASK (0x0f << SACTION_GUN_TRIGGER)
+
static inline void emu_set_action(enum sched_action action_)
{
extern enum sched_action emu_action, emu_action_old;
static inline void emu_set_action(enum sched_action action_)
{
extern enum sched_action emu_action, emu_action_old;