mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-12-12 19:37:01 +00:00
- Full reimplementation of proc_ui.rpl with all 19 exports - Foreground/Background messages now go to the coreinit system message queue as they should (instead of using a hack where proc_ui receives them directly) - Add missing coreinit API needed by proc_ui: OSGetPFID(), OSGetUPID(), OSGetTitleID(), __OSCreateThreadType() - Use big-endian types in OSMessage - Flesh out the stubs for OSDriver_Register and OSDriver_Unregister a bit more since we need to call it from proc_ui. Similiar small tweaks to other coreinit API - Stub sysapp SYSSwitchToEManual() and _SYSSwitchToEManual() in such a way that they will trigger the expected background/foreground transition, avoiding softlocks in games that call these functions
25 lines
No EOL
479 B
C++
25 lines
No EOL
479 B
C++
#pragma once
|
|
|
|
namespace GX2
|
|
{
|
|
extern uint32 sGX2MainCoreIndex;
|
|
|
|
enum class E_TVRES
|
|
{
|
|
TODO,
|
|
};
|
|
|
|
enum class E_TVBUFFERMODE
|
|
{
|
|
DOUBLE_BUFFER = 2,
|
|
};
|
|
|
|
void _GX2DriverReset();
|
|
|
|
void GX2SetTVBuffer(void* imageBuffePtr, uint32 imageBufferSize, E_TVRES tvResolutionMode, uint32 surfaceFormat, E_TVBUFFERMODE bufferMode);
|
|
void GX2SetTVGamma(float gamma);
|
|
|
|
void GX2Invalidate(uint32 invalidationFlags, MPTR invalidationAddr, uint32 invalidationSize);
|
|
|
|
void GX2MiscInit();
|
|
}; |