Flush the screen buffer on Wii U
Weird cache stuff I don't know
This commit is contained in:
parent
d025fecf54
commit
c2a857d4f5
1 changed files with 3 additions and 3 deletions
|
@ -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 @@ void WindowBackend_Software_Display(void)
|
|||
|
||||
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);
|
||||
|
|
Loading…
Add table
Reference in a new issue