From: notaz Date: Fri, 26 Dec 2025 17:50:48 +0000 (+0200) Subject: plugins: use SysPrintf X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=759751e0f69c4ad006d705dda758e3f0373f03a2;p=pcsx_rearmed.git plugins: use SysPrintf for messages to get to log files in libretro version --- diff --git a/plugins/gpu_neon/psx_gpu_if.c b/plugins/gpu_neon/psx_gpu_if.c index ed849ff3..8ab364a8 100644 --- a/plugins/gpu_neon/psx_gpu_if.c +++ b/plugins/gpu_neon/psx_gpu_if.c @@ -76,7 +76,7 @@ static void map_enhancement_buffer(void) // dithering phase, lines). egpu.enhancement_buf_ptr = gpu.mmap(ENHANCEMENT_BUF_SIZE); if (egpu.enhancement_buf_ptr == NULL || egpu.enhancement_buf_ptr == (void *)(intptr_t)-1) { - fprintf(stderr, "failed to map enhancement buffer\n"); + SysPrintf("failed to map enhancement buffer\n"); egpu.enhancement_buf_ptr = NULL; gpu.get_enhancement_bufer = NULL; } diff --git a/plugins/gpu_unai/gpulib_if.cpp b/plugins/gpu_unai/gpulib_if.cpp index c191a6fe..03b04c2f 100644 --- a/plugins/gpu_unai/gpulib_if.cpp +++ b/plugins/gpu_unai/gpulib_if.cpp @@ -193,7 +193,7 @@ static void map_downscale_buffer(void) gpu_unai.downscale_vram = (le16_t*)gpu.mmap(DOWNSCALE_VRAM_SIZE); if (gpu_unai.downscale_vram == NULL || gpu_unai.downscale_vram == (le16_t *)(intptr_t)-1) { - fprintf(stderr, "failed to map downscale buffer\n"); + SysPrintf("failed to map downscale buffer\n"); gpu_unai.downscale_vram = NULL; gpu.get_downscale_buffer = NULL; }