mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-27 15:30:35 +00:00
Fixes delete button for downloaded games from homebrew store in UWP
This commit is contained in:
parent
010da8080c
commit
c398da48ac
@ -648,10 +648,8 @@ bool CreateEmptyFile(const std::string &filename)
|
||||
|
||||
// Deletes the given directory and anything under it. Returns true on success.
|
||||
bool DeleteDirRecursively(const std::string &directory)
|
||||
{
|
||||
#if PPSSPP_PLATFORM(UWP)
|
||||
return false;
|
||||
#else
|
||||
{
|
||||
//Removed check, it prevents the UWP from deleting store downloads
|
||||
INFO_LOG(COMMON, "DeleteDirRecursively: %s", directory.c_str());
|
||||
|
||||
#ifdef _WIN32
|
||||
@ -720,7 +718,6 @@ bool DeleteDirRecursively(const std::string &directory)
|
||||
closedir(dirp);
|
||||
#endif
|
||||
return File::DeleteDir(directory);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
@ -299,7 +299,9 @@ void RegisterAllModules() {
|
||||
Register_sceNetIfhandle();
|
||||
Register_KUBridge();
|
||||
Register_sceUsbAcc();
|
||||
#if !PPSSPP_PLATFORM(UWP)
|
||||
Register_sceUsbMic();
|
||||
#endif
|
||||
|
||||
// add new modules here.
|
||||
}
|
||||
|
@ -16,5 +16,7 @@
|
||||
// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.
|
||||
|
||||
#pragma once
|
||||
|
||||
//UWP doesn't like this for some reason
|
||||
#if !PPSSPP_PLATFORM(UWP)
|
||||
void Register_sceUsbMic();
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user