When JIT is enabled, battling a trainer in pokemon white 2 results in
desmume: arm_jit.cpp:3930: void sync_r15(u32, bool, bool): assertion "!instr_uses_r15(opcode)" failed.
This happens just before the battle starts. Disabling the assertion seems to work, but I don't know how safe it is.
Anonymous
attach your savestate file before crash
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
Unfortunately sourceforge won't let me attach files bigger than 256KB, so I have uploaded the savestate here:
http://www.filedropper.com/crash-assert
which game serial?
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
ROM game code: IRDI
ROM crc: E6F6B06A
ROM serial: NTR-IRDI-ITA
ROM internal name: POKEMON W2
works for me.
try other build
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
Do you think it may be due to running it under linux? Because I cannot think of anything else: I tried rebuilding from a fresh svn tarball, without any extra options (just HAVE_JIT=1), and then I ran it with ./desmume --cpu-mode=1 and it still happens. I also tried different optimization levels (from -O0 to -O3). If from the savestate I go left and battle the first trainer I find I can reproduce this every time.
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
Just checked, and indeed under Windows it works without problems. So this seems a Linux-only bug
once more seems to be a linux only bug
Broken for me too, Gentoo Linux with DeSmuME 0.9.9 svnr0 x64-JIT compiled from repo. Pokemon.Black.Version.EUR.NDS.
Crashes with CLI and --jit-size=1 as well.