plugins: use SysPrintf
authornotaz <notasas@gmail.com>
Fri, 26 Dec 2025 17:50:48 +0000 (19:50 +0200)
committernotaz <notasas@gmail.com>
Fri, 26 Dec 2025 18:09:57 +0000 (20:09 +0200)
for messages to get to log files in libretro version

plugins/gpu_neon/psx_gpu_if.c
plugins/gpu_unai/gpulib_if.cpp

index ed849ff..8ab364a 100644 (file)
@@ -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;
   }
index c191a6f..03b04c2 100644 (file)
@@ -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;
   }