1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 20:27:34 +00:00

Ports: Add RetroArch

This commit is contained in:
gouchi 2022-05-07 20:46:03 +02:00 committed by Linus Groh
parent 78dc77f7e4
commit 74226a6cb3
9 changed files with 1268 additions and 0 deletions

View file

@ -0,0 +1,25 @@
From 8494fc6dbd6abc799a2eb02933103361ea0202b0 Mon Sep 17 00:00:00 2001
From: gouchi <gouchi@free.fr>
Date: Sat, 7 May 2022 18:21:50 +0200
Subject: [PATCH 5/6] Use SDL software instead of hardware rendering
---
gfx/drivers/sdl2_gfx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gfx/drivers/sdl2_gfx.c b/gfx/drivers/sdl2_gfx.c
index 4dbe33f..dd67b4a 100644
--- a/gfx/drivers/sdl2_gfx.c
+++ b/gfx/drivers/sdl2_gfx.c
@@ -182,7 +182,7 @@ static void sdl2_render_msg(sdl2_video_t *vid, const char *msg)
static void sdl2_init_renderer(sdl2_video_t *vid)
{
- unsigned flags = SDL_RENDERER_ACCELERATED;
+ unsigned flags = SDL_RENDERER_SOFTWARE;
if (vid->video.vsync)
flags |= SDL_RENDERER_PRESENTVSYNC;
--
2.36.0