summaryrefslogtreecommitdiff
path: root/arm9/lib/src/OS_tcm.c
diff options
context:
space:
mode:
authorRevo <projectrevotpp@hotmail.com>2020-07-25 15:25:39 -0400
committerGitHub <noreply@github.com>2020-07-25 15:25:39 -0400
commit4f8385ac24e8904662af24bbc0d81317c8ff1ea6 (patch)
treea8645f1be7f8d3ca4af204f9c1fc0a31f633151d /arm9/lib/src/OS_tcm.c
parent95d03abbfc10558d4a51f38d8131d47bbded6f8e (diff)
parentc355575f3954a19dfed6c350a8ad34175263da46 (diff)
Merge pull request #243 from red031000/master
venusaur, empoleon and OS_cache
Diffstat (limited to 'arm9/lib/src/OS_tcm.c')
-rw-r--r--arm9/lib/src/OS_tcm.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/arm9/lib/src/OS_tcm.c b/arm9/lib/src/OS_tcm.c
index fa06e345..5b6ab552 100644
--- a/arm9/lib/src/OS_tcm.c
+++ b/arm9/lib/src/OS_tcm.c
@@ -1,12 +1,8 @@
-//
-// Created by red031000 on 2020-05-05.
-//
-
#include "OS_tcm.h"
#include "function_target.h"
ARM_FUNC asm u32 OS_GetDTCMAddress(void) {
- mrc p15, 0x0, r0, c9, c1, 0x0
+ mrc p15, 0x0, r0, c9, c1, 0x0 //Data TCM Base
ldr r1, =OSi_TCM_REGION_BASE_MASK
and r0, r0, r1
bx lr