X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=frontend%2Fplat_pollux.c;h=af12f1e3de7f978b3674806b1dff1e3de06426aa;hp=b8bd5a239d57f69376983c7e582cebd0c93c3da0;hb=bb88ec28db0535102b70a7c18ef095cb904e3c6c;hpb=b944a30eda75c36c94ef71e7768497801887612b diff --git a/frontend/plat_pollux.c b/frontend/plat_pollux.c index b8bd5a23..af12f1e3 100644 --- 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 "cspace.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; @@ -262,6 +262,10 @@ void *plat_prepare_screenshot(int *w, int *h, int *bpp) return pl_vout_buf; } +void plat_minimize(void) +{ +} + 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(); - pl_flip_cnt++; + pl_rearmed_cbs.flip_cnt++; pcnt_end(PCNT_BLIT); } @@ -365,7 +369,7 @@ static void name(int x, int y) } \ \ g_menuscreen_ptr = fb_flip(); \ - pl_flip_cnt++; \ + pl_rearmed_cbs.flip_cnt++; \ \ pcnt_end(PCNT_BLIT); \ } @@ -606,6 +610,9 @@ void plat_init(void) 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) @@ -629,10 +636,6 @@ void plat_finish(void) close(memdev); } -void in_update_analogs(void) -{ -} - /* Caanoo stuff, perhaps move later */ #include