src/system/system_decompress.c
Resource decoding, through RAM copies of ARM code. More…
Included by system.c.
Functions
| Name | Description | |
|---|---|---|
void | syDecompressHalfwords (const void *src, void *dest) | Decompresses the halfword LZ stream at src to dest, with a copy of the ARM decoder on the stack. |
Sint32 | syDecompressTaggedLZ (const void *src, void *dest) | Decompresses the tagged LZ data at src to dest with a heap copy of its ARM decoder, and returns what the decoder returns. |
Sint32 | syDecompressMoveToFrontLZ (const void *src, void *dest) | As syDecompressTaggedLZ, with the move-to-front LZ decoder. |
Sint32 | syDecompressByteLZ (const void *src, void *dest) | As syDecompressTaggedLZ, with the byte LZ decoder. |
Description
Resource decoding, through RAM copies of ARM code. Part of system.c.
Functions in detail
syDecompressHalfwords
void syDecompressHalfwords(const void *src, void *dest)
Decompresses the halfword LZ stream at src to dest, with a copy of the
ARM decoder on the stack.
References syDecompressHalfwordLZ, syDecompressHalfwordsCodeSize and syDMAXCopy().
Referenced by fdPaletteEditorRun().
Definition at line 5 of file system_decompress.c.
syDecompressTaggedLZ
Sint32 syDecompressTaggedLZ(const void *src, void *dest)
Decompresses the tagged LZ data at src to dest with a heap copy of its
ARM decoder, and returns what the decoder returns.
References result, Sint32, syDecompressTaggedLZArmCode, syDecompressTaggedLZCodeSize and syHeapRelease().
Referenced by btEffectRunAtalanta(), btEffectRunCatastrophe(), btEffectRunCharon(), btEffectRunCloudSwirl(), btEffectRunCoatlicue(), btEffectRunCruelRuin(), btEffectRunDaedalus(), btEffectRunDjinniEntrance(), btEffectRunEclipse(), btEffectRunFlora(), btEffectRunHealingMotes(), btEffectRunIris(), btEffectRunJudgment(), btEffectRunNeptune(), btEffectRunNereidCopy(), btElementGlowInitStarField(), btResourceLoadAndDecompress(), dbPsynergyTest2StartRocks(), fdActorAppearInSparks(), fdHangingVineInit(), fdLuckyWheelsRun(), fdMapCopyPalette(), fdMapGridLoadMap(), fdMapLoadMetatilesAndShapes(), fdMapScreenDraw(), fdMapScreenDrawRow(), fdParticleBurstStart(), fdPsynergyArrow(), fdPsynergyBlaze(), fdPsynergyBurst(), fdPsynergyDecodePicture(), fdPsynergyEndRing(), fdPsynergyEndSand(), fdPsynergyGrindOnTarget(), fdPsynergyHover(), fdPsynergyLash(), fdPsynergyParch(), fdPsynergyPound(), fdPsynergyRing(), fdPsynergySand(), fdPsynergyScoop(), fdPsynergyTremorOnTarget(), fdRopeInit(), fdSpriteComposePicture(), fdSpritePictureCacheLoad(), fdSummonTabletPlayRunes(), fdSuperLuckyDiceRun(), fdTeleportPlaySparks(), fdTeleportPlayWhirl(), fdTightropeInit() and 57 more.
Definition at line 18 of file system_decompress.c.
syDecompressMoveToFrontLZ
Sint32 syDecompressMoveToFrontLZ(const void *src, void *dest)
As syDecompressTaggedLZ, with the move-to-front LZ decoder.
References DecompressMoveToFrontLzCommandsCodeSize, result, Sint32, syDecompressMoveToFrontLZCommandsCode and syHeapRelease().
Referenced by fdMapGridLoadMap().
Definition at line 31 of file system_decompress.c.
syDecompressByteLZ
Sint32 syDecompressByteLZ(const void *src, void *dest)
As syDecompressTaggedLZ, with the byte LZ decoder.
References ResourceDecodeByteLzCode, ResourceDecodeByteLzCodeSize, result, Sint32 and syHeapRelease().
Referenced by fdEffectInitSparkles(), fdGroundParticlesStart(), fdHeadingShow(), fdMotesStart(), fdRisingParticlesStart(), fdWeatherStartRain(), fdWorldMapLoadAreaGraphics(), fdWorldMapLoadGraphics(), fdWorldMapPreloadCurrentTileBlock(), fdWorldMapWriteLayerMetatileTile(), mnBattleCommandRowLoadIconTiles(), mnCommandIconLoad(), mnCommandIconLoadIntoSlot(), mnCommandIconReloadSlot(), mnSelectionMenuLoadLargeIcon(), mnTitleIntroLoadPictureTiles(), mnTitleIntroShowLighthouse(), mnTitleLoad(), mnTitleShowTitleScreen() and mnVRAMBlockLoadResource().
Definition at line 45 of file system_decompress.c.