Savestates Support For PS3 Emulation (#10478)

This commit is contained in:
Elad Ashkenazi 2022-07-04 16:02:17 +03:00 committed by GitHub
parent 969b9eb89d
commit fcd297ffb2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
154 changed files with 4948 additions and 635 deletions

View file

@ -42,6 +42,7 @@ pad_thread::pad_thread(void *_curthread, void *_curwindow, std::string_view titl
{
pad::g_title_id = title_id;
pad::g_current = this;
pad::g_reset = true;
}
pad_thread::~pad_thread()
@ -212,7 +213,8 @@ void pad_thread::SetIntercepted(bool intercepted)
void pad_thread::operator()()
{
pad::g_reset = true;
Init();
pad::g_reset = false;
atomic_t<pad_handler_mode> pad_mode{g_cfg.io.pad_mode.get()};
std::vector<std::unique_ptr<named_thread<std::function<void()>>>> threads;