mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-22 10:04:39 +00:00
Save main window together with config to avoid rare crash (#1772)
This commit is contained in:
parent
32556ad0d8
commit
a57ccf9112
@ -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…
Reference in New Issue
Block a user