mirror of
https://github.com/zeldaret/tp
synced 2026-08-01 08:17:31 -04:00
OK va_list, va_start, va_arg, and va_end
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
#include "dolphin/types.h"
|
||||
#include "global.h"
|
||||
#include "msl_c/string.h"
|
||||
#include "Runtime.PPCEABI.H/__va_arg.h"
|
||||
|
||||
//
|
||||
// Types:
|
||||
|
||||
@@ -7,12 +7,12 @@
|
||||
#include "dol2asm.h"
|
||||
#include "dolphin/types.h"
|
||||
|
||||
#undef __va_arg
|
||||
|
||||
//
|
||||
// Forward References:
|
||||
//
|
||||
|
||||
extern "C" void __va_arg();
|
||||
|
||||
//
|
||||
// External References:
|
||||
//
|
||||
@@ -25,7 +25,7 @@ extern "C" void __va_arg();
|
||||
#pragma push
|
||||
#pragma optimization_level 0
|
||||
#pragma optimizewithasm off
|
||||
asm void __va_arg() {
|
||||
asm void __va_arg(void*, int) {
|
||||
nofralloc
|
||||
#include "asm/Runtime.PPCEABI.H/__va_arg/__va_arg.s"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user