squidbus
905d49fd96
memory: Fixes for direct memory allocation. ( #615 )
...
* memory: Size direct memory based on requested flexible memory.
* memory: Guard against OrbisProcParam without an OrbisKernelMemParam.
* memory: Account for alignment in direct memory suitability checks and add more debugging.
2024-08-28 13:42:53 +03:00
georgemoralis
dcc4762c7e
Merge pull request #628 from squidbus/pkg-fix
...
crypto: Fix deallocation of key data while in use.
2024-08-28 13:42:01 +03:00
squidbus
4a6ce1e0d6
crypto: Fix deallocation of key data while in use.
2024-08-28 03:39:51 -07:00
georgemoralis
878fac7f94
Merge pull request #626 from InvoxiPlayGames/special-pad
...
pad: add support for configurable special pad class
2024-08-28 13:24:37 +03:00
squidbus
da966bedfd
kernel: Reimplement POSIX semaphores using std::counting_semaphore. ( #600 )
2024-08-28 13:13:33 +03:00
Vinicius Rangel
8192eaa668
video_core: re-enable culling ( #551 )
2024-08-28 13:11:55 +03:00
0xsegf4ult
9f4e55a8e7
shader_recompiler: constant propagation bitwise operations + S_CMPK_EQ_U32 fix ( #613 )
...
* rebase on main branch impl of V_LSHL_B64
* remove V_LSHR_B64
* fix S_CMPK_EQ_u32
* fix conflicts
* fix broken merge
* remove duplicate cases
* remove duplicate declaration
2024-08-28 13:10:21 +03:00
InvoxiPlayGames
9d59ea06c7
clang-format fix: scePadOpenExt
2024-08-28 11:10:20 +01:00
InvoxiPlayGames
550cf0188d
return proper error code for scePadOpen failure
2024-08-28 10:51:30 +01:00
InvoxiPlayGames
79e86a39fc
add support for configurable special pad type
2024-08-28 10:27:51 +01:00
Anton Kovalev
dfb30ea955
Use pair of spans instead of references in copy command buffers function
2024-08-28 11:24:15 +02:00
Random
c37679154e
Handle PM4 type-2 packets ( #556 )
...
* video_core: handle PM4 type-2 packets
* video_core: rewrite pm4 comand type handling into a switch statement
2024-08-28 09:53:27 +02:00
Anton Kovalev
87ccfdfbbd
Fixed type on function
2024-08-28 09:42:31 +02:00
Exhigh
ed42db47af
savedata: Add another missed case in saveDataMount
...
This should potentially fix Deadpool (CUSA03528) #554 .
2024-08-28 08:52:20 +04:00
Anton Kovalev
1a02efbd15
clang-format style fix
2024-08-28 05:42:48 +02:00
georgemoralis
e4254ebdaa
Merge pull request #605 from SolidStateDj/add-toggle-fullscreen
...
Add a toggle fullscreen button
2024-08-28 06:32:21 +03:00
Semenov Herman
860b935054
crypto: added destructors fix memleak FakeKeyset, DebugRifKeyset, PkgDerivedKey3Keyset
2024-08-28 01:32:14 +03:00
Anton Kovalev
3842993a43
Use input dcb and ccb instead of copy
2024-08-28 00:21:12 +02:00
Anton Kovalev
3d46a5d492
Do not shrink buffer's size on submit
2024-08-27 23:33:24 +02:00
Anton Kovalev
595b845df0
clang-format fix
2024-08-27 23:31:04 +02:00
Anton Kovalev
659e7a4675
video_core: Added copyGPUCmdBuffers option
2024-08-27 23:16:14 +02:00
psucien
3eb47226d9
libraries: kernel: fix `scePthreadMutexattrSettype` error value return
2024-08-27 22:25:46 +02:00
psucien
371d1d009a
Added missing headers and 2D MSAA image type
2024-08-27 19:17:23 +02:00
Lizardy
59b651be07
[Libs] Error Codes ( #612 )
...
* ngs2: all errors w/ official names
* ajm errors
* gnm errors
* random errors
* clang
* random error
* linux
---------
Co-authored-by: microsoftv <6063922+microsoftv@users.noreply.github.com>
2024-08-27 15:53:38 +03:00
Grégoire Hage
288db9a0cf
Implement V_LSHL_B64 ( #608 )
2024-08-27 14:15:32 +03:00
Vladislav Mikhalin
2d354a095a
AvPlayer: Handle Initialization errors
2024-08-27 09:32:42 +03:00
SolidStateDj
7ecc1d3be0
Add a toggle fullscreen button
...
Assigns F11 as the key for toggling fullscreen.
2024-08-26 18:27:31 -04:00
psucien
af4356bfe1
shader_recompiler: fix for pattern detection in `TryDisableAnisoLod0`
...
Also fix for forgotten log message params.
2024-08-26 23:49:36 +02:00
psucien
3e94b533b6
libraries: kernel: skip for protection op; processing logic fixes ( #602 )
2024-08-26 23:14:22 +02:00
Exhigh
7c7d04133e
savedata: Handle another missed case in saveDataMount
...
This should potentially fix (CUSA01019) - The Walking Dead: The Complete First Season.
2024-08-26 19:34:35 +04:00
Plínio Larrubia
ad8373095a
fix typo in LOG_INFO ( #559 )
...
fix: file name typo constant_propogation_pass.cpp
fix typo from 'symbol_vitrual_addr' variable
fix typo in emit_spirv_context_get_set.cpp
fix typo from constant_propagation_pass.cpp in CMakeLists
fix typo in these some config.cpp functions
- setSliderPosition
- setSliderPositionGrid
- getSliderPosition
- getSliderPositionGrid
fix typo inside src\core\aerolib\stubs.cpp
fix typo in a comment from src\core\file_format\pkg.cpp
fix typo inside src\core\file_sys\fs.cpp + fs.h
- NeedsCaseInsensiveSearch -> NeedsCaseInsensitiveSearch
fix 2 function typos: sceAppContentAddcontEnqueueDownloadByEntitlemetId and sceAppContentAddcontMountByEntitlemetId
fix typo on comment inside src\core\libraries\kernel\file_system.cpp
fix typo on src\core\libraries\videoout\driver.cpp
fix typo in src\core\memory.cpp
fix typo from comment in src\qt_gui\game_list_utils.h
fix typo in src\video_core\amdgpu\liverpool.h
- window_offset_disble to window_offset_disable
fix typo from comments in src\video_core\host_shaders\detile_m32x1.comp + detile_m32x2.comp
- subotimal -> suboptimal
fix typo from comment in src\video_core\renderer_vulkan\renderer_vulkan.cpp
- dimentions -> dimensions
fix typo from enum in src\common\debug.h and other files
- MarkersPallete -> MarkersPalette
fix last typo in src\video_core\amdgpu\pm4_opcodes.h
- PremableCntl -> PreambleCntl
2024-08-26 15:22:11 +03:00
Lizardy
aae6e5be73
shader_recompiler: BUFFER_ATOMIC_SWAP Opcode ( #566 )
...
* shader_recompiler: BUFFER_ATOMIC_SWAP Opcode
* clang
* follow 32 convention
---------
Co-authored-by: microsoftv <6063922+microsoftv@users.noreply.github.com>
2024-08-26 15:21:20 +03:00
Batu
cd6b5abccf
added tr language support ( #587 )
2024-08-26 13:20:53 +03:00
Plínio Larrubia
6520f3ca17
feat: add pt_BR translation ( #584 )
...
* feat: add pt_BR translation
- Made by @LeDragoX
- Revised by @gabsF
* fix: change translation string 'Mostrar Tela Inicial' to 'Mostrar Splash Inicial'
2024-08-26 13:20:40 +03:00
Cristóbal Martí Méndez
d3b6b17c75
Add spanish translation ( #583 )
...
* Add spanish transalation
* Update es_ES.ts
2024-08-26 13:20:26 +03:00
Marcin Mitura
0b5616c493
Polish localization ( #580 )
...
Initial polish localization for shadPS4
2024-08-26 13:20:12 +03:00
georgemoralis
3627393707
Merge pull request #593 from shadps4-emu/fix/better_timings
...
libraries: kernel: fix for inaccurate `sceKernelGetProcessTime`
2024-08-26 10:56:54 +03:00
nishinji
6e340bcdc1
Fix ja_JP.ts ( #594 )
...
* Fix ja_JP.ts
* a
2024-08-26 10:56:11 +03:00
psucien
78e24852f8
libraries: kernel: fix for inaccurate `sceKernelGetProcessTime`
2024-08-26 08:54:38 +02:00
georgemoralis
7f6d08a3c8
Merge pull request #589 from greggameplayer/feature/TBUFFER_STORE_FORMAT_XY
...
Implement missing TBUFFER_STORE_FORMAT_XY
2024-08-26 09:40:40 +03:00
nishinji
7aa8cf992f
Add Japanese translation ( #591 )
2024-08-26 09:39:49 +03:00
¥IGA
e16aa2a012
Update French tranlations ( #592 )
2024-08-26 09:39:24 +03:00
greggameplayer
86870e7c8d
Implement TBUFFER_STORE_FORMAT_XY
2024-08-26 03:39:38 +02:00
Daniel R.
fae0c0ae85
core/kernel: Miscellaneous memory fixes ( #557 )
...
* core/libraries/kernel: Fix inaccurate direct memory size
* core/memory: Fix available dmem query on non-free dmem areas
* core/kernel: return ENOMEM if memory area size is zero
* core/kernel: Fix returns on `sceKernelAvailableDirectMemorySize`
* core/memory: Remove unneeded size alignment
2024-08-26 04:14:21 +03:00
Yury
5d7407dc7d
Add ru translation ( #579 )
2024-08-26 03:22:30 +03:00
bigol83
bcc3a10557
Add Italian translation ( #585 )
...
* Update it.ts
* Update it.ts
2024-08-26 03:22:07 +03:00
psucien
6fd4264b5d
video_core: vk_rasterizer: fix for crash on markers with nullGpu
2024-08-25 22:24:10 +02:00
DanielSvoboda
2a737d0800
V_NOP | PfpSyncMe | S_CMPK_EQ_U32 ( #426 )
...
* V_NOP
V_NOP = Do nothing
* PfpSyncMe
PfpSyncMe ensures that all previous commands are completed before continuing.
'break' should be enough for now
* S_CMPK_EQ_U32
S_CMPK_EQ_U32
SCC = (D.u == SIMM16)
* S_CMPK_EQ_U32
* OperandField::Undefined:
* Update translate.cpp
remove OperandField::Undefined:
* Update image_view.cpp
[Render.Vulkan] <Error> image_view.cpp:ImageViewInfo:109: Storage image (num_comps = 4) requires swizzling [BGRA]
format 43 dst_sel 3886
* Update liverpool_to_vk.cpp
* S_CMPK_EQ_U32
* S_CMPK_EQ_U32
2024-08-25 22:07:46 +02:00
psucien
b687ae5e34
GnmDriver: Clear context support ( #567 )
...
* gnmdriver: added support for gpu context reset
* shader_recompiler: minor validation fixes
* shader_recompiler: added `V_CMPX_GT_I32`
* shader_recompiler: fix for crash on inline sampler access
* compilation warnings and dead code elimination
* amdgpu: fix for registers addressing
* libraries: videoout: reduce logging pressure
* shader_recompiler: fix for devergence scope detection
2024-08-25 23:01:05 +03:00
¥IGA
e603165e2b
Implement French translation
2024-08-25 13:31:45 +03:00
Dzmitry Dubrova
3f445eca40
gui: Implement gui translations
2024-08-25 12:17:54 +03:00
TheTurtle
c79b10edc1
video_core: Bloodborne stabilization pt1 ( #543 )
...
* shader_recompiler: Writelane elimination pass + null image fix
* spirv: Implement image derivatives
* texture_cache: Reduce page bit size
* clang format
* slot_vector: Back to debug assert
* vk_graphics_pipeline: Handle null tsharp
* spirv: Revert some change
* vk_instance: Support primitive restart on list topology
* page_manager: Adjust windows exception handler
* clang format
* Remove subres tracking
* Will be done separately
2024-08-24 22:51:47 +03:00
Vinicius Rangel
9e4fc17e6c
shader_recompiler: handle fetch shader address offsets ( #538 )
...
* shader_recompiler: handle fetch shader address offsets
parse index & offset sgpr from fetch shader and propagate them to vkBindVertexBuffers
* shader_recompiler: fix fetch_shader when offset is not present
* video_core: propagate index/offset SGPRs to vkCmdDraw instead of offsetting the buffer address
* video_core: add vertex_offset to non-indexed draw calls
renamed fetch offset fields
2024-08-24 17:36:40 +02:00
georgemoralis
208575d392
Merge pull request #560 from vladmikhalin/avplayer-and-texture-cache-fixes
...
Fixed video dimensions alignment and image cache
2024-08-24 17:24:36 +03:00
georgemoralis
8b0fd59149
Merge pull request #558 from Exhigh/savedata-fix-2
...
savedata: Add another missing case to saveDataMount
2024-08-24 17:14:10 +03:00
Vladislav Mikhalin
41dec15869
Fixed video dimensions alignment and image cache
2024-08-24 16:59:30 +03:00
Exhigh
6a84f6e188
savedata: Add another missing case to saveDataMount
...
This helps Five Nights at Freddy's: Sister Location (CUSA17983) boot and is playable.
Fixes issue #554
2024-08-24 17:48:39 +04:00
Herman Semenov
243fd0be78
core,shader_recompiler: align structures for 64-bit platforms ( #447 )
...
Decreased sizes:
* TextureDefinition 32 bytes -> 24 bytes
* PortOut 72 bytes -> 64 bytes
* Request 48 bytes -> 40 bytes
* WindowSystemInfo 32 bytes -> 24 bytes
2024-08-24 16:18:12 +03:00
Random
fc745ee767
Fix a few issues with the intel anv vulkan driver from mesa ( #514 )
...
* add fallback format for d16UnormS8Uint which is not supported by intel
* fix depth/stencil buffer creation issues causing asserts in intel driver
2024-08-24 14:50:46 +02:00
psucien
2c540fbecb
Merge pull request #497 from xezrunner/xezrunner/cfg-msb-fix
...
shader_recompiler: fix BranchTarget sign flip for sopp.simm
2024-08-24 11:39:10 +02:00
georgemoralis
9852f95c58
Merge pull request #547 from GermanAizek/fix2
...
Fixed invalid set public exponent Crypto::DebugRifKeyset_init()
2024-08-23 22:41:15 +03:00
¥IGA
0c5b91e1fb
Warnings fixes ( #541 )
...
* Warnings fixes
* Warnings fixes
2024-08-23 22:38:55 +03:00
Herman Semenov
a0774c0e87
Fixed invalid set public exponent Crypto::DebugRifKeyset_init()
2024-08-23 22:04:55 +03:00
Exhigh
6545b09b74
savedata: Handle missed case in saveDataMount
...
This should help P5D get past the intro.
P.S: The game requires Fiber and USBD modules to boot.
2024-08-23 16:27:03 +04:00
georgemoralis
bce3a9c9e7
Merge pull request #530 from Xphalnos/main
...
Lot of small fixes
2024-08-22 21:54:20 +03:00
georgemoralis
3e8d7c2040
possible R2/L2 fix
2024-08-22 19:43:45 +03:00
Xphalnos
d4be3dbb31
Lot of small fixes
2024-08-22 18:01:30 +02:00
georgemoralis
83bcced16c
Merge pull request #502 from Borchev/ROMappedFileWorkaround
...
Workaround for readonly memory mapping of files issue
2024-08-22 13:49:19 +03:00
georgemoralis
12a65e3fb8
LLE libc removal
2024-08-22 11:24:31 +03:00
georgemoralis
834a25fa2b
Merge pull request #521 from GermanAizek/fix
...
Added const reference params if possible, removed less 16 size
2024-08-22 10:18:02 +03:00
Herman Semenov
aed9a737d6
Added const reference params if possible, removed less 16 size
2024-08-22 02:56:01 +03:00
Aiden Turner
ca4b520272
Added logging for debugging configs ( #518 )
...
* added logging for config file
* forgot a setting
* fixed bloated settings logging.
* fixed compile error
2024-08-22 01:52:08 +03:00
Vladislav Mikhalin
79680c50c0
Misc fixes ( #517 )
...
* Misc fixes
* Removed the skip for draw calls without RTs
* Remove Srgb image stores to rework later
2024-08-21 23:54:23 +03:00
georgemoralis
132ca9c5a8
Merge pull request #506 from squidbus/macos-translocation
...
Untranslocate app bundle path if needed on macOS.
2024-08-21 18:13:08 +03:00
georgemoralis
3426ad8cc0
Merge pull request #511 from dima-xd/sample
...
avplayer: Fix data returned by sceAvPlayerGetAudioData
2024-08-21 16:53:01 +03:00
Dzmitry Dubrova
6d0d2eaa59
avplayer: Fix sceAvPlayerGetAudioData
2024-08-21 14:37:34 +03:00
squidbus
9275b0966e
Untranslocate app bundle path if needed on macOS.
2024-08-21 03:06:10 -07:00
Borchev
fc300b5265
Fix unmapping bug
2024-08-20 20:07:32 -07:00
Borchev
6596fe091c
Workaround for readonly memory mapping of files issue
2024-08-20 16:10:38 -07:00
TheTurtle
3f9c86ad33
vk_pipeline_cache: Avoid recompiling new shaders on each new PL ( #480 )
...
* cfg: Add one more divergence case
* Seen in RDR shaders
* renderer_vulkan: Reduce number of compiled shaders
* vk_pipeline_cache: Remove some unnecessary checks
2024-08-21 02:00:24 +03:00
Lizardy
32cb3649d3
rtc errors ( #485 )
...
* rtc errors
* add system libs to cmakelists
* this.[func]
* fix errors
* declaration
* log handle addr
* missed
---------
Co-authored-by: microsoftv <6063922+microsoftv@users.noreply.github.com>
2024-08-21 00:47:17 +03:00
xezrunner
42c4d8353a
Fix control.sopp.simm flipping sign in CFG label generation
...
This used to cause a fatal crash that would prevent Amplitude [CUSA02480] from booting beyond initialization.
A conditional true label would get an address starting with 0xffff...., which wasn't realistic with the given shader.
The multiplication by 4 causes the value to have its MSB set due to the smaller type.
2024-08-20 22:48:28 +02:00
kotn3l
c60bfbe2a5
Set game window size based on the config (in windowed mode) ( #481 )
...
* Set windowed mode size based on config
* fix formatting oops
* emulator.cpp clang format fix (hopefully?)
* formatting fix for real
2024-08-20 15:39:56 +03:00
georgemoralis
95c89ca6a9
Merge pull request #375 from notgonnaleo/main
...
qt_gui: Added feature to toggle (show/hide) game list view
2024-08-20 11:47:00 +03:00
georgemoralis
8d90e6d997
Merge pull request #475 from bax-cz/main
...
PlayGo: basic implementation, credits to red-prig
2024-08-20 11:43:37 +03:00
bax-cz
0b3356bd1a
linux build fix
2024-08-20 09:28:07 +02:00
bax-cz
8f7b3c2e8c
clang: fixed formatting
2024-08-19 20:40:23 +02:00
Random
09da94b7b2
fix gcc compilation error in vk_graphics_pipeline.cpp ( #477 )
...
gcc fails to infer the type of the two parts of a ternary expression whose types are different but both contain an implicit cast operator to the same type
2024-08-19 18:45:42 +03:00
¥IGA
9d45b99171
Adding icons to categories ( #479 )
2024-08-19 18:42:23 +03:00
Dzmitry Dubrova
1f416134e7
Add messages to asserts ( #476 )
2024-08-19 15:29:13 +03:00
bax-cz
516a3e7104
PlayGo: basic implementation, credits to red-prig
2024-08-19 13:14:14 +02:00
Lizardy
138c9ce787
[WIP] libSceNgs2 ( #439 )
...
* init ngs2
* clang
* ngs2 HLE for missing LLE
* clang
* clang
* orbis ngs2 error codes
* resolve, error codes, ngs2_impl
* clang
* clang
* mac atomic
* clang
* mac
* clang
---------
Co-authored-by: microsoftv <6063922+microsoftv@users.noreply.github.com>
2024-08-19 10:03:05 +03:00
DanielSvoboda
d5e978c6f2
Copy submenu
2024-08-19 01:25:15 -03:00
georgemoralis
09b71a9a3f
Merge pull request #466 from DanielSvoboda/alphabetical-order-console-language
...
Alphabetical order console language
2024-08-18 23:37:34 +03:00
DanielSvoboda
c58ad6d3b5
alphabetical order console language
2024-08-18 17:24:41 -03:00
DanielSvoboda
c9a502b31a
alphabetical order console language
2024-08-18 17:24:35 -03:00
georgemoralis
5551c61000
Merge pull request #463 from Xphalnos/main
...
Misc changes
2024-08-18 22:26:53 +03:00
DanielSvoboda
ed96a9fb8e
alphabetical order console language
2024-08-18 16:15:06 -03:00
DanielSvoboda
5891900c6e
alphabetical order console language
2024-08-18 16:04:48 -03:00
Vladislav Mikhalin
1c898d0842
Fix stencil buffer not being used ( #464 )
2024-08-18 20:37:29 +03:00