mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Extra check and comment
This commit is contained in:
parent
2d9afaa6df
commit
b2c19695ed
2 changed files with 4 additions and 0 deletions
|
@ -200,6 +200,9 @@ UI::EventReturn DriverManagerScreen::OnCustomDriverChange(UI::EventParams &e) {
|
|||
}
|
||||
|
||||
UI::EventReturn DriverManagerScreen::OnCustomDriverUninstall(UI::EventParams &e) {
|
||||
if (e.s.empty()) {
|
||||
return UI::EVENT_DONE;
|
||||
}
|
||||
INFO_LOG(G3D, "Uninstalling driver: %s", e.s.c_str());
|
||||
|
||||
Path folder = GetDriverPath() / e.s;
|
||||
|
|
|
@ -753,6 +753,7 @@ UI::EventReturn ConfirmMemstickMoveScreen::OnConfirm(UI::EventParams ¶ms) {
|
|||
}
|
||||
|
||||
// Delete all the old, now hopefully empty, directories.
|
||||
// Hopefully DeleteDir actually fails if it contains a file...
|
||||
for (auto &dirSuffix : directorySuffixesToCreate) {
|
||||
Path dir = moveSrc / dirSuffix;
|
||||
if (dryRun) {
|
||||
|
|
Loading…
Add table
Reference in a new issue