2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

core: Fix -Wunused-variable

This commit is contained in:
FearlessTobi 2022-07-07 16:54:20 +02:00
parent 7c3d241f0d
commit 7fbd2916a1

View file

@ -317,7 +317,9 @@ struct System::Impl {
perf_stats->BeginSystemFrame(); perf_stats->BeginSystemFrame();
std::string name = "Unknown Game"; std::string name = "Unknown Game";
const Loader::ResultStatus res{app_loader->ReadTitle(name)}; if (app_loader->ReadTitle(name) != Loader::ResultStatus::Success) {
LOG_ERROR(Core, "Failed to read title for ROM (Error {})", load_result);
}
if (auto room_member = Network::GetRoomMember().lock()) { if (auto room_member = Network::GetRoomMember().lock()) {
Network::GameInfo game_info; Network::GameInfo game_info;
game_info.name = name; game_info.name = name;