Add all the files

This commit is contained in:
Exzap 2022-08-22 22:21:23 +02:00
parent e3db07a16a
commit d60742f52b
1445 changed files with 430238 additions and 0 deletions

View file

@ -0,0 +1,30 @@
#include "Cafe/OS/common/OSCommon.h"
#include "proc_ui.h"
#define PROCUI_STATUS_FOREGROUND 0
#define PROCUI_STATUS_BACKGROUND 1
#define PROCUI_STATUS_RELEASING 2
#define PROCUI_STATUS_EXIT 3
uint32 ProcUIProcessMessages()
{
return PROCUI_STATUS_FOREGROUND;
}
uint32 ProcUIInForeground(PPCInterpreter_t* hCPU)
{
return 1; // true means application is in foreground
}
uint32 ProcUIRegisterCallback(uint32 message, MPTR callback, void* data, sint32 ukn)
{
return 0;
}
void procui_load()
{
cafeExportRegister("proc_ui", ProcUIRegisterCallback, LogType::ProcUi);
cafeExportRegister("proc_ui", ProcUIProcessMessages, LogType::ProcUi);
cafeExportRegister("proc_ui", ProcUIInForeground, LogType::ProcUi);
}

View file

@ -0,0 +1,2 @@
void procui_load();