Resource system: Difference between revisions
Jump to navigation
Jump to search
m
→Compressed files: use a reference
imported>Leoetlino m (→Add-on content) |
imported>Leoetlino m (→Compressed files: use a reference) |
||
Line 32: | Line 32: | ||
When a resource load is requested, the resource system will in most cases automatically prepend 's' to the extension and use <code>sead::ResourceMgr::tryLoadWithDecomp</code> to try loading a compressed version first. This means that any code that interacts with the resource loading functions '''must''' not include the prefix in resource paths. | When a resource load is requested, the resource system will in most cases automatically prepend 's' to the extension and use <code>sead::ResourceMgr::tryLoadWithDecomp</code> to try loading a compressed version first. This means that any code that interacts with the resource loading functions '''must''' not include the prefix in resource paths. | ||
Exceptions: bfevfl, bcamanim and barslist are always loaded uncompressed | Exceptions: bfevfl, bcamanim and barslist are always loaded uncompressed<ref>See 0x710120A9F4 in Switch 1.5.0</ref>. | ||
=== Archives === | === Archives === |