mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-14 05:55:13 +01:00
am: Return empty path string for non-existent content indices.
This commit is contained in:
parent
5bc72cca6b
commit
d93ed644f6
@ -404,6 +404,7 @@ std::string GetTitleContentPath(Service::FS::MediaType media_type, u64 tid, u16
|
|||||||
} else {
|
} else {
|
||||||
LOG_ERROR(Service_AM, "Attempted to get path for non-existent content index {:04x}.",
|
LOG_ERROR(Service_AM, "Attempted to get path for non-existent content index {:04x}.",
|
||||||
index);
|
index);
|
||||||
|
return "";
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO(shinyquagsire23): how does DLC actually get this folder on hardware?
|
// TODO(shinyquagsire23): how does DLC actually get this folder on hardware?
|
||||||
|
Loading…
Reference in New Issue
Block a user