[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
7 changed files with 1039 additions and 6 deletions
+1003
View File
File diff suppressed because it is too large Load Diff
+6
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;