summaryrefslogtreecommitdiff
path: root/Source/Core/DiscIO/VolumeCreator.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2016-10-29 13:08:24 +0200
committerJosJuice <josjuice@gmail.com>2016-10-29 13:08:24 +0200
commitd6731d34ef30527f386170e261b55e5017be61ac (patch)
treeaff809eca076c42e7da6b86346ad59c4de6daebe /Source/Core/DiscIO/VolumeCreator.cpp
parentb0e2642883794e53364873eca3f54347fd6fb2b6 (diff)
Remove VolumeCreator logs
These logs are very rarely useful and cause the issue https://bugs.dolphin-emu.org/issues/9767
Diffstat (limited to 'Source/Core/DiscIO/VolumeCreator.cpp')
-rw-r--r--Source/Core/DiscIO/VolumeCreator.cpp16
1 files changed, 2 insertions, 14 deletions
diff --git a/Source/Core/DiscIO/VolumeCreator.cpp b/Source/Core/DiscIO/VolumeCreator.cpp
index 365032d280..f338ca1d5d 100644
--- a/Source/Core/DiscIO/VolumeCreator.cpp
+++ b/Source/Core/DiscIO/VolumeCreator.cpp
@@ -64,14 +64,7 @@ std::unique_ptr<IVolume> CreateVolumeFromFilename(const std::string& filename, u
return CreateVolumeFromCryptedWiiImage(std::move(reader), partition_group, 0, volume_number);
case DISC_TYPE_UNK:
- default:
- std::string name, extension;
- SplitPath(filename, nullptr, &name, &extension);
- name += extension;
- NOTICE_LOG(DISCIO,
- "%s does not have the Magic word for a gcm, wiidisc or wad file\n"
- "Set Log Verbosity to Warning and attempt to load the game again to view the values",
- name.c_str());
+ return nullptr;
}
return nullptr;
@@ -206,12 +199,7 @@ EDiscType GetDiscType(IBlobReader& _rReader)
if (GCMagic == 0xC2339F3D)
return DISC_TYPE_GC;
- WARN_LOG(DISCIO, "No known magic words found");
- WARN_LOG(DISCIO, "Wii offset: 0x18 value: 0x%08x", WiiMagic);
- WARN_LOG(DISCIO, "WiiC offset: 0x60 value: 0x%08x", WiiContainerMagic);
- WARN_LOG(DISCIO, "WAD offset: 0x02 value: 0x%08x", WADMagic);
- WARN_LOG(DISCIO, "GC offset: 0x1C value: 0x%08x", GCMagic);
-
+ // No known magic words found
return DISC_TYPE_UNK;
}