From 0e27b68ba759f80f2b00bd5c877100dc7b98e1a0 Mon Sep 17 00:00:00 2001 From: Vincent Lejeune Date: Sat, 5 Dec 2015 20:34:09 +0100 Subject: [PATCH] System: Add a test mode that fakes running emulator. --- rpcs3/Emu/System.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/rpcs3/Emu/System.h b/rpcs3/Emu/System.h index 775a45f3c4..db5a1784bd 100644 --- a/rpcs3/Emu/System.h +++ b/rpcs3/Emu/System.h @@ -151,6 +151,14 @@ public: return future; } + /** Set emulator mode to running unconditionnaly. + * Required to execute various part (PPUInterpreter, memory manager...) outside of rpcs3. + */ + void SetTestMode() + { + m_status = Running; + } + void Init(); void SetPath(const std::string& path, const std::string& elf_path = ""); void SetTitleID(const std::string& id);