Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
masagrator authored Aug 4, 2024
1 parent 0258f0c commit 0137473
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Plugin/source/Tfoaf/TextRendering.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,6 @@ int set_UIText_hook(void* x0, int X_Pos, int Y_Pos, const char* string, int ARGB
}
else if (BlockButtons == true) {
nn::fs::FileHandle handle;
nn::fs::DeleteFile("sd:/config/ToCS1/subsdk9.save");
if (!nn::fs::OpenFile(&handle, "sd:/config/ToCS1/subsdk9.save", nn::fs::OpenMode_Write)) {
nn::fs::WriteFile(handle, 0, &magic, 4, nn::fs::WriteOption::CreateOption(nn::fs::WriteOptionFlag_Flush));
nn::fs::WriteFile(handle, 4, &Settings, sizeof(Settings), nn::fs::WriteOption::CreateOption(nn::fs::WriteOptionFlag_Flush));
Expand Down

0 comments on commit 0137473

Please sign in to comment.