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
gpus: return DMA word count to avoid 1 list walk
[pcsx_rearmed.git]
/
frontend
/
plugin_lib.h
diff --git
a/frontend/plugin_lib.h
b/frontend/plugin_lib.h
index
53a597f
..
49894af
100644
(file)
--- a/
frontend/plugin_lib.h
+++ b/
frontend/plugin_lib.h
@@
-27,8
+27,9
@@
void *pl_fbdev_set_mode(int w, int h, int bpp);
void *pl_fbdev_flip(void);
void pl_fbdev_close(void);
void *pl_fbdev_flip(void);
void pl_fbdev_close(void);
-void pl_text_out16(int x, int y, const char *texto, ...);
-void pl_start_watchdog(void);
+void pl_text_out16(int x, int y, const char *texto, ...);
+void pl_start_watchdog(void);
+void *pl_prepare_screenshot(int *w, int *h, int *bpp);
struct rearmed_cbs {
void (*pl_get_layer_pos)(int *x, int *y, int *w, int *h);
struct rearmed_cbs {
void (*pl_get_layer_pos)(int *x, int *y, int *w, int *h);
@@
-36,10
+37,18
@@
struct rearmed_cbs {
void *(*pl_fbdev_set_mode)(int w, int h, int bpp);
void *(*pl_fbdev_flip)(void);
void (*pl_fbdev_close)(void);
void *(*pl_fbdev_set_mode)(int w, int h, int bpp);
void *(*pl_fbdev_flip)(void);
void (*pl_fbdev_close)(void);
- int *fskip_option;
+ // gpu options
+ int frameskip;
+ int fskip_advice;
+ struct {
+ int iUseDither;
+ int dwActFixes;
+ float fFrameRateHz;
+ int dwFrameRateTicks;
+ } gpu_peops;
};
};
-extern
const
struct rearmed_cbs pl_rearmed_cbs;
+extern struct rearmed_cbs pl_rearmed_cbs;
extern int pl_frame_interval;
extern int pl_frame_interval;