X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=frontend%2Flibretro.c;h=d21b1a2b94ff3225520101de7f7b550d7daba6b5;hb=abf094858889145af1fde9840429dfb8a0e70a39;hp=965f930858ae00103d82d1e5c41f4d776d20f92d;hpb=f6eb0b1c75fd9103a1ad18aed5d00aa0c41fa24e;p=pcsx_rearmed.git diff --git a/frontend/libretro.c b/frontend/libretro.c index 965f9308..d21b1a2b 100644 --- a/frontend/libretro.c +++ b/frontend/libretro.c @@ -27,6 +27,7 @@ #include "../libpcsxcore/cdriso.h" #include "../libpcsxcore/cheat.h" #include "../libpcsxcore/r3000a.h" +#include "../libpcsxcore/gpu.h" #include "../plugins/dfsound/out.h" #include "../plugins/dfsound/spu_config.h" #include "cspace.h" @@ -488,6 +489,7 @@ struct rearmed_cbs pl_rearmed_cbs = { .pl_vout_close = vout_close, .mmap = pl_mmap, .munmap = pl_munmap, + .gpu_state_change = gpu_state_change, /* from psxcounters */ .gpu_hcnt = &hSyncCount, .gpu_frame_count = &frame_counter, @@ -504,12 +506,6 @@ void pl_timing_prepare(int is_pal) is_pal_mode = is_pal; } -void plat_get_psx_resolution(int *xres, int *yres) -{ - *xres = psx_w; - *yres = psx_h; -} - void plat_trigger_vibrate(int pad, int low, int high) { if (!rumble_cb) @@ -3126,7 +3122,6 @@ void retro_init(void) #endif pl_rearmed_cbs.gpu_peops.iUseDither = 1; pl_rearmed_cbs.gpu_peops.dwActFixes = GPU_PEOPS_OLD_FRAME_SKIP; - spu_config.iUseFixedUpdates = 1; SaveFuncs.open = save_open; SaveFuncs.read = save_read;