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
drc: clear dirty flag when deallocating a reg
[pcsx_rearmed.git]
/
frontend
/
plugin_lib.h
diff --git
a/frontend/plugin_lib.h
b/frontend/plugin_lib.h
index
d51c5e7
..
71dfcb5
100644
(file)
--- a/
frontend/plugin_lib.h
+++ b/
frontend/plugin_lib.h
@@
-1,3
+1,9
@@
+#ifndef __PLUGIN_LIB_H__
+#define __PLUGIN_LIB_H__
+
+#define THREAD_RENDERING_OFF 0
+#define THREAD_RENDERING_SYNC 1
+#define THREAD_RENDERING_ASYNC 2
enum {
DKEY_SELECT = 0,
enum {
DKEY_SELECT = 0,
@@
-24,6
+30,7
@@
extern int multitap2;
extern int in_analog_left[8][2];
extern int in_analog_right[8][2];
extern unsigned short in_keystate[8];
extern int in_analog_left[8][2];
extern int in_analog_right[8][2];
extern unsigned short in_keystate[8];
+extern int in_mouse[8][2];
extern int in_adev[2], in_adev_axis[2][2];
extern int in_adev_is_nublike[2];
extern int in_adev[2], in_adev_axis[2][2];
extern int in_adev_is_nublike[2];
@@
-67,6
+74,7
@@
struct rearmed_cbs {
unsigned int *gpu_hcnt;
unsigned int flip_cnt; // increment manually if not using pl_vout_flip
unsigned int only_16bpp; // platform is 16bpp-only
unsigned int *gpu_hcnt;
unsigned int flip_cnt; // increment manually if not using pl_vout_flip
unsigned int only_16bpp; // platform is 16bpp-only
+ unsigned int thread_rendering;
struct {
int allow_interlace; // 0 off, 1 on, 2 guess
int enhancement_enable;
struct {
int allow_interlace; // 0 off, 1 on, 2 guess
int enhancement_enable;
@@
-90,6
+98,7
@@
struct rearmed_cbs {
int abe_hack;
int no_light, no_blend;
int lineskip;
int abe_hack;
int no_light, no_blend;
int lineskip;
+ int scale_hires;
} gpu_unai;
struct {
int dwActFixes;
} gpu_unai;
struct {
int dwActFixes;
@@
-117,3
+126,5
@@
extern void (*pl_plat_hud_print)(int x, int y, const char *str, int bpp);
#ifndef ARRAY_SIZE
#define ARRAY_SIZE(x) (sizeof(x) / sizeof(x[0]))
#endif
#ifndef ARRAY_SIZE
#define ARRAY_SIZE(x) (sizeof(x) / sizeof(x[0]))
#endif
+
+#endif /* __PLUGIN_LIB_H__ */