Commit Graph

3042 Commits

Author SHA1 Message Date
squidbus
96bee58d0f
ci: Fix macOS SDL build. (#2831) 2025-04-22 21:41:20 -07:00
squidbus
0297aee3f4
texture_cache: Relax mismatched image type from assert to cache miss. (#2830) 2025-04-22 15:03:43 -07:00
squidbus
5b0205bc59 fix: Texture cache image type assert. 2025-04-22 14:00:08 -07:00
Dmugetsu
cda421434b
Adding missmatch info to Texture cache assert (#2828) 2025-04-22 22:49:29 +03:00
Fire Cube
0c86c54d48
Implement SET_PC_B64 instruction (#2823)
* basic impl

* minor improvements

* clang

* more clang

* improvements requested by squidbus
2025-04-21 14:25:15 -07:00
Stephen Miller
5be726ca3b
Revert libSceGnmDriver initialization emulation (#2816)
Under normal circumstances, this mapping should only occur when libSceGnmDriver initializes. From what I can tell, this can be after game code starts running. Until there's a better way to accurately handle this, allocating this memory breaks some games.
This revert fixes the regression in games using the GFD engine.
2025-04-20 18:26:52 +03:00
kalaposfos13
69777e2ffa hotfix: clang-format 2025-04-19 17:19:40 +02:00
bigqy
111ff2bedd
Fixe: Updated the timing of setting text translation for the “Show label under icon” action in the toolbar to set the text after retranslateUi. (#2806) 2025-04-19 17:52:43 +03:00
Missake212
d188510e59
Discord logo fix on the README. (#2811)
* Fix the broken Discord logo on the README

* Update README.md

change the size to match better
2025-04-19 17:51:59 +03:00
georgemoralis
d0dbb737d9
New translations en_us.ts (Arabic) (#2810) 2025-04-19 17:51:43 +03:00
georgemoralis
e11ffe242b
Update team member on readme 2025-04-18 23:47:59 +03:00
Missake212
6e963a7f71
Changing the maximum amount of contributors on the README (#2804)
* Update README.md

* Update README.md
2025-04-18 23:42:48 +03:00
kalaposfos13
81ada41baa
NpAuth library stub (#2808)
* Add the NpAuth library

* clang

* you didn't see anything

* Add some random return to make games at least start using this library

* i'm once again asking for your continued ignorance of what i'm forgetting to not push

* debug logging

* apparently just this is still enough

* this isn't used but it still shouldn't be incorrect
2025-04-18 23:42:17 +03:00
Stephen Miller
0feb2e7211
Emulate memory behavior of libSceGnmDriver initialization (#2807)
* Emulate memory behavior of libSceGnmDriver _DT_INIT

Due to the unique way some games check for sceKernelAllocateDirectMemory failures, emulating this properly is necessary.

* Clang

* Fix address input for direct memory call

* Fix bug with DirectQueryAvailable

Missed this in my prior PR.

* DirectQueryAvailable fix

Fixes error cases to be more hardware accurate.
2025-04-18 23:41:33 +03:00
kalaposfos13
23c616c647
why was this hardcoded in this one specific place (#2809) 2025-04-18 23:41:13 +03:00
Stephen Miller
20b11f2d63
libkernel: Fix sceKernelAllocateDirectMemory and sceKernelAvailableDirectMemorySize (#2803)
* AllocateDirectMemory fixes

search_start and search_end were ignored in certain cases, this fixes that issue.
I've also basically rewritten the function in the process, since the lack of documentation made it difficult to make the proper adjustments.

* DirectQueryAvailable fixes

remaining_size was calculated incorrectly in cases where a free dmem_area had a base earlier than search_start, or an end after search_end.

* Reduce sceKernelGetDirectMemorySize log severity

By this point, we've confirmed that sceKernelGetDirectMemorySize is hardware-accurate. There's no reason to clog logs with this function, which games usually call before every sceKernelAllocateDirectMemory call.

* Clang

* Fix phys_addr_out

phys_addr_out should be equal to search_start in cases where search_start is greater than the dmem_area base.

* Dividing by zero is fun

Need to check for alignment when aligning things.

* Update memory.cpp

* Clang
2025-04-18 11:00:14 +03:00
squidbus
df89241eb8
vk_rasterizer: Improve viewport depth calculations. (#2799) 2025-04-17 13:04:48 -07:00
¥IGA
703620c7cd
[Windows] Adding Properties to the Executable (#2789) 2025-04-17 09:43:14 +03:00
georgemoralis
b1b7538afd
New Crowdin updates (#2785)
* New translations en_us.ts (Arabic)

* New translations en_us.ts (Italian)

* New translations en_us.ts (Arabic)

* New translations en_us.ts (Arabic)

* New translations en_us.ts (Arabic)
2025-04-17 09:42:26 +03:00
Dmugetsu
ddc05e8a5f
Implementing DS_SUB_U32, DS_INC_U32, DS_DEC_U32. (#2797)
* Implementing DS_SUB_U32, DS_INC_U32, DS_DEC_U32, DS_WRITE_SRC2_B32, DS_WRITE_SRC2_B64.

* Added ir instructions for new opcodes.
Removing Write implementations.
Maping operation S_BFE_I32 as it was added in translate but wasnt pointing to anything.

* Suggestions
2025-04-16 17:56:27 -07:00
squidbus
62a4182aca
shader_recompiler: Fill in IMAGE_GATHER4_* variants in table. (#2798) 2025-04-16 17:35:14 -07:00
Fire Cube
aa8dab5371
shader_recompiler: Implement S_SUBB_U32 instruction (#2796)
* add S_SUBB_U32 instruction

* add missing case

* move case to match enum
2025-04-16 14:24:18 -07:00
squidbus
ddf3df7f56 fix: clang-format 2025-04-16 10:48:17 -07:00
Missake212
243ee04b1c
Implement DS_READ2ST64_B64 (#2795) 2025-04-16 09:54:05 -07:00
squidbus
04e4ce0775 fix: Bad Intel drivers. 2025-04-16 09:52:18 -07:00
squidbus
52ab1ed04b
shader_recompiler: Implement S_FLBIT_I32_B32 and V_MUL_HI_I32. (#2793) 2025-04-16 18:08:09 +03:00
squidbus
3bc876ca78
renderer_vulkan: Improve handling of required vs optional extensions. (#2792)
* renderer_vulkan: Improve handling of required vs optional extensions.

* documents: Update quickstart Vulkan requirements.
2025-04-15 22:31:58 -07:00
squidbus
247e935353
externals: Update MoltenVK (#2791) 2025-04-15 17:13:19 -07:00
kalaposfos13
72f233486d Remove accidentally left in test values 2025-04-15 18:21:59 +02:00
kalaposfos13
38aaa2530f Revert "Fix for XInput controllers having a different ID range"
This reverts commit 858dda2bd0.
This is even worse than the previous version
2025-04-15 18:18:17 +02:00
kalaposfos13
b56fbe1440 Fix merge 2025-04-15 18:17:50 +02:00
kalaposfos13
8a1053544b Documentation 2025-04-15 17:35:23 +02:00
kalaposfos13
858dda2bd0 Fix for XInput controllers having a different ID range 2025-04-15 17:15:58 +02:00
kalaposfos13
781a2d0b8d clang 2025-04-15 15:39:04 +02:00
kalaposfos13
aa288d9141 Cleanup + initial code to set custom names for different players 2025-04-15 15:34:09 +02:00
kalaposfos13
edf14ac019 Make F4/F5 adding/removing controllers a full feature instead of an accidentally pushed debug tool 2025-04-15 15:27:22 +02:00
kalaposfos13
ce359b5b4d Make motion controls work with multiple controllers 2025-04-15 15:07:39 +02:00
kalaposfos13
fa27744588 Cleanup + add ability to connect/disconnect controllers at runtime 2025-04-15 14:32:27 +02:00
kalaposfos13
e92481770c clang 2025-04-15 12:26:38 +02:00
kalaposfos13
7d80d133eb More logging 2025-04-15 12:25:10 +02:00
kalaposfos13
c05a5223ca Stash 2025-04-15 12:25:10 +02:00
kalaposfos13
c9ece44207 really 2025-04-15 12:25:10 +02:00
kalaposfos13
a2264e9bd0 Cleanup 2025-04-15 12:25:10 +02:00
kalaposfos13
f04cdd7cc8 clang 2025-04-15 12:25:10 +02:00
kalaposfos13
303b4c4ce2 Correctly handle sceUserServiceGetLoginUserIdList
Used by CUSA02366
2025-04-15 12:25:10 +02:00
kalaposfos13
c1bb630dfd Make non-remappable inputs work 2025-04-15 12:25:10 +02:00
kalaposfos13
8cc101b3b0 clang 2025-04-15 12:25:10 +02:00
kalaposfos13
180a34808a Multiple controllers v0
Contains:
- replacing a whole lot of things that were just a global with a 4 long array global
- implementing sceUserServiceGetEvent to handle users connecting/disconnecting (only half done, currently you need to specify the number of players from config
- Even more shit added to remapping, this time a new field denoting the controller ID for the input or output (for inputs it only concerns gamepads, as those are the only ones that you can connect more than one of)
- reverts ngoquang's engine, as it's currently unused, and I didn't want to deal with yet another system that had to be updated
2025-04-15 12:25:09 +02:00
squidbus
4bea00135d
resource_tracking_pass: Add heuristic to detect incorrectly tracked buffer sharp. (#2786) 2025-04-14 20:58:49 -07:00
squidbus
683a223c1b
vk_rasterizer: Control mapped_ranges access with shared lock. (#2788) 2025-04-14 20:58:33 -07:00