mirror of
https://github.com/zeldaret/tp
synced 2026-06-02 02:00:30 -04:00
c_API
This commit is contained in:
@@ -4,57 +4,25 @@
|
||||
//
|
||||
|
||||
#include "SSystem/SComponent/c_API_graphic.h"
|
||||
#include "SSystem/SComponent/c_API.h"
|
||||
#include "dol2asm.h"
|
||||
#include "dolphin/types.h"
|
||||
|
||||
//
|
||||
// Forward References:
|
||||
//
|
||||
|
||||
void cAPIGph_Painter();
|
||||
void cAPIGph_BeforeOfDraw();
|
||||
void cAPIGph_AfterOfDraw();
|
||||
|
||||
extern "C" void cAPIGph_Painter__Fv();
|
||||
extern "C" void cAPIGph_BeforeOfDraw__Fv();
|
||||
extern "C" void cAPIGph_AfterOfDraw__Fv();
|
||||
|
||||
//
|
||||
// External References:
|
||||
//
|
||||
|
||||
extern "C" extern void* g_cAPI_Interface[6];
|
||||
|
||||
//
|
||||
// Declarations:
|
||||
//
|
||||
|
||||
/* 802632C8-802632F8 0030+00 s=0 e=1 z=0 None .text cAPIGph_Painter__Fv */
|
||||
#pragma push
|
||||
#pragma optimization_level 0
|
||||
#pragma optimizewithasm off
|
||||
asm void cAPIGph_Painter() {
|
||||
nofralloc
|
||||
#include "asm/SSystem/SComponent/c_API_graphic/cAPIGph_Painter__Fv.s"
|
||||
void cAPIGph_Painter(void) {
|
||||
g_cAPI_Interface[3]();
|
||||
}
|
||||
#pragma pop
|
||||
|
||||
/* 802632F8-80263328 0030+00 s=0 e=1 z=0 None .text cAPIGph_BeforeOfDraw__Fv */
|
||||
#pragma push
|
||||
#pragma optimization_level 0
|
||||
#pragma optimizewithasm off
|
||||
asm void cAPIGph_BeforeOfDraw() {
|
||||
nofralloc
|
||||
#include "asm/SSystem/SComponent/c_API_graphic/cAPIGph_BeforeOfDraw__Fv.s"
|
||||
void cAPIGph_BeforeOfDraw(void) {
|
||||
g_cAPI_Interface[1]();
|
||||
}
|
||||
#pragma pop
|
||||
|
||||
/* 80263328-80263358 0030+00 s=0 e=1 z=0 None .text cAPIGph_AfterOfDraw__Fv */
|
||||
#pragma push
|
||||
#pragma optimization_level 0
|
||||
#pragma optimizewithasm off
|
||||
asm void cAPIGph_AfterOfDraw() {
|
||||
nofralloc
|
||||
#include "asm/SSystem/SComponent/c_API_graphic/cAPIGph_AfterOfDraw__Fv.s"
|
||||
void cAPIGph_AfterOfDraw(void) {
|
||||
g_cAPI_Interface[2]();
|
||||
}
|
||||
#pragma pop
|
||||
|
||||
Reference in New Issue
Block a user