diff options
Diffstat (limited to 'Source/Core/Core/PowerPC/PowerPC.cpp')
| -rw-r--r-- | Source/Core/Core/PowerPC/PowerPC.cpp | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/Source/Core/Core/PowerPC/PowerPC.cpp b/Source/Core/Core/PowerPC/PowerPC.cpp index 127eff4ddf..9208f87b5f 100644 --- a/Source/Core/Core/PowerPC/PowerPC.cpp +++ b/Source/Core/Core/PowerPC/PowerPC.cpp @@ -5,8 +5,6 @@ #include <algorithm> #include <cstring> -#include <istream> -#include <ostream> #include <type_traits> #include <vector> @@ -61,30 +59,6 @@ static void InvalidateCacheThreadSafe(Core::System& system, u64 userdata, s64 cy static_cast<u32>(userdata)); } -std::istream& operator>>(std::istream& is, CPUCore& core) -{ - std::underlying_type_t<CPUCore> val{}; - - if (is >> val) - { - core = static_cast<CPUCore>(val); - } - else - { - // Upon failure, fall back to the cached interpreter - // to ensure we always initialize our core reference. - core = CPUCore::CachedInterpreter; - } - - return is; -} - -std::ostream& operator<<(std::ostream& os, CPUCore core) -{ - os << static_cast<std::underlying_type_t<CPUCore>>(core); - return os; -} - PowerPCManager::PowerPCManager(Core::System& system) : m_breakpoints(system), m_memchecks(system), m_debug_interface(system, m_symbol_db), m_system(system) |
