1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-08-06 14:20:11 +00:00

Fix more raw pointers (rsp and part of .data) (#170)

Known files left with pointers in .data after this (possibly the only ones since I checked roughly everything):
- flg_set.c
- z_camera.c
- db_camera.c
- code_800D7CD0.c (ucode_disas.c)
- audio (not sure which ones, see the structure sheet)
This commit is contained in:
Roman971 2020-05-27 15:06:37 +02:00 committed by GitHub
parent 77a9f9c9f8
commit 235b0b8e0b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 96 additions and 43 deletions

View file

@ -8,7 +8,7 @@ StackEntry sIdleThreadInfo;
u8 sBootThreadStack[0x400];
void cleararena(void) {
bzero(_dmadataSegmentStart, (u8*)osMemSize - OS_K0_TO_PHYSICAL(_dmadataSegmentStart));
bzero(_dmadataSegmentStart, osMemSize - OS_K0_TO_PHYSICAL(_dmadataSegmentStart));
}
void bootproc(void) {