[2.2.13] Game crashes on startup when ran through PowerToys Run
When running the EXE through the "Folder" plugin of PowerToys Run, the game crashes immediately.
srb2win.RPT
-------------------
Error occurred on Monday, April 15, 2024 at 20:13:31.
srb2win.exe caused an Access Violation at location 0048511B in module srb2win.exe Reading from location 00000000.
Registers:
eax=00000000 ebx=00000000 ecx=00000002 edx=00000000 esi=05f704c0 edi=054afc00
eip=0048511b esp=054adb70 ebp=054afe18 iopl=0 nv up ei pl nz na pe nc
cs=0023 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00010202
AddrPC Params
0048511B 00000000 0040507F 0074F8FC srb2win.exe!G_SaveGameData
0040507F 0074F8FC 0074F8DD 00000002 srb2win.exe!SDL_main
0040507F 00000000 00000000 00000000 srb2win.exe!SDL_main
srb2win.exe 2.2.13.0
ntdll.dll 6.3.22621.3374
KERNEL32.DLL 6.3.22621.3374
KERNELBASE.dll 6.3.22621.3447
ADVAPI32.dll 6.3.22621.3296
msvcrt.dll 7.0.22621.2506
sechost.dll 6.3.22621.3296
bcrypt.dll 6.3.22621.2506
libcurl.dll 7.69.0.0
RPCRT4.dll 6.3.22621.3447
CRYPT32.dll 6.3.22621.3447
SHELL32.dll 6.3.22621.3374
libopenmpt.dll 1.0.0.0
ucrtbase.dll 6.3.22621.3374
libgme.dll
msvcp_win.dll 6.3.22621.3374
USER32.dll 6.3.22621.3447
wldap32.dll 6.3.22621.3374
GDI32.dll 6.3.22621.3085
SDL2.dll 2.0.20.0
win32u.dll 6.3.22621.2506
WS2_32.dll 6.3.22621.1
IMM32.DLL 6.3.22621.3374
gdi32full.dll 6.3.22621.3374
ole32.dll 6.3.22621.3374
SDL2_mixer_ext.dll 2.1.0.0
combase.dll 6.3.22621.3235
OLEAUT32.dll 6.3.22621.2506
SETUPAPI.dll 6.3.22621.2506
libstdc++-6.dll
libgcc_s_sjlj-1.dll
WINMM.DLL 6.3.22621.2506
CRYPTBASE.DLL 6.3.22621.1
VERSION.dll 6.3.22621.1
cfgmgr32.DLL 6.3.22621.2506
libfluidsynth-2.dll
DSOUND.dll 6.3.22621.3235
ResampleDmo.DLL 6.3.22621.2506
winmmbase.dll 6.3.22621.1
powrprof.dll 6.3.22621.3374
msdmo.dll 6.3.22621.1
UMPDC.dll 6.3.22621.1
uxtheme.dll 6.3.22621.3447
MSCTF.dll 6.3.22621.3374
shcore.dll 6.3.22621.3374
exchndl.dll 0.9.0.0
PSAPI.DLL 6.3.22621.1
mgwhelp.dll 0.9.0.0
dbghelp.dll 6.3.22621.2506
dbgcore.DLL 6.3.22621.1
windows.storage.dll 6.3.22621.3447
wintypes.dll 6.3.22621.3235
shlwapi.dll 6.3.22621.2506
bcryptPrimitives.dll 6.3.22621.3374
Windows 6.3.9600
DrMingw 0.9.0