Headless: Handle umd mapping with block devices.

This commit is contained in:
Unknown W. Brackets committed 2020-05-21 18:58:24 -07:00
1 parent 49abe9ed6c
commit 9b112efa0b
2 files changed
+5 -4

No files matched your search

+2 -2
View File
@@ -258,8 +258,8 @@ std::string MetaFileSystem::NormalizePrefix(std::string prefix) const {
// Let's apply some mapping here since it won't break savestates.
if (prefix == "memstick:")
prefix = "ms0:";
// Seems like umd00: etc. work just fine...
if (startsWith(prefix, "umd"))
// Seems like umd00: etc. work just fine... avoid umd1/umd for tests.
if (startsWith(prefix, "umd") && prefix != "umd1:" && prefix != "umd:")
prefix = "umd0:";
// Seems like umd00: etc. work just fine...
if (startsWith(prefix, "host"))