mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-16 16:00:30 +02:00
Clean up the string type in RequestCallback - somehow was both char* and std::string????
Might be related to #21695
This commit is contained in:
1 parent
f4e52d5db5
commit
cc0ece038c
19 files changed
+55
-54
No files matched your search
@@ -215,14 +215,14 @@ void DriverManagerScreen::OnCustomDriverUninstall(UI::EventParams &e) {
|
||||
void DriverManagerScreen::OnCustomDriverInstall(UI::EventParams &e) {
|
||||
auto gr = GetI18NCategory(I18NCat::GRAPHICS);
|
||||
|
||||
System_BrowseForFile(GetRequesterToken(), gr->T("Install custom driver..."), BrowseFileType::ZIP, [this](const std::string &value, int) {
|
||||
System_BrowseForFile(GetRequesterToken(), gr->T("Install custom driver..."), BrowseFileType::ZIP, [this](std::string_view value, int) {
|
||||
if (value.empty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
auto gr = GetI18NCategory(I18NCat::GRAPHICS);
|
||||
|
||||
Path zipPath = Path(value);
|
||||
Path zipPath(value);
|
||||
|
||||
// Don't bother checking the file extension. Can't always do that with files from Download (they have paths like content://com.android.providers.downloads.documents/document/msf%3A1000001095).
|
||||
// Though, it may be possible to get it in other ways.
|
||||
|
||||
Reference in new issue
Block a user