Core choice reverts to Gambatte after making a movie
Just as title. Happens in latest devbuild, https://github.com/TASVideos/BizHawk/commit/6371766130ff7cdccd55d8d793cc14459ce370f4
Here is a more detailed repro example:
- Go on Config > Cores > GB > and set the core to either GBHawk or SubGBHawk
- Reboot core
- Open any ROM
- Record a movie
- Close the movie
- If you go on Config > Cores > GB, you'll see that the preference is back to Gambatte. In fact, if you reboot core, BizHawk will boot Gambatte.
see also #1964
Is the movie correctly set to GBHawk in its sync settings?
Yes, everything reflects the core name displayed in the bottom of the BizHawk window. It's just that sometimes it stealthly sets back to Gambatte by itself, and it's annoying.
By the way, I tried testing it again and now it's not reverting back to Gambatte anymore when I reboot the core, but the setting gets still changed by itself for no reason.
I tested this in every way I could think of with combinations of core setting changes, reboots, and movies recording / stopping / loading and couldn't get anything like what is described to happen. Do you still get this problem in the dev build @ThunderAxe31 ? Any more detailed repro steps I could try?
I tried again with a fresh dev build, and there are rare occasions that I get the error as described. I'm working on exact repro steps.
Alright here is what I could come up with.
If you:
- have gambatte selected in the core selection options and load a rom (running core is Gambatte)
- open a GBHawk movie (running core is now GBHawk)
- stop that movie (still in GBHawk)
- record a new movie (even though you are recording a new movie, the core does not change back to Gambatte)
This is the only situation I can get something similar to what the issue describes to happen.
It should be fixed now by a recent change by natt, try again
Not fixed. Same repro. steps produce the same result.
I'm able to reproduce with alyosha's steps. This seems to be some sort of movie settings confusion. When we get to step 4, MainForm.CoreSyncSettings provides RomLoader a set of GBHawk syncsettings, that appear to come from the old movie. This causes Gambatte to crash on load and the RomLoader to fall back to GBHawk, which does successfully load with those same syncsettings.
TAStudio isn't free of this problem either:
- Set core preference to gambatte, and reboot core
- Set core preference to GBHawk, and do NOT reboot core
- Open TAStudio
You will have a default.tasproj opened using Gambatte as the core. Clicking New project, you will still have Gambatte
Reproduced with alyosha's steps on master at 995993357. With the same steps on 2.4.2, the sync settings mismatch described by natt is shown in a dialog and the rom is closed.
Repro'd on 2.8. New behaviour is that when recording a new movie with GBHawk loaded, the preference for Gambatte is ignored, and the rom reloads in GBHawk. At no point is Gambatte instantiated and there is no error in the console or GUI. The user's preference is not changed; Gambatte will be used if the movie is stopped and the rom is reloaded. I'm willing to call the remaining weirdness wontfix.