PlayStation 4 emulator for Windows, Linux and macOS written in C++ https://shadps4.net/
  • C++ 98.2%
  • C 1.1%
  • CMake 0.4%
  • SourcePawn 0.2%
Find a file
Gabriele C. 3303b03e5b
Some checks are pending
Build and Release / reuse (push) Waiting to run
Build and Release / clang-format (push) Waiting to run
Build and Release / get-info (push) Waiting to run
Build and Release / Run C++ Tests on macos-26 (push) Waiting to run
Build and Release / Run C++ Tests on ubuntu-latest (push) Waiting to run
Build and Release / Run C++ Tests on windows-latest (push) Waiting to run
Build and Release / windows-sdl (push) Blocked by required conditions
Build and Release / macos-sdl (push) Blocked by required conditions
Build and Release / linux-sdl (push) Blocked by required conditions
Build and Release / linux-sdl-gcc (push) Blocked by required conditions
Build and Release / pre-release (push) Blocked by required conditions
FileSys: Open host-backed files with POSIX-style full sharing (#4838)
* FileSys: Open host-backed files with POSIX-style full sharing

Guests code expect POSIX behaviour here: if a file is already open for writing
on one fd, opening it again on another one should still work. That is what our
other host backends already do, since the share mode is a Windows-only concept
and the POSIX path ignores it, but on Windows we default to denying writers and
the second open comes back as EACCES. It is easy to run into, since a title
reopening its own scratch files is perfectly normal: LittleBigPlanet 3 does it
constantly.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

* FileSys: Shorten the host file sharing comment

The note above the HostFile constructor spent three lines restating what
the code already shows. Say why the sharing flags are there in one line,
and fix the grammar while at it.

---------

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-09-06 18:38:48 +03:00
.github
cmake
documents
externals
LICENSES
scripts
src
tests
.gitignore
.gitmodules
CMakeLists.txt
CMakePresets.json
CMakeSettings.json
CONTRIBUTING.md
flake.lock
flake.nix
LICENSE
README.md