UWP iso-loading fix

Having override:// as a fake file name was no good, Path would remove
one slash.
This commit is contained in:
Henrik Rydgård 2021-05-12 21:45:04 +02:00
parent 66b7e21676
commit cbbe458829

View file

@ -312,7 +312,7 @@ void PPSSPP_UWPMain::OnSuspend() {
void PPSSPP_UWPMain::LoadStorageFile(StorageFile ^file) {
std::unique_ptr<FileLoaderFactory> factory(new StorageFileLoaderFactory(file, IdentifiedFileType::PSP_ISO));
RegisterFileLoaderFactory("override://", std::move(factory));
NativeMessageReceived("boot", "override://");
NativeMessageReceived("boot", "override://file");
}
UWPGraphicsContext::UWPGraphicsContext(std::shared_ptr<DX::DeviceResources> resources) {