WerWolv / nx-ovlloader

Host process for loading Switch overlay OVLs (NROs)
ISC License
517 stars 28 forks source link

Reduce resource usage and some cleanup #1

Closed HookedBehemoth closed 4 years ago

HookedBehemoth commented 4 years ago

-33% less heap (from 0x600000 to 0x400000) -93.75% less stack (from 0x100000 to 0x10000) -initialize sm before requesting a pmshell session -use raw fs calls as opposed to stdio

All the overlays I tested so far work fine. (sysmodules, sys-clk, edizon, status-monitor, the examples and my own stuff)

WerWolv commented 4 years ago

That comes from the latest libtesla update itself, not from this PR :P This simply reduces memory usage