mirror of
https://github.com/zeldaret/tww.git
synced 2026-06-04 18:58:35 -04:00
JASKernelDebug
This commit is contained in:
+1
-1
@@ -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"),
|
||||
|
||||
@@ -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 */
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user