OK va_list, va_start, va_arg, and va_end

This commit is contained in:
Julgodis
2021-09-25 23:39:41 +02:00
parent d105dd9d80
commit 2e31b7160b
3 changed files with 32 additions and 3 deletions
+1
View File
@@ -9,6 +9,7 @@
#include "dolphin/types.h"
#include "global.h"
#include "msl_c/string.h"
#include "Runtime.PPCEABI.H/__va_arg.h"
//
// Types:
+3 -3
View File
@@ -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"
}