mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2024-11-23 11:15:34 +08:00
just to be safe set overlay hook to empty func on exit
This commit is contained in:
parent
d4deaef242
commit
a48637dead
@ -1823,6 +1823,7 @@ void Steam_Overlay::UnSetupOverlay()
|
||||
// I assume because the game de-initializes DX later after closing Steam APIs
|
||||
// this hacky solution just sets it to an empty function
|
||||
_renderer->OverlayHookReady = [](InGameOverlay::OverlayHookState){};
|
||||
_renderer->OverlayProc = [](){};
|
||||
|
||||
allow_renderer_frame_processing(false, true);
|
||||
obscure_game_input(false);
|
||||
|
Loading…
Reference in New Issue
Block a user