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
@@ -16,7 +16,7 @@ lbl_802A9B00:
/* 802A9B00 002A6A40 3B E0 00 00 */ li r31, 0
lbl_802A9B04:
/* 802A9B04 002A6A44 7F A3 EB 78 */ mr r3, r29
/* 802A9B08 002A6A48 80 8D 8D F4 */ lwz r4, lbl_80451374-_SDA_BASE_(r13)
/* 802A9B08 002A6A48 80 8D 8D F4 */ lwz r4, sCurrentHeap__7JKRHeap-_SDA_BASE_(r13)
/* 802A9B0C 002A6A4C 38 A0 00 02 */ li r5, 2
/* 802A9B10 002A6A50 48 02 BD 31 */ bl mount__10JKRArchiveFPvP7JKRHeapQ210JKRArchive15EMountDirection
/* 802A9B14 002A6A54 7C 7E 1B 78 */ mr r30, r3