Flush the screen buffer on Wii U

Weird cache stuff I don't know
This commit is contained in:
Clownacy 2020-04-17 15:51:27 +01:00
parent d025fecf54
commit c2a857d4f5

View file

@ -3,7 +3,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
//#include <coreinit/cache.h> #include <coreinit/cache.h>
#include <coreinit/screen.h> #include <coreinit/screen.h>
static unsigned char *fake_framebuffer; static unsigned char *fake_framebuffer;
@ -121,8 +121,8 @@ void WindowBackend_Software_Display(void)
flipflop = !flipflop; flipflop = !flipflop;
// DCFlushRange(tv_framebuffer, tv_buffer_size); // DCStoreRange(tv_framebuffer, tv_buffer_size);
// DCFlushRange(drc_framebuffer, drc_buffer_size); DCStoreRange(drc_framebuffer, drc_buffer_size);
// OSScreenFlipBuffersEx(SCREEN_TV); // OSScreenFlipBuffersEx(SCREEN_TV);
OSScreenFlipBuffersEx(SCREEN_DRC); OSScreenFlipBuffersEx(SCREEN_DRC);