summaryrefslogtreecommitdiff
path: root/src/JSystem/JAudio/JASKernelDebug.cpp
diff options
context:
space:
mode:
authorJasper St. Pierre <jstpierre@mecheye.net>2023-11-08 00:41:29 -0800
committerJasper St. Pierre <jstpierre@mecheye.net>2023-11-08 00:41:29 -0800
commit47303cd4b7718d95c36fad9718ce3f65f84d87df (patch)
treec10f090ea1dce4fb79f39a6c2e545aa5a8282fa6 /src/JSystem/JAudio/JASKernelDebug.cpp
parent044fec8706f7e480deb085482dcc1f9c23ddcee2 (diff)
JAS work
Diffstat (limited to 'src/JSystem/JAudio/JASKernelDebug.cpp')
-rw-r--r--src/JSystem/JAudio/JASKernelDebug.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/JSystem/JAudio/JASKernelDebug.cpp b/src/JSystem/JAudio/JASKernelDebug.cpp
index e1fccc66..3504a106 100644
--- a/src/JSystem/JAudio/JASKernelDebug.cpp
+++ b/src/JSystem/JAudio/JASKernelDebug.cpp
@@ -6,9 +6,8 @@
#include "JSystem/JAudio/JASKernelDebug.h"
/* 8027D6B8-8027D6F4 .text stackInit__Q28JASystem6KernelFPUxUl */
-void JASystem::Kernel::stackInit(u64* param_1, u32 param_2) {
- /* Nonmatching */
- for (int i = 1; i < param_2; i++) {
- param_1[i] = 0xfadebabe12345678;
+void JASystem::Kernel::stackInit(u64* stack, u32 num) {
+ for (int i = 1; i < num; i++) {
+ stack[i] = 0xfadebabe12345678;
}
}