X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=frontend%2Fplugin_lib.c;fp=frontend%2Fplugin_lib.c;h=cc3576bfb4fc98b641f8d1cd0e07da63e8ddb5da;hp=d215636f4c3cd438380c6bfb3a45759de4e8663f;hb=57467c77b7045642afd8de1679f1149acc9c1ab5;hpb=a2cb152a937d0aecbf794e5ba36431e6a17b7483 diff --git a/frontend/plugin_lib.c b/frontend/plugin_lib.c index d215636f..cc3576bf 100644 --- a/frontend/plugin_lib.c +++ b/frontend/plugin_lib.c @@ -468,7 +468,7 @@ static int dispmode_default(void) return 1; } -#ifdef __ARM_NEON__ +#ifdef BUILTIN_GPU_NEON static int dispmode_doubleres(void) { if (!(pl_rearmed_cbs.gpu_caps & GPU_CAP_SUPPORTS_2X) @@ -480,7 +480,9 @@ static int dispmode_doubleres(void) snprintf(hud_msg, sizeof(hud_msg), "double resolution"); return 1; } +#endif +#ifdef __ARM_NEON__ static int dispmode_scale2x(void) { if (!resolution_ok(psx_w * 2, psx_h * 2) || psx_bpp != 16) @@ -506,8 +508,10 @@ static int dispmode_eagle2x(void) static int (*dispmode_switchers[])(void) = { dispmode_default, -#ifdef __ARM_NEON__ +#ifdef BUILTIN_GPU_NEON dispmode_doubleres, +#endif +#ifdef __ARM_NEON__ dispmode_scale2x, dispmode_eagle2x, #endif