Skip to content

Commit

Permalink
Add GamedataInstall of osm
Browse files Browse the repository at this point in the history
  • Loading branch information
sum2012 committed Sep 17, 2022
1 parent bf59640 commit 6fb317e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Core/Dialog/PSPGamedataInstallDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
#include "Core/System.h"
#include "Core/FileSystems/MetaFileSystem.h"
#include "Core/Dialog/PSPGamedataInstallDialog.h"
#include "Common/Data/Text/I18n.h"
#include "UI/OnScreenDisplay.h"

std::string saveBasePath = "ms0:/PSP/SAVEDATA/";

Expand Down Expand Up @@ -250,7 +252,9 @@ void PSPGamedataInstallDialog::UpdateProgress() {
progressValue = (int)((allReadSize * 100) / allFilesSize);
else
progressValue = 100;

auto di = GetI18NCategory("Dialog");
std::string temp = di->T("Save");
osm.Show(temp + " " + std::to_string(progressValue) + " / 100", 0.5f);
param->progress = progressValue;
param.NotifyWrite("DialogResult");
}
Expand Down

0 comments on commit 6fb317e

Please sign in to comment.