1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-07-18 05:44:53 +00:00

[iQue] Match gzip/zlib decompression (#2416)

* [iQue] Match gzip/zlib decompression

Co-authored-by: Anghelo Carvajal <angheloalf95@gmail.com>

* Update missed renames in disassembly

* Fix some formatting

---------

Co-authored-by: Anghelo Carvajal <angheloalf95@gmail.com>
This commit is contained in:
cadmic 2025-01-10 05:31:20 -08:00 committed by GitHub
parent 84e5afabf9
commit 26f91bd3bb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 1039 additions and 6 deletions

1003
src/boot/inflate.c Normal file

File diff suppressed because it is too large Load diff

View file

@ -441,7 +441,13 @@ void DmaMgr_ProcessRequest(DmaRequest* req) {
// Reduce the thread priority and decompress the file, the decompression routine handles the DMA
// in chunks. Restores the thread priority when done.
osSetThreadPri(NULL, THREAD_PRI_DMAMGR_LOW);
#if !PLATFORM_IQUE
Yaz0_Decompress(romStart, ram, romSize);
#else
gzip_decompress(romStart, ram, romSize);
#endif
osSetThreadPri(NULL, THREAD_PRI_DMAMGR);
found = true;