Apply suggestion

This commit is contained in:
Jujstme 2025-03-19 23:21:42 +01:00
parent e71a8bc13a
commit b69ce62a5d
2 changed files with 11 additions and 2 deletions

5
.vscode/settings.json vendored Normal file
View file

@ -0,0 +1,5 @@
{
"files.associations": {
"string": "cpp"
}
}

View file

@ -61,8 +61,12 @@ void KiSystemStartup()
{
const auto gameContent = XamMakeContent(XCONTENTTYPE_RESERVED, "Game");
const auto updateContent = XamMakeContent(XCONTENTTYPE_RESERVED, "Update");
XamRegisterContent(gameContent, (g_gameInstallPath / "game").string());
XamRegisterContent(updateContent, (g_gameInstallPath / "update").string());
std::u8string gamePathU8 = (g_gameInstallPath / "game").u8string();
std::u8string updatePathU8 = (g_gameInstallPath / "update").u8string();
XamRegisterContent(gameContent, (const char*)(gamePathU8.c_str()));
XamRegisterContent(updateContent, (const char*)(updatePathU8.c_str()));
const auto saveFilePath = GetSaveFilePath(true);
bool saveFileExists = std::filesystem::exists(saveFilePath);