Remove unmotivated check preventing texture ini creation on mobile. (#15647)

* Remove unmotivated check preventing  texture ini creation on mobile.

Fixes #15644

* Show a "toast" message on platforms that don't support opening a text editor, when you try to create/open a texture ini file.

* Avoid the need to ifdef around calls to SystemToast

* UWP buildfix (and some warning fixes).

And possibly libretro fix

* Rename for a bit more consistency
This commit is contained in:
Henrik Rydgård authored and GitHub committed 2022-07-10 22:34:44 +02:00
1 parent bc0b5d42ab
commit a831cab14c
56 files changed
+196 -23

No files matched your search

+2 -2
View File
@@ -352,7 +352,7 @@ UI::EventReturn MemStickScreen::SetFolderManually(UI::EventParams &params) {
if (newPath.empty()) {
// Reuse below message instead of adding yet another string.
SystemToast(sy->T("Path does not exist!"));
System_Toast(sy->T("Path does not exist!"));
return;
}
@@ -386,7 +386,7 @@ UI::EventReturn MemStickScreen::SetFolderManually(UI::EventParams &params) {
}
if (!File::Exists(pendingMemStickFolder)) {
SystemToast(sy->T("Path does not exist!"));
System_Toast(sy->T("Path does not exist!"));
return;
}