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
gpu_unai: move command handler to main loop
[pcsx_rearmed.git]
/
frontend
/
plat_pollux.c
diff --git
a/frontend/plat_pollux.c
b/frontend/plat_pollux.c
index
b8bd5a2
..
af12f1e
100644
(file)
--- a/
frontend/plat_pollux.c
+++ b/
frontend/plat_pollux.c
@@
-23,13
+23,13
@@
#include "warm/warm.h"
#include "plugin_lib.h"
#include "pl_gun_ts.h"
#include "warm/warm.h"
#include "plugin_lib.h"
#include "pl_gun_ts.h"
-#include "cspace.h"
#include "blit320.h"
#include "in_tsbutton.h"
#include "main.h"
#include "menu.h"
#include "plat.h"
#include "pcnt.h"
#include "blit320.h"
#include "in_tsbutton.h"
#include "main.h"
#include "menu.h"
#include "plat.h"
#include "pcnt.h"
+#include "../plugins/gpulib/cspace.h"
int gp2x_dev_id;
int gp2x_dev_id;
@@
-262,6
+262,10
@@
void *plat_prepare_screenshot(int *w, int *h, int *bpp)
return pl_vout_buf;
}
return pl_vout_buf;
}
+void plat_minimize(void)
+{
+}
+
static void pl_vout_set_raw_vram(void *vram)
{
int i;
static void pl_vout_set_raw_vram(void *vram)
{
int i;
@@
-336,7
+340,7
@@
static void raw_flip_dma(int x, int y)
}
g_menuscreen_ptr = fb_flip();
}
g_menuscreen_ptr = fb_flip();
- pl_flip_cnt++;
+ pl_
rearmed_cbs.
flip_cnt++;
pcnt_end(PCNT_BLIT);
}
pcnt_end(PCNT_BLIT);
}
@@
-365,7
+369,7
@@
static void name(int x, int y)
} \
\
g_menuscreen_ptr = fb_flip(); \
} \
\
g_menuscreen_ptr = fb_flip(); \
- pl_
flip_cnt++;
\
+ pl_
rearmed_cbs.flip_cnt++;
\
\
pcnt_end(PCNT_BLIT); \
}
\
pcnt_end(PCNT_BLIT); \
}
@@
-606,6
+610,9
@@
void plat_init(void)
psx_width = 320;
psx_height = 240;
psx_bpp = 16;
psx_width = 320;
psx_height = 240;
psx_bpp = 16;
+
+ pl_rearmed_cbs.screen_w = 320;
+ pl_rearmed_cbs.screen_h = 240;
}
void plat_finish(void)
}
void plat_finish(void)
@@
-629,10
+636,6
@@
void plat_finish(void)
close(memdev);
}
close(memdev);
}
-void in_update_analogs(void)
-{
-}
-
/* Caanoo stuff, perhaps move later */
#include <linux/input.h>
/* Caanoo stuff, perhaps move later */
#include <linux/input.h>