Commit Graph

1900 Commits

Author SHA1 Message Date
Lander Gallastegi
0477f74dcd clang-format 2024-10-10 17:43:13 +02:00
Lander Gallastegi
67dc476331 Accept dialog on enter press 2024-10-10 17:40:38 +02:00
Lander Gallastegi
0d9de08194 Use CString 2024-10-10 17:20:57 +02:00
Lander Gallastegi
4e2f16351a Use std::vector for dynamic strings 2024-10-10 16:35:57 +02:00
Lander Gallastegi
dfce461908 Some review changes 2024-10-10 15:37:33 +02:00
Lander Gallastegi
6b65022bde clang-format (again) 2024-10-09 17:55:34 +02:00
Lander Gallastegi
440fe66cbd Fix default text encoding max size 2024-10-09 17:51:55 +02:00
Lander Gallastegi
be039a97e2 clang-format 2024-10-06 16:40:39 +02:00
Lander Gallastegi
142e42c5bd Enable reserved checks 2024-10-06 16:38:03 +02:00
Lander Gallastegi
423852e997 Some fixes and cleanup 2024-10-06 16:12:05 +02:00
Lander Gallastegi
a6e4745421 clang-format 2024-10-06 14:38:21 +02:00
Lander Gallastegi
fa3d4b06aa Better UI 2024-10-06 14:35:36 +02:00
Lander Gallastegi
c1195fdb2b Fix building on windows 2024-10-06 13:45:21 +02:00
Lander Gallastegi
992ead2de5 Link against iconv on macOS 2024-10-06 12:42:07 +02:00
Lander Gallastegi
9816d33116
Merge branch 'shadps4-emu:main' into ime 2024-10-06 12:15:25 +02:00
fireph
351e4861ca
Working touchpad support (#1257)
* Working touchpad support

Tested on PS5 controller plugged in via USB.

* fix lint
2024-10-06 13:00:35 +03:00
Lander Gallastegi
c10a06422f Functional implementation 2024-10-06 01:34:38 +02:00
nishinji
2fd4861d3e
CI: Build outside the main branch (#1239) 2024-10-06 02:26:19 +03:00
squidbus
60092ce849
vulkan: Use view of null buffer for texel buffers if nullDescriptor not supported. (#1231) 2024-10-06 02:25:12 +03:00
squidbus
2a7d56dbf2
shader_recompiler: Remove outdated image array warning. (#1256) 2024-10-06 01:42:58 +03:00
psucien
927bb0c175
Initial support of Geometry shaders (#1244)
* video_core: initial GS support

* fix for components mapping; missing prim type
2024-10-06 01:26:50 +03:00
squidbus
5bb45dc7ba
vulkan: Respect maximum sampler LOD bias. (#1254) 2024-10-06 01:05:24 +03:00
squidbus
8576d5e72c
shader_recompiler: Set array size to max UBO size when 0. (#1251)
* shader_recompiler: Set array size to max UBO size when 0.

* vulkan: Account for fallbacks when setting depth attachment format.
2024-10-05 22:31:52 +03:00
squidbus
ee57c2fd69
vulkan: Fix two more validation errors. (#1250) 2024-10-05 21:35:02 +03:00
¥IGA
1dabea7514
Fix a Qt warning (#1249) 2024-10-05 21:34:53 +03:00
ElBread3
2b8c2ce423
Fix list sorting for some categories (#1242)
* fix list sorting for serial, firmware version, and game size

* bad apple!!

* qol
2024-10-05 21:34:38 +03:00
Lander Gallastegi
de06bd38a5
Merge branch 'shadps4-emu:main' into ime 2024-10-04 18:53:03 +02:00
Lander Gallastegi
cda002e0fd Scoped lock 2024-10-04 18:36:41 +02:00
Lander Gallastegi
b95576f6e3 UI implementation 2024-10-04 18:16:04 +02:00
Lander Gallastegi
ca855e3295 Compile Ime Dialog UI 2024-10-04 18:15:01 +02:00
Vinicius Rangel
a5968b630d
imgui: fix blocking keyboard at startup (#1237)
* imgui: dont capture any input without an active nav window

fix keyboard not being available as soon as the emulator opens

* imgui: cleanup renderer assigning unnecessary sType to vulkan structures
2024-10-04 19:06:08 +03:00
Mahmoud Adel
76644a0169
add Opcodes to switch case (#1233)
* add Opcodes to switch case

Added Opcodes to switch case, they were done here but weren't added to switch 9f79764b01 (diff-9a6c2e2027c03231e88aaaab30908baecae202661839f35c31a777fec2500c7aR659)

* clang
2024-10-04 11:24:45 +03:00
tGecko
ec6579cb4f
Hide cursor on key/button press (#1211) 2024-10-04 08:49:18 +02:00
korenkonder
9f79764b01
Add various V_CVT opcodes (#1223) 2024-10-04 08:48:05 +02:00
squidbus
be411b37d4
vulkan: Fix dynamic vertex binding stride validation errors. (#1229) 2024-10-04 07:51:08 +03:00
Vinicius Rangel
49ceff71a2
Devtools fixes1 (#1228)
* imgui: fix nav with dock & fps display disabled by default

* devtools: change basic fps scale

* imgui: scale font with display dpi
2024-10-04 06:44:36 +03:00
korenkonder
da519f9091
Moved opcode to it's proper location (#1221) 2024-10-03 22:47:26 +02:00
Vinicius Rangel
af398e3684
Devtools: PM4 Explorer (#1094)
* Devtools: Pause system

* Devtools: pm4 viewer

- new menu bar
- refactored video_info layer
- dump & inspect pm4 packets
- removed dumpPM4 config
- renamed System to DebugState
- add docking space
- simple video info constrained to window size

* Devtools: pm4 viewer - add combo to select the queue

* Devtools: pm4 viewer - add hex editor

* Devtools: pm4 viewer - dump current cmd

* add monospaced font to devtools

* Devtools: pm4 viewer - use spec op name

avoid some allocations
2024-10-03 22:43:23 +02:00
¥IGA
009f956d8d
imgui: Makes the window edges rounded (#1143) 2024-10-03 19:28:41 +02:00
ElBread3
ff13aff862
video_core: IMAGEGATHER4_C_O (#1210) 2024-10-03 18:48:54 +02:00
dbz400
54dafce541
Add V_CVT_F64_I32 (#1219) 2024-10-03 18:48:28 +02:00
Daniel R.
5e26294e27
video_core: disable warnings on vulkan 2024-10-03 16:57:33 +02:00
georgemoralis
ed24632ceb
Fix some network,npmanager issues (#1215)
* improved np toolkit callbacks

* added ExecuteGuest in callback

* clang format
2024-10-03 14:03:26 +03:00
squidbus
7209b7d786
shader_recompiler: Shader param fixups (#1199) 2024-10-03 10:50:51 +03:00
squidbus
1a34c2a189
core: Fix some missing uses of ExecuteGuest. (#1214) 2024-10-03 08:38:24 +03:00
squidbus
388d717205
audio_core: Fix return value types and shift some error handling to library. (#1212) 2024-10-03 07:01:39 +03:00
Lander Gallastegi
cc784d9f47 State base 2024-10-03 00:01:32 +02:00
Lander Gallastegi
5e233069ff Types update 2024-10-03 00:01:13 +02:00
Mikasa-san
7e533ccf50
Refactor audio handling with range checks, buffer threshold, and lock… (#1200)
* Refactor audio handling with range checks, buffer threshold, and lock fixes

- Added range checks for handle to avoid invalid index access in AudioOutOutput, AudioOutSetVolume, and AudioOutGetStatus.
- Added a constant AUDIO_STREAM_BUFFER_THRESHOLD for the buffer threshold (was previously a magic number).
- Set the freq parameter correctly in the SDL_AudioSpec structure in AudioOutOpen.
- Fixed locking issues in AudioOutOutput to avoid unlocking before it's locked.

* Refactor audio handling with range checks, buffer threshold, and lock fixes

- Added range checks for handle to avoid invalid index access in AudioOutOutput, AudioOutSetVolume, and AudioOutGetStatus.

- Added a constant AUDIO_STREAM_BUFFER_THRESHOLD for the buffer threshold (was previously a magic number).

- Set the freq parameter correctly in the SDL_AudioSpec structure in AudioOutOpen.

- Fixed locking issues in AudioOutOutput to avoid unlocking before it's locked.

- Removed tab spaces to fix format clang error
2024-10-02 18:34:16 +03:00
tGecko
93317911eb
fix music playing when it shouldn't (#1203) 2024-10-02 18:33:36 +03:00