f4070731a8
The OS defaults for SO_RCVBUF / SO_SNDBUF may not match what the defaults for the PS3 are. And the code may be happy with the PS3 defaults, so may not set this explicitly. So we'll do it when we establish the socket. It also looks like the Windows recv behaviour is different for the MSG_PEEK option (and possibly in all situations where a smaller buffer is provided). I believe other platforms will return the size of the data received into the socket buffer, even if the supplied user buffer is smaller. Windows returns WSAEMSGSIZE instead. For the length of '1' MSG_PEEK request that is currently seen, we just mask this and return the full size of the buffer. This might need to be the case in all situations, I assume there will be applications that will supply an artificially small buffer and resize it as necessary based on the size of the received packet. Add some additional translations from native->PS3 error codes Rewrote handling of MSG_PEEK to just be a copy of what GalCiv suggested Added WSAESHUTDOWN, and WSASetLastError as done by Cygwin |
||
---|---|---|
.ci | ||
.github | ||
3rdparty | ||
asmjit@fc251c914e | ||
asmjitsrc | ||
bin | ||
llvm@f5679565d3 | ||
llvm_build | ||
rpcs3 | ||
Utilities | ||
Vulkan | ||
.cirrus.yml | ||
.clang-format | ||
.editorconfig | ||
.gitignore | ||
.gitmodules | ||
.travis.yml | ||
azure-pipelines.yml | ||
BUILDING.md | ||
CMakeLists.txt | ||
common_default_macros.props | ||
common_default.props | ||
git-clang-format | ||
LICENSE | ||
pre-commit.readme | ||
README.md | ||
rpcs3_debug.props | ||
rpcs3_default.props | ||
rpcs3_glslang.props | ||
rpcs3_llvm.props | ||
rpcs3_memleak.props | ||
rpcs3_release.props | ||
rpcs3.sln | ||
usertype.dat |
RPCS3
The world's first free and open-source PlayStation 3 emulator/debugger, written in C++ for Windows and Linux.
You can find some basic information on our website. Game info is being populated on the Wiki. For discussion about this emulator, PS3 emulation, and game compatibility reports, please visit our forums and our Discord server.
Support Lead Developers Nekotekina and kd-11 on Patreon
Contributing
If you want to help the project but do not code, the best way to help out is to test games and make bug reports. See:
If you want to contribute as a developer, please take a look at the following pages:
You should also contact any of the developers in the forums or in the Discord server to learn more about the current state of the emulator.
Building
See BUILDING.md for more information about how to setup an environment to build RPCS3.
Running
Check our friendly quickstart guide to make sure your computer meets the minimum system requirements to run RPCS3.
Don't forget to have your graphics driver up to date and to install the Visual C++ Redistributable Packages for Visual Studio 2019 if you are a Windows user.
License
Most files are licensed under the terms of GNU GPLv2 License; see LICENSE file for details. Some files may be licensed differently; check appropriate file headers for details.