summaryrefslogtreecommitdiff
path: root/include/JSystem/JKernel
diff options
context:
space:
mode:
authorhatal175 <hatal175@users.noreply.github.com>2023-09-28 22:32:57 +0300
committerGitHub <noreply@github.com>2023-09-28 12:32:57 -0700
commit4a424534a530979db7a43ee48eddb860bb31a783 (patch)
treee38b5347c0953aaf0dd70afea4b1bbb61b3f5225 /include/JSystem/JKernel
parent84e413505363e1c2fcef6c559bcc24037d340a38 (diff)
JUTCacheFont OK (#1947)
Diffstat (limited to 'include/JSystem/JKernel')
-rw-r--r--include/JSystem/JKernel/JKRAram.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/JSystem/JKernel/JKRAram.h b/include/JSystem/JKernel/JKRAram.h
index 03063ae07d..27368cdec0 100644
--- a/include/JSystem/JKernel/JKRAram.h
+++ b/include/JSystem/JKernel/JKRAram.h
@@ -75,9 +75,9 @@ inline void JKRFreeToAram(JKRAramBlock* block) {
JKRAram::getAramHeap()->free(block);
}
-inline void JKRAramToMainRam(u32 p1, u8* p2, u32 p3, JKRExpandSwitch p4, u32 p5, JKRHeap* p6,
+inline u8* JKRAramToMainRam(u32 p1, u8* p2, u32 p3, JKRExpandSwitch p4, u32 p5, JKRHeap* p6,
int p7, u32* p8) {
- JKRAram::aramToMainRam(p1, p2, p3, p4, p5, p6, p7, p8);
+ return JKRAram::aramToMainRam(p1, p2, p3, p4, p5, p6, p7, p8);
}
inline JKRAramBlock *JKRMainRamToAram(u8 *buf, u32 bufSize, u32 alignedSize, JKRExpandSwitch expandSwitch, u32 fileSize, JKRHeap *heap, int id, u32 *pSize) {