From c92f5fc9d9f1000b9d8be917f86d553d8b4a6cef Mon Sep 17 00:00:00 2001 From: gizmo98 Date: Thu, 8 Oct 2015 21:06:13 +0200 Subject: [PATCH] rpi: disable framebuffer emulation There is a black screen if frame buffer emulation is used: #605 --- src/Config.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Config.cpp b/src/Config.cpp index dae2274a..19dc1def 100644 --- a/src/Config.cpp +++ b/src/Config.cpp @@ -12,7 +12,7 @@ void Config::resetToDefaults() { version = CONFIG_VERSION_CURRENT; -#ifdef PANDORA +#if defined(PANDORA) || defined(VC) video.fullscreen = 1; video.fullscreenWidth = video.windowedWidth = 800; #else @@ -42,7 +42,11 @@ void Config::resetToDefaults() generalEmulation.polygonOffsetUnits = 0.0f; #endif +#ifdef VC + frameBufferEmulation.enable = 0; +#else frameBufferEmulation.enable = 1; +#endif frameBufferEmulation.copyDepthToRDRAM = 0; frameBufferEmulation.copyFromRDRAM = 0; frameBufferEmulation.copyToRDRAM = 1;