Zelda64Recomp / Zelda64Recomp

Static recompilation of Majora's Mask (and soon Ocarina of Time) for PC (Windows/Linux)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

quitting before starting the game leads to an exception in `ultramodern::join_saving_thread`

briaguya-ai opened this issue · comments

Describe the bug

quitting before starting the game leads to an exception in ultramodern::join_saving_thread

To Reproduce

  1. open the game to the launcher menu
  2. quit

Expected behavior

the game exits gracefully

Screenshots

image

Thanks for the report. This is something that was introduced in the refactor to use N64ModernRuntime (so thankfully isn't in any of the releases), I just haven't had time to sort it out yet. Should just be a matter of not calling join_saving_thread if the game hasn't started, or starting the saving thread when the program opens instead of when the game starts.

yeah, i figure it's a decently quick fix, just something i've noticed a couple times so i figured making an issue instead of forgetting about it until i run into it again made sense

This was fixed in the runtime which was updated in #392