diff --git a/Utilities/Config.cpp b/Utilities/Config.cpp index 282759310d..dd9bbc732f 100644 --- a/Utilities/Config.cpp +++ b/Utilities/Config.cpp @@ -202,10 +202,12 @@ void cfg::encode(YAML::Emitter& out, const cfg::_base& rhs) out << YAML::EndMap; return; } - default: LOG_ERROR(GENERAL, "Attempting to cfg encode an unimplemented type."); + default: + { + out << rhs.to_string(); + return; + } } - - out << rhs.to_string(); } void cfg::decode(const YAML::Node& data, cfg::_base& rhs) diff --git a/rpcs3/Emu/Cell/MFC.cpp b/rpcs3/Emu/Cell/MFC.cpp index ba8de91e05..91b30ad0cc 100644 --- a/rpcs3/Emu/Cell/MFC.cpp +++ b/rpcs3/Emu/Cell/MFC.cpp @@ -50,6 +50,13 @@ void fmt_class_string::format(std::string& out, u64 arg) case MFC_BARRIER_CMD: return "BARRIER"; case MFC_EIEIO_CMD: return "EIEIO"; case MFC_SYNC_CMD: return "SYNC"; + + case MFC_BARRIER_MASK: + case MFC_FENCE_MASK: + case MFC_LIST_MASK: + case MFC_START_MASK: + case MFC_RESULT_MASK: + break; } return unknown; diff --git a/rpcs3/Emu/PSP2/ARMv7DisAsm.cpp b/rpcs3/Emu/PSP2/ARMv7DisAsm.cpp index b881d8b36b..f37beda633 100644 --- a/rpcs3/Emu/PSP2/ARMv7DisAsm.cpp +++ b/rpcs3/Emu/PSP2/ARMv7DisAsm.cpp @@ -258,6 +258,9 @@ void ARMv7DisAsm::Write(const std::string& value) case CPUDisAsm_InterpreterMode: last_opcode += fmt::format(": %s", str); break; + case CPUDisAsm_CompilerElfMode: + write("ERROR: Trying to load unimplemented CPU DisAsm mode, CompilerElfMode."); + break; } } diff --git a/rpcs3/basic_mouse_handler.cpp b/rpcs3/basic_mouse_handler.cpp index 721f40a4f8..cb17e01e61 100644 --- a/rpcs3/basic_mouse_handler.cpp +++ b/rpcs3/basic_mouse_handler.cpp @@ -55,6 +55,8 @@ bool basic_mouse_handler::eventFilter(QObject* target, QEvent* ev) case QEvent::Wheel: MouseScroll(static_cast(ev)); break; + default: + return false; } } return false;