Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion rpcs3/Emu/Io/DimensionsListener.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,13 @@ namespace
const std::string path(reinterpret_cast<const char*>(path_buf.data()), path_len);
// Optional persistence: game writes go back to this .bin, same
// as loading it through the Dimensions Manager dialog.
file.open(path, fs::read + fs::write + fs::lock);
//
// Deliberately no fs::lock: that flag drops FILE_SHARE_WRITE
// (see Utilities/File.cpp), so once the emulator holds the .bin
// a second open of the same file - loading the same figure onto
// another pad, or the companion app reading/writing it - fails
// with a sharing violation. read+write shares it properly.
file.open(path, fs::read + fs::write);
}

// The listener contract (LegoToypad expects Cemu-fork behavior) is
Expand Down
Loading