#include "plugin_lib.h"
#include "pcnt.h"
#include "menu.h"
+#include "plat.h"
#include "../libpcsxcore/misc.h"
#include "../libpcsxcore/new_dynarec/new_dynarec.h"
#include "../plugins/cdrcimg/cdrcimg.h"
+void *plat_prepare_screenshot(int *w, int *h, int *bpp);
int plat_rescan_inputs(void);
int plat_cpu_clock_get(void);
int plat_cpu_clock_apply(int cpu_clock);
{
}
+void *plat_prepare_screenshot(int *w, int *h, int *bpp)
+{
+ return 0;
+}
+
int plat_rescan_inputs(void)
{
return -1;
pollux_changemode(psx_bpp, 1);
}
+void *plat_prepare_screenshot(int *w, int *h, int *bpp)
+{
+ bgr555_to_rgb565(pl_vout_buf, pl_vout_buf, 320*240*2);
+ *w = 320;
+ *h = 240;
+ *bpp = psx_bpp;
+ return pl_vout_buf;
+}
+
static void pl_vout_set_raw_vram(void *vram)
{
int i;
#include "omap.h"
#include "menu.h"
#include "main.h"
+#include "plat.h"
#include "pcnt.h"
#include "pl_gun_ts.h"
#include "../libpcsxcore/new_dynarec/new_dynarec.h"
void *pl_prepare_screenshot(int *w, int *h, int *bpp)
{
+#if defined(VOUT_FBDEV)
*w = pl_vout_w;
*h = pl_vout_h;
*bpp = pl_vout_bpp;
return pl_vout_buf;
+#else
+ return plat_prepare_screenshot(w, h, bpp);
+#endif
}
static void update_input(void)