simplify stdio/native file paths by sharing the same code.

This commit is contained in:
ITotalJustice
2025-05-23 12:44:56 +01:00
parent 93c38da742
commit 6475f4316a
12 changed files with 59 additions and 118 deletions

View File

@@ -931,7 +931,7 @@ void Menu::InstallFiles() {
if (m_fs->IsNative()) {
R_TRY(yati::InstallFromFile(pbox, &GetNative()->m_fs, GetNewPath(e)));
} else {
R_TRY(yati::InstallFromStdioFile(pbox, GetNewPath(e)));
R_TRY(yati::InstallFromFile(pbox, GetNewPath(e)));
}
App::Notify("Installed " + e.GetName());
}