X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=frontend%2Fplat_sdl.c;h=5f29b90c800ac77a4d0a9d415ea1cf425de419ac;hb=af486d6e6500b327e3fe34848848f6331ef777b2;hp=4e77dc35eec712f4c8031b2d0a65b603c8f6b21b;hpb=bcfc48e326fd502e77654330ce4b902e7db8c2dc;p=pcsx_rearmed.git diff --git a/frontend/plat_sdl.c b/frontend/plat_sdl.c index 4e77dc35..5f29b90c 100644 --- a/frontend/plat_sdl.c +++ b/frontend/plat_sdl.c @@ -147,8 +147,9 @@ void plat_init(void) SDL_WM_SetCaption("PCSX-ReARMed " REV, NULL); shadow_size = g_menuscreen_w * g_menuscreen_h * 2; - if (shadow_size < 640 * 512 * 2) - shadow_size = 640 * 512 * 2; + // alloc enough for double res. rendering + if (shadow_size < 1024 * 512 * 2) + shadow_size = 1024 * 512 * 2; shadow_fb = malloc(shadow_size); menubg_img = malloc(shadow_size); @@ -336,7 +337,7 @@ void *plat_prepare_screenshot(int *w, int *h, int *bpp) return 0; } -void plat_trigger_vibrate(int is_strong) +void plat_trigger_vibrate(int pad, int low, int high) { }