ref: c2a857d4f5184ccf6b2c73d9d7a11c7c8d1d67b8
parent: d025fecf54cc30f1186c209a73c8896392b48632
author: Clownacy <Clownacy@users.noreply.github.com>
date: Fri Apr 17 11:51:27 EDT 2020
Flush the screen buffer on Wii U Weird cache stuff I don't know
--- a/src/Backends/WiiU/Window-Software.cpp
+++ b/src/Backends/WiiU/Window-Software.cpp
@@ -3,7 +3,7 @@
#include <stdlib.h>
#include <string.h>
-//#include <coreinit/cache.h>
+#include <coreinit/cache.h>
#include <coreinit/screen.h>
static unsigned char *fake_framebuffer;
@@ -121,8 +121,8 @@
flipflop = !flipflop;
-// DCFlushRange(tv_framebuffer, tv_buffer_size);
-// DCFlushRange(drc_framebuffer, drc_buffer_size);
+// DCStoreRange(tv_framebuffer, tv_buffer_size);
+ DCStoreRange(drc_framebuffer, drc_buffer_size);
// OSScreenFlipBuffersEx(SCREEN_TV);
OSScreenFlipBuffersEx(SCREEN_DRC);