mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-14 08:12:16 +00:00
Save main window together with config to avoid rare crash (#1772)
This commit is contained in:
parent
32556ad0d8
commit
a57ccf9112
1 changed files with 1 additions and 0 deletions
|
@ -692,6 +692,7 @@ void save(const std::filesystem::path& path) {
|
||||||
std::ofstream file(path, std::ios::binary);
|
std::ofstream file(path, std::ios::binary);
|
||||||
file << data;
|
file << data;
|
||||||
file.close();
|
file.close();
|
||||||
|
saveMainWindow(path);
|
||||||
}
|
}
|
||||||
|
|
||||||
void saveMainWindow(const std::filesystem::path& path) {
|
void saveMainWindow(const std::filesystem::path& path) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue