shinyquagsire23 / SaltyNX

Background process for the Nintendo Switch for file/code modification

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Breaks with 32-bit games

masagrator opened this issue · comments

It looks like SaltyNX needs to be revamped to 32-bit and 64-bit elf when loading code to game, because when loading 32-bit game, SaltyNX closes with error code... or at least cease loading when 32-bit is detected.

Game examples: Mario Kart 8, Goat Simulator.

SaltySD Spawner: got SD card
SaltySD Spawner Start
SaltySD Spawner: got handle 20003 for process
Spawner: SaltySD (pid 83) asked for handle sdcard
SaltySD: new max 83, fa0a0 0000001800413da0
.text to 0, .data to 0
Spawner: Goodbye.
SaltySD: new max 84, 1 0000000037e00000
.text to 37e00000, .data to 37e05000
SaltySD: new max 85, 1 0000000525c00000
.text to 525c00000, .data to 525c2a000
SaltySD: cmd 1 handler, proc handle 78004, heap 3eb5200000, path saltysd_core.elf
SaltySD: loading builtin saltysd_core.elf
SaltySD: Search for size 6c000
SaltySD: Found free address space at 86c6fd000, size 6c000
SaltySD: new max 86, 1 0000001d16000000
.text to 1d16000000, .data to 1d1602a000
SaltySD Core: restoring code...
SaltySD: cmd 2 handler
SaltySD Core: failed with retcode d401

Latest commit did the job. Thanks!