foxygit / fake-08-xbox360 Log in
commit ac4f3905b6a4e6f453b41c894a67e0dc5b76b441
Author:     Jon Bell <j.to.the.bell@gmail.com>
AuthorDate: Thu Jul 28 17:37:22 2022 -0600
Commit:     Jon Bell <j.to.the.bell@gmail.com>
CommitDate: Thu Jul 28 17:37:22 2022 -0600

    Add double buffering to Miyoo Mini
---
 platform/miyoomini/source/MiyooMiniHost.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/platform/miyoomini/source/MiyooMiniHost.cpp b/platform/miyoomini/source/MiyooMiniHost.cpp
index 4558a1c..d239f86 100644
--- a/platform/miyoomini/source/MiyooMiniHost.cpp
+++ b/platform/miyoomini/source/MiyooMiniHost.cpp
@@ -244,7 +244,7 @@ void Host::oneTimeSetup(Audio* audio){
     SDL_WM_SetCaption("FAKE-08", NULL);
     SDL_ShowCursor(SDL_DISABLE);

-    int flags = SDL_SWSURFACE;
+    int flags = SDL_SWSURFACE | SDL_DOUBLEBUF;

     window = SDL_SetVideoMode(SCREEN_SIZE_X, SCREEN_SIZE_Y, SCREEN_BPP, flags);