1 Commits
Author SHA1 Message Date
H1ghC0ntr4sT ce6f08d71f Reset emu state after a failing DllMain
call_dll_entrypoint() caught the DllMain UcError and restored registers but
left ql._state at STARTED, since emu_start() only clears it on success. The
'emu_state is not STARTED' gate then silently skipped DllMain for every DLL
loaded afterward. Reset the state to STOPPED on the exception path.
2026-07-02 23:21:17 +07:00