melonDS-android
melonDS-android copied to clipboard
Super Mario 256 JIT Crash
- Device model: Galaxy S7 Snapdragon (SM-G930U)
- Android version: 8.0.0
Problem: The demo of the Super Mario 64 DS hack Super Mario 256 (available here: http://kuribo64.net/board/thread.php?id=3119) crashes right after the initial loading screen if the JIT recompiler is enabled. The screen will turn red for a split second and you will be taken back to the menu with a crash message. My phone is old-ish, but it is 64bit and should be compatible with the JIT, so I don't believe it is the source of the issue, though this should probably be fixed even if it is. Official melonDS's x86 JIT has no problem with the game (all optimizations enabled, max block size), but I am unable to test its ARM64 JIT (I don't have a hacked Switch or an ARM PC) though, so I can't say for sure that this issue doesn't happen in official melonDS.
Steps to reproduce:
- Patch your SM64DS rom with the SM256 patch (Andoid users can use UniPatcher for this, PC users should use the bundled xdelta program).
- Place the patched ROM in your ROM folder.
- Enable the JIT in the settings.
- Load the game.
Screenshots:
Update: it appears that Lemuroid's melonDS core does not share this issue. This suggests that the issue is indeed with this emulator and not with the original ARM64 JIT implementation. The Lemuroid melonDS core isn't official though, so I can't say for sure. EDIT: Switch version works fine too.