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:
parent
84e5afabf9
commit
26f91bd3bb
7 changed files with 1039 additions and 6 deletions
1003
src/boot/inflate.c
Normal file
1003
src/boot/inflate.c
Normal file
File diff suppressed because it is too large
Load diff
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue