JKRAram and JKRAramStream (#80)

* before __register_global_object

* JKRThread::sThreadList, JKRHeap::sSystemHeap, etc.

* cleanup and started on JKRDvdArchive

* before changing JKRCompression

* more JKRDvdArchive, abs, and memset

* fixed JKRArchive::setExpandSize split

* JKRArchive::sCurrentDirID, JKRDvdFile::sDvdList, and matching JKRDvdFile constructors

* problems

* merge fixes and formatting

* updated clang version in clang-format-all to version 10

* Added OSPhysicalToCached and struct for global memory

* remove useless __attribute__

* changed from defines and macros to const variable and function

* changed FLAG_HAS to FLAG_ON

* JKRAram, linking problems

* fix JKRAram

* remove nonmatching stuff

* renamed static data

* more static class members

* JKRAramStream OK

* formatting

Co-authored-by: Julgodis <>
Co-authored-by: Pheenoh <pheenoh@gmail.com>
This commit is contained in:
Jonathan Wase
2021-01-09 20:15:52 -05:00
committed by GitHub
co-authored by Julgodis <> Pheenoh
parent 8bd3d07e23
commit 82d5e0f796
255 changed files with 2048 additions and 3354 deletions
+5 -5
View File
@@ -421,7 +421,7 @@ lbl_80350B20:
/* 80350B40 0034DA80 B0 1F 00 00 */ sth r0, 0(r31)
/* 80350B44 0034DA84 38 80 00 00 */ li r4, 0
/* 80350B48 0034DA88 38 A0 00 20 */ li r5, 0x20
/* 80350B4C 0034DA8C 4B CB 29 0D */ bl func_80003458
/* 80350B4C 0034DA8C 4B CB 29 0D */ bl memset
/* 80350B50 0034DA90 38 78 00 00 */ addi r3, r24, 0
/* 80350B54 0034DA94 38 80 00 20 */ li r4, 0x20
/* 80350B58 0034DA98 4B FE AA 55 */ bl DCFlushRange
@@ -763,7 +763,7 @@ lbl_8035105C:
/* 8035107C 0034DFBC B0 1F 00 00 */ sth r0, 0(r31)
/* 80351080 0034DFC0 38 80 00 00 */ li r4, 0
/* 80351084 0034DFC4 38 A0 00 20 */ li r5, 0x20
/* 80351088 0034DFC8 4B CB 23 D1 */ bl func_80003458
/* 80351088 0034DFC8 4B CB 23 D1 */ bl memset
/* 8035108C 0034DFCC 38 78 00 00 */ addi r3, r24, 0
/* 80351090 0034DFD0 38 80 00 20 */ li r4, 0x20
/* 80351094 0034DFD4 4B FE A5 19 */ bl DCFlushRange
@@ -931,7 +931,7 @@ lbl_803512E8:
/* 80351308 0034E248 B0 1F 00 00 */ sth r0, 0(r31)
/* 8035130C 0034E24C 38 80 00 00 */ li r4, 0
/* 80351310 0034E250 38 A0 00 20 */ li r5, 0x20
/* 80351314 0034E254 4B CB 21 45 */ bl func_80003458
/* 80351314 0034E254 4B CB 21 45 */ bl memset
/* 80351318 0034E258 38 78 00 00 */ addi r3, r24, 0
/* 8035131C 0034E25C 38 80 00 20 */ li r4, 0x20
/* 80351320 0034E260 4B FE A2 8D */ bl DCFlushRange
@@ -1142,7 +1142,7 @@ lbl_8035161C:
/* 8035163C 0034E57C B0 1F 00 00 */ sth r0, 0(r31)
/* 80351640 0034E580 38 80 00 00 */ li r4, 0
/* 80351644 0034E584 38 A0 00 20 */ li r5, 0x20
/* 80351648 0034E588 4B CB 1E 11 */ bl func_80003458
/* 80351648 0034E588 4B CB 1E 11 */ bl memset
/* 8035164C 0034E58C 38 78 00 00 */ addi r3, r24, 0
/* 80351650 0034E590 38 80 00 20 */ li r4, 0x20
/* 80351654 0034E594 4B FE 9F 59 */ bl DCFlushRange
@@ -1393,7 +1393,7 @@ lbl_803519EC:
/* 80351A0C 0034E94C B0 1F 00 00 */ sth r0, 0(r31)
/* 80351A10 0034E950 38 80 00 00 */ li r4, 0
/* 80351A14 0034E954 38 A0 00 20 */ li r5, 0x20
/* 80351A18 0034E958 4B CB 1A 41 */ bl func_80003458
/* 80351A18 0034E958 4B CB 1A 41 */ bl memset
/* 80351A1C 0034E95C 38 78 00 00 */ addi r3, r24, 0
/* 80351A20 0034E960 38 80 00 20 */ li r4, 0x20
/* 80351A24 0034E964 4B FE 9B 89 */ bl DCFlushRange