mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-30 12:32:43 +00:00
rsx/input: fix rsx replay
This commit is contained in:
parent
eb4d612bb9
commit
d9d5f45e9e
@ -22,11 +22,7 @@ namespace rsx
|
||||
|
||||
input_timer.Start();
|
||||
|
||||
{
|
||||
std::lock_guard lock(pad::g_pad_mutex);
|
||||
const auto handler = pad::get_current_handler();
|
||||
handler->SetIntercepted(true);
|
||||
}
|
||||
pad::SetIntercepted(true);
|
||||
|
||||
while (!exit)
|
||||
{
|
||||
@ -152,11 +148,7 @@ namespace rsx
|
||||
manager->remove(uid);
|
||||
}
|
||||
|
||||
{
|
||||
std::lock_guard lock(pad::g_pad_mutex);
|
||||
const auto handler = pad::get_current_handler();
|
||||
handler->SetIntercepted(false);
|
||||
}
|
||||
pad::SetIntercepted(false);
|
||||
|
||||
if (on_close)
|
||||
on_close(return_code);
|
||||
|
@ -483,7 +483,9 @@ bool Emulator::BootRsxCapture(const std::string& path)
|
||||
GetCallbacks().on_ready();
|
||||
|
||||
auto gsrender = fxm::import<GSRender>(Emu.GetCallbacks().get_gs_render);
|
||||
if (gsrender.get() == nullptr)
|
||||
auto padhandler = fxm::import<pad_thread>(Emu.GetCallbacks().get_pad_handler);
|
||||
|
||||
if (gsrender.get() == nullptr || padhandler.get() == nullptr)
|
||||
return false;
|
||||
|
||||
GetCallbacks().on_run();
|
||||
|
Loading…
x
Reference in New Issue
Block a user