mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-14 00:44:10 +00:00
Silence warnings in misc files (gui, psp2, mfc, mouse)
This commit is contained in:
parent
3a9ae2df9e
commit
c424652b43
@ -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)
|
||||
|
@ -50,6 +50,13 @@ void fmt_class_string<MFC>::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;
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -55,6 +55,8 @@ bool basic_mouse_handler::eventFilter(QObject* target, QEvent* ev)
|
||||
case QEvent::Wheel:
|
||||
MouseScroll(static_cast<QWheelEvent*>(ev));
|
||||
break;
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user