mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2025-12-23 08:22:29 +00:00
Apply suggestion
This commit is contained in:
parent
e71a8bc13a
commit
b69ce62a5d
2 changed files with 11 additions and 2 deletions
5
.vscode/settings.json
vendored
Normal file
5
.vscode/settings.json
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"files.associations": {
|
||||
"string": "cpp"
|
||||
}
|
||||
}
|
||||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue