Files
tp/libs/JSystem/JKernel/JKRAramArchive.cpp
T
Jonathan Wase 82d5e0f796 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>
2021-01-09 20:15:52 -05:00

62 lines
1.6 KiB
C++

#include "JSystem/JKernel/JKRAramArchive/JKRAramArchive.h"
#include "global.h"
#include "JSystem/JKernel/JKRFile/JKRFile.h"
asm JKRAramArchive::JKRAramArchive(long, JKRArchive::EMountDirection) {
nofralloc
#include "JSystem/JKernel/JKRAramArchive/asm/func_802D70C0.s"
}
asm JKRAramArchive::~JKRAramArchive() {
nofralloc
#include "JSystem/JKernel/JKRAramArchive/asm/func_802D7168.s"
}
asm void JKRAramArchive::open(long) {
nofralloc
#include "JSystem/JKernel/JKRAramArchive/asm/func_802D72A8.s"
}
asm void* JKRAramArchive::fetchResource(SDIFileEntry*, u32*) {
nofralloc
#include "JSystem/JKernel/JKRAramArchive/asm/func_802D75E0.s"
}
asm void* JKRAramArchive::fetchResource(void*, u32, SDIFileEntry*, u32*) {
nofralloc
#include "JSystem/JKernel/JKRAramArchive/asm/func_802D76F4.s"
}
asm void JKRAramArchive::getAramAddress_Entry(SDIFileEntry*) {
nofralloc
#include "JSystem/JKernel/JKRAramArchive/asm/func_802D77F8.s"
}
asm void JKRAramArchive::getAramAddress(char const*) {
nofralloc
#include "JSystem/JKernel/JKRAramArchive/asm/func_802D781C.s"
}
asm void JKRAramArchive::fetchResource_subroutine(u32, u32, u8*, u32, int) {
nofralloc
#include "JSystem/JKernel/JKRAramArchive/asm/func_802D7858.s"
}
asm void JKRAramArchive::fetchResource_subroutine(u32, u32, JKRHeap*, int, u8**) {
nofralloc
#include "JSystem/JKernel/JKRAramArchive/asm/func_802D7914.s"
}
asm u32 JKRAramArchive::getExpandedResSize(void const*) {
nofralloc
#include "JSystem/JKernel/JKRAramArchive/asm/func_802D7A64.s"
}
#if 0
asm JKRFile::~JKRFile() {
nofralloc
#include "JSystem/JKernel/JKRAramArchive/asm/func_802D7B90.s"
}
#endif