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=af5b81a8d03b3605822782634051911aa93d720b;hb=0b1dbe6bc25227c910a4dea2fadcdda540add969;hpb=a805c8556900f3abca95c6b6536a9c267f8135fc diff --git a/frontend/plat_pollux.c b/frontend/plat_pollux.c index af5b81a8..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; @@ -340,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); } @@ -369,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); \ } @@ -610,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)