mirror of
https://github.com/wiiu-env/WiiUPluginSystem.git
synced 2024-12-24 17:11:58 +01:00
Fix for overlay
This commit is contained in:
parent
e42230b9a2
commit
4bdca98d8d
@ -9,7 +9,7 @@ extern "C" {
|
|||||||
|
|
||||||
struct buffer_store {
|
struct buffer_store {
|
||||||
void * buffer;
|
void * buffer;
|
||||||
uint32_t buffer_size;
|
int32_t buffer_size;
|
||||||
int32_t mode;
|
int32_t mode;
|
||||||
int32_t surface_format;
|
int32_t surface_format;
|
||||||
volatile int32_t buffering_mode;
|
volatile int32_t buffering_mode;
|
||||||
|
@ -11,15 +11,15 @@
|
|||||||
#include <dirent.h>
|
#include <dirent.h>
|
||||||
#include <wups.h>
|
#include <wups.h>
|
||||||
|
|
||||||
extern void (*OSScreenInit)(void);
|
void OSScreenInit(void);
|
||||||
extern void (*OSScreenShutdown)(void);
|
void OSScreenShutdown(void);
|
||||||
extern uint32_t (*OSScreenGetBufferSizeEx)(uint32_t bufferNum);
|
uint32_t OSScreenGetBufferSizeEx(uint32_t bufferNum);
|
||||||
extern int32_t (*OSScreenSetBufferEx)(uint32_t bufferNum, void * addr);
|
void OSScreenSetBufferEx(uint32_t bufferNum, void * addr);
|
||||||
extern int32_t (*OSScreenClearBufferEx)(uint32_t bufferNum, uint32_t temp);
|
void OSScreenClearBufferEx(uint32_t bufferNum, uint32_t temp);
|
||||||
extern int32_t (*OSScreenFlipBuffersEx)(uint32_t bufferNum);
|
void OSScreenFlipBuffersEx(uint32_t bufferNum);
|
||||||
extern int32_t (*OSScreenPutFontEx)(uint32_t bufferNum, uint32_t posX, uint32_t posY, const char * buffer);
|
void OSScreenPutFontEx(uint32_t bufferNum, uint32_t posX, uint32_t posY, const char * buffer);
|
||||||
extern int32_t (*OSScreenEnableEx)(uint32_t bufferNum, int32_t enable);
|
void OSScreenEnableEx(uint32_t bufferNum, int32_t enable);
|
||||||
extern uint32_t (*OSScreenPutPixelEx)(uint32_t bufferNum, uint32_t posX, uint32_t posY, uint32_t color);
|
void OSScreenPutPixelEx(uint32_t bufferNum, uint32_t posX, uint32_t posY, uint32_t color);
|
||||||
|
|
||||||
static void * overlayfunction_ptr __attribute__((section(".data"))) = NULL;
|
static void * overlayfunction_ptr __attribute__((section(".data"))) = NULL;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user