Skip to content

Commit af7027d

Browse files
committed
big picture: initialize missing input handlers
We need to init the input handlers, otherwise we have a chance to crash when the fxo is used in some input loop
1 parent df92b1d commit af7027d

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

rpcs3/Emu/RSX/Overlays/overlay_manager.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#include "stdafx.h"
22
#include "overlay_manager.h"
3-
#include "Emu/System.h"
43
#include <util/asm.hpp>
54

65
namespace rsx

rpcs3/Emu/System.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -943,6 +943,8 @@ bool Emulator::BootRsxCapture(const std::string& path)
943943
GetCallbacks().on_ready();
944944

945945
GetCallbacks().init_gs_render(nullptr);
946+
GetCallbacks().init_kb_handler();
947+
GetCallbacks().init_mouse_handler();
946948
GetCallbacks().init_pad_handler("");
947949

948950
GetCallbacks().on_run(false);
@@ -1001,6 +1003,8 @@ bool Emulator::BootBigPictureMode()
10011003
GetCallbacks().on_ready();
10021004

10031005
GetCallbacks().init_gs_render(nullptr);
1006+
GetCallbacks().init_kb_handler();
1007+
GetCallbacks().init_mouse_handler();
10041008
GetCallbacks().init_pad_handler("");
10051009

10061010
GetCallbacks().on_run(false);

0 commit comments

Comments
 (0)