Commit graph

1891 commits

Author SHA1 Message Date
Stephen Miller 04fbd7b9e7 Clang 2024-09-02 10:04:56 -05:00
Stephen Miller 9a772aa2f5 Clang fix 2024-09-02 10:03:39 -05:00
Stephen Miller dc1313ea3c Always assign memory_type and offset
The memory_type default is based on fpPS4 behavior.

I'm not entirely sure how the offset should be handled, but since the value we use defaults to 0 anyway, that should be better than leaving random data in that area.
2024-09-02 09:43:27 -05:00
Stephen Miller 0503054b40 Grammar 2024-09-02 09:39:46 -05:00
Stephen Miller f8d71b59d9 Fix MemoryManager::VirtualQuery header
The headers for these functions were technically not the same as the actual function definition. This didn't cause any emulation issues, but caused some weird issues with my IDE.
2024-09-02 09:30:32 -05:00
Stephen Miller 816288962b Assign is_stack and is_pooled
Properly set these values to avoid potential errors, and future proof for when these types of memory are emulated.
2024-09-02 09:28:35 -05:00
georgemoralis b7e0df34a7
Merge pull request #731 from RDN000/main
Some checks are pending
Reuse / reuse (push) Waiting to run
Clang Format / clang-format (push) Waiting to run
Linux-Qt / build (push) Waiting to run
Linux / build (push) Waiting to run
macOS-Qt / build (push) Waiting to run
macOS / build (push) Waiting to run
Windows-Qt / build (push) Waiting to run
Windows / build (push) Waiting to run
Add Albanian translation
2024-09-02 13:25:29 +03:00
RDN000 0a1fed9b75
Update Albanian translation 2024-09-02 10:14:54 +02:00
RDN000 26201f3dae
Add Albanian translation 2024-09-02 08:37:54 +02:00
georgemoralis 3b0e251518
Merge pull request #729 from StevenMiller123/VirtualQuery-Fixes
Some checks are pending
Reuse / reuse (push) Waiting to run
Clang Format / clang-format (push) Waiting to run
Linux-Qt / build (push) Waiting to run
Linux / build (push) Waiting to run
macOS-Qt / build (push) Waiting to run
macOS / build (push) Waiting to run
Windows-Qt / build (push) Waiting to run
Windows / build (push) Waiting to run
Fix VirtualQuery
2024-09-02 07:18:33 +03:00
Stephen Miller f3a62891ed Fix VirtualQuery
Found this issue while looking at code from fpPS4. VirtualQuery was setting is_commited to true when the queried region was reserved.

Also sets the protection value in the VirtualQueryInfo, as I'd assume not storing that could cause issues in games.

This fixes all games currently hanging on the sceKernelmprotect stub.
2024-09-01 22:39:22 -05:00
baggins183 101aeb920d
Implement V_BFM_B32 and V_FFBH_U32 (#663)
Some checks are pending
Reuse / reuse (push) Waiting to run
Clang Format / clang-format (push) Waiting to run
Linux-Qt / build (push) Waiting to run
Linux / build (push) Waiting to run
macOS-Qt / build (push) Waiting to run
macOS / build (push) Waiting to run
Windows-Qt / build (push) Waiting to run
Windows / build (push) Waiting to run
* Implement V_BFM_B32

* Render.Recompiler: Implement V_FFBH_U32

* fix clang-format
2024-09-01 22:20:42 +03:00
Paris Oplopoios f514fdfd18
Replace recursive_mutex with mutex (#708)
* Replace recursive_mutex with mutex

* Move mutex lock outside of ObtainBuffer
2024-09-01 22:20:22 +03:00
georgemoralis 1d8359f828
Merge pull request #705 from tGecko/ci-git-hash
CI: include build date and git hash in build artifact name
2024-09-01 22:19:12 +03:00
georgemoralis 2311070203
Merge pull request #716 from mavethee/main
translations: Correct machine translations in Polish
2024-09-01 22:18:37 +03:00
Grégoire Hage 1bd9317509
Implement V_READFIRSTLANE_B32 (#681)
* Implement V_READFIRSTLANE_B32

* refactor
2024-09-01 21:49:42 +03:00
Emulator-Team-2 e4d8857eb5
Adding missing data format - (1_5_5_5) (#701)
* added data_format=17 and num_format=0

* Set `sceSaveDataDialogIsReadyToDisplay` temporary to 1 until is properly implemented.
2024-09-01 21:49:01 +03:00
Random 0276ed92a6
Force PIE usage on linux (#625)
* force PIE usage on linux

* get rid of explicit -pie linker flag

* change UNIX with UNIX AND NOT APPLE in CMakeLists.txt

* cmake: add proper check for PIE support at link time

---------

Co-authored-by: Mikhail Paulyshka <me@mixaill.net>
2024-09-01 21:48:34 +03:00
Marcin Mitura 450c825873 Correct machine translations 2024-09-01 19:18:59 +02:00
tGecko ad22e2cfac include build date
use pwsh instead of cmd on windows workflows
2024-09-01 17:24:53 +02:00
georgemoralis 63d78aee0a
Merge pull request #703 from squidbus/mac-tcb
Some checks are pending
Reuse / reuse (push) Waiting to run
Clang Format / clang-format (push) Waiting to run
Linux-Qt / build (push) Waiting to run
Linux / build (push) Waiting to run
macOS-Qt / build (push) Waiting to run
macOS / build (push) Waiting to run
Windows-Qt / build (push) Waiting to run
Windows / build (push) Waiting to run
macos: Remove need for TLS patch by storing TCB pointer in FS.
2024-09-01 17:34:23 +03:00
georgemoralis dbc603cdc8
Merge pull request #677 from mavethee/macos-path
[macOS] Place `shadPS4/user` folder in `Application Support`
2024-09-01 17:33:33 +03:00
georgemoralis 5e089ada08
Merge pull request #691 from Xphalnos/main
Qt: Update Game List
2024-09-01 17:12:11 +03:00
georgemoralis 9b6cd9ec9f
Merge pull request #686 from Exhigh/savedata-fix-5
savedata: Handle a missing case in saveDataMount
2024-09-01 17:11:14 +03:00
tGecko df7e25d9aa
Merge branch 'shadps4-emu:main' into ci-git-hash 2024-09-01 13:03:52 +02:00
tGecko 079ae9ef43 include git short hash in artifact filename 2024-09-01 12:40:51 +02:00
Marcin Mitura 7415cee34c [macOS] Place shadPS4/user folder in Application Support
Partially resolves #509
2024-09-01 11:49:29 +02:00
squidbus 9e5047947b macos: Remove need for TLS patch by storing TCB pointer in FS. 2024-09-01 02:22:42 -07:00
georgemoralis 723068049e
Merge pull request #702 from tGecko/improve-german-translation
Add/improve German translation
2024-09-01 12:09:05 +03:00
georgemoralis 1157e6e764
Merge pull request #699 from bigQY/zh_CN
update zh_CN translation
2024-09-01 12:08:52 +03:00
georgemoralis c9aa7c802d
Merge pull request #698 from Fejbien/patch-1
whitespace added, "patch" consistency Polish translation
2024-09-01 12:08:34 +03:00
georgemoralis 7b95b08a20
Merge pull request #700 from CrazyBloo/cheatsAtRuntime
only apply cheats at runtime
2024-09-01 12:08:14 +03:00
tGecko 6510083778 improve german translation 2024-09-01 10:33:46 +02:00
CrazyBloo 5b2779d548 only apply cheats at runtime 2024-09-01 01:44:51 -04:00
Fabian 946dec7df8
whitespace added, "patch" consistency 2024-09-01 01:00:24 +02:00
huss2342 7551f061ad
Added arabic translation (#693)
Some checks are pending
Reuse / reuse (push) Waiting to run
Clang Format / clang-format (push) Waiting to run
Linux-Qt / build (push) Waiting to run
Linux / build (push) Waiting to run
macOS-Qt / build (push) Waiting to run
macOS / build (push) Waiting to run
Windows-Qt / build (push) Waiting to run
Windows / build (push) Waiting to run
* added arabic translation

* added arabic translation
2024-09-01 01:01:14 +03:00
Mmpr87 0c90ab92da
Added Persian(Farsi) Translation (#689)
* Adding Persian(Farsi)Translation

* Update Copyright
2024-09-01 01:01:01 +03:00
georgemoralis 95d58b8b18
Merge pull request #695 from squidbus/mac-translations
ci: Remove translations folder from Windows/macOS upload.
2024-09-01 00:17:40 +03:00
georgemoralis 3abc7d6b43
Merge pull request #685 from squidbus/patch-fixes
core: Fix CPU patch stack issues
2024-08-31 23:43:26 +03:00
squidbus 95943e42ed ci: Remove translations folder from Windows upload. 2024-08-31 13:28:22 -07:00
squidbus 5aaab7f841 ci: Remove translations folder from macOS upload. 2024-08-31 13:12:59 -07:00
psucien 766c286d62 libraries: gnmdriver: sceGnmValidateCommandBuffers added 2024-08-31 22:01:08 +02:00
Xphalnos fb5c7c5062 Qt: Update Game List 2024-08-31 17:30:19 +02:00
bigqy 382f104369 update zh_CN translation 2024-08-31 22:48:59 +08:00
Exhigh ebfed28f6b savedata: Handle a missing case in saveDataMount
This should potentially fix the mount issue in Resistance : Retribution (CUSA32636)

Testing is welcome.
2024-08-31 08:21:23 +04:00
squidbus 61db246c5e core: Fix CPU patch stack issues 2024-08-30 20:47:07 -07:00
psucien 4182740384 Don't load sync2 ext if nv_checkpoints isn't used
Some checks are pending
Reuse / reuse (push) Waiting to run
Clang Format / clang-format (push) Waiting to run
Linux-Qt / build (push) Waiting to run
Linux / build (push) Waiting to run
macOS-Qt / build (push) Waiting to run
macOS / build (push) Waiting to run
Windows-Qt / build (push) Waiting to run
Windows / build (push) Waiting to run
2024-08-31 00:10:47 +02:00
psucien ca1613258f
video_core: added support for indirect draws (#678)
Some checks are pending
Reuse / reuse (push) Waiting to run
Clang Format / clang-format (push) Waiting to run
Linux-Qt / build (push) Waiting to run
Linux / build (push) Waiting to run
macOS-Qt / build (push) Waiting to run
macOS / build (push) Waiting to run
Windows-Qt / build (push) Waiting to run
Windows / build (push) Waiting to run
* video_core: added support for indirect draws

* barriers simplified
2024-08-30 22:59:56 +02:00
georgemoralis 3d375a28eb
Merge pull request #671 from Xphalnos/main
Reorganization of includes (Part 2)
2024-08-30 22:10:49 +03:00
jnack 69d4fecdfe
Allow graphics/compute shader list for skipping (#674)
* Allow graphics/compute shader list for skipping

* nintendo ultra 64 + formatting

* indentation..

* allow empty array in ShouldSkipShader

* simpler check for skip hashes
2024-08-30 21:51:20 +03:00