JASKernelDebug

This commit is contained in:
Jcw87
2023-10-22 22:34:25 -07:00
parent 1b7db29f53
commit 3a20eaf4ea
3 changed files with 18 additions and 5 deletions
+1 -1
View File
@@ -659,7 +659,7 @@ config.libs = [
Object(NonMatching, "JSystem/JAudio/JASHeapCtrl.cpp"),
Object(NonMatching, "JSystem/JAudio/JASResArcLoader.cpp"),
Object(Matching, "JSystem/JAudio/JASProbe.cpp"),
Object(NonMatching, "JSystem/JAudio/JASKernelDebug.cpp"),
Object(Matching, "JSystem/JAudio/JASKernelDebug.cpp"),
Object(Matching, "JSystem/JAudio/JASCmdStack.cpp"),
Object(Matching, "JSystem/JAudio/JASSystemHeap.cpp"),
Object(NonMatching, "JSystem/JAudio/JASNoteMgr.cpp"),
+12
View File
@@ -0,0 +1,12 @@
#ifndef JASKERNELDEBUG_H
#define JASKERNELDEBUG_H
#include "dolphin/types.h"
namespace JASystem {
namespace Kernel {
void stackInit(u64*, u32);
}
}
#endif /* JASKERNELDEBUG_H */
+5 -4
View File
@@ -3,11 +3,12 @@
// Translation Unit: JASKernelDebug.cpp
//
#include "JASKernelDebug.h"
#include "dolphin/types.h"
#include "JSystem/JAudio/JASKernelDebug.h"
/* 8027D6B8-8027D6F4 .text stackInit__Q28JASystem6KernelFPUxUl */
void JASystem::Kernel::stackInit(unsigned long long*, unsigned long) {
void JASystem::Kernel::stackInit(u64* param_1, u32 param_2) {
/* Nonmatching */
for (int i = 1; i < param_2; i++) {
param_1[i] = 0xfadebabe12345678;
}
}