oltolm
7f30e52fda
cmake: fix EGL and add USE_SYSTEM_CURL
2024-08-21 20:33:40 +03:00
kd-11
042a5481ca
Formatting
2024-08-21 16:16:28 +03:00
kd-11
4bb79b6c31
Rework aarch64 signal handling
2024-08-21 16:16:28 +03:00
Elad Ashkenazi
d6acdc77e0
Debugger/SPU: Implement SPU Disassembler
2024-08-21 13:32:45 +03:00
Elad Ashkenazi
7c898c3e4e
SPU: Improve some logging
2024-08-21 13:32:45 +03:00
kd-11
d0dbdb1ab5
Fix hang when compiling leaf blocks
2024-08-20 05:18:53 +03:00
kd-11
c2f5de1c55
Fix compiler warnings about unused args for aarch64
2024-08-20 05:18:53 +03:00
kd-11
fbcd8e32b8
Cleanup
2024-08-18 18:27:52 +03:00
kd-11
ca4fa1ac74
Use return-oriented trap approach
2024-08-18 18:27:52 +03:00
kd-11
fc415cf32a
Move to a assembler wrapper for injected asm to better handle dependencies
2024-08-18 18:27:52 +03:00
kd-11
2faa61ac31
Refactor aarch64 JIT code
2024-08-18 18:27:52 +03:00
Megamouse
fd6ebe2895
Qt/input: Don't report two direction trigger values unless actually requested
...
Fixes a bug where you could map LT- even if you weren't pressing ALT before.
2024-08-18 10:49:26 +02:00
Megamouse
08f81160cc
Input: Abbreviate some variable names and add min output interval
...
The abbreviation allows for easier diff between handlers.
2024-08-18 10:49:26 +02:00
Megamouse
9a071746ed
input: log send_output_report hid error
...
Maybe helps to figure out some issues
2024-08-18 10:49:26 +02:00
Elad Ashkenazi
bd5fd66408
SPU: Reduce some logging
2024-08-17 06:38:49 +03:00
Elad Ashkenazi
1bd4565186
Implement thread_ctrl::wait_until()
2024-08-17 06:38:49 +03:00
Megamouse
b2877365de
Qt: fix pad settings latency
...
Increase input timers back to 1000Hz. The DS4 lags if it's slower.
Decrease all pad UI update timers from 1000Hz to 100 Hz.
2024-08-16 09:06:42 +02:00
Elad Ashkenazi
981a1c56fb
SPU: Disable transfer locking for RSX addresses
2024-08-15 14:05:25 +03:00
Elad Ashkenazi
ce92341e75
SPU: Unlock RSX list transfers
2024-08-15 14:05:25 +03:00
Elad Ashkenazi
46ceeed10d
Debugger/PPU: Minor bugfix in CR register dump
2024-08-15 14:05:25 +03:00
Megamouse
dedda09560
Qt/patches: fix multi app version entry in patch creator
2024-08-15 09:35:58 +02:00
Megamouse
963e283db5
Qt/patches: Use YAML emitter to escape characters
2024-08-15 09:35:58 +02:00
Megamouse
b78d76e1bb
Qt/patches: allow to select text with the mouse
...
Lets you copy paste stuff
2024-08-15 09:35:58 +02:00
RipleyTom
50446e425d
evdev: don't warn on disabled motion device
2024-08-15 08:58:09 +03:00
Megamouse
72cd146665
Qt: vfs tool dialog
2024-08-15 00:45:48 +02:00
Megamouse
ce5ae56f67
Qt/patches: delete message boxes on close
2024-08-14 20:21:55 +02:00
Megamouse
76c0df849a
patches: improve error logging: add file paths to all errors
2024-08-14 20:21:55 +02:00
Megamouse
f64f0b2e33
Qt/patches: use show instead of exec
2024-08-14 20:21:55 +02:00
Megamouse
db102a5237
Qt/patches: uze const ref for YAML::Node params
2024-08-14 20:21:55 +02:00
Elad Ashkenazi
7f92d6003d
sceNp: Silence a few functions
2024-08-14 11:53:00 +03:00
Elad Ashkenazi
6fb05be9da
CELL: Remove performance hack for reservation
...
With the new notification method, we can remove this hack with micro-consequences. (though it comes with benefit of not breaking current reservations spuriously)
2024-08-14 11:53:00 +03:00
Elad Ashkenazi
d0ebba6c5e
CELL: New reservation notifications mechanism
2024-08-14 11:53:00 +03:00
Elad Ashkenazi
29b0298f1e
Fix sys_io thread deadlock
...
Co-Authored-By: Megamouse <23019877+Megamouse@users.noreply.github.com>
2024-08-14 08:56:40 +03:00
Megamouse
4d5897d519
keyboard: only map single buttons
...
key combos are not really supported at the moment
2024-08-13 20:58:04 +02:00
Megamouse
7bcaab4f3a
Remove unused using declaration
2024-08-13 20:14:30 +02:00
Megamouse
93c21103aa
xinput: allow to map triggers as positive or negative
2024-08-13 20:14:30 +02:00
kd-11
26a1a4418e
rsx: Fix crash when CPU blit is enabled
2024-08-13 19:23:47 +03:00
kd-11
0b62385ddb
aarch64/llvm: Handle processing of leaf nodes
2024-08-13 18:25:26 +03:00
Elad Ashkenazi
6535d461be
Fix vm::reservation_update
2024-08-13 10:56:33 +03:00
Elad Ashkenazi
3fa8994f4e
SPU: Fix "SPU Accurate Reservations" off
2024-08-13 10:56:33 +03:00
Megamouse
ff6a4bb72d
Qt/input: add shortcut for toggling emulated mouse and keyboard
2024-08-12 23:19:23 +02:00
Megamouse
ff84e7c6e2
Fix overflow warning
2024-08-12 21:04:10 +02:00
Megamouse
3716ba2ba2
Qt: refactor pad preview updates to reduce duplicate code
2024-08-12 21:04:10 +02:00
kd-11
c7b2a21fcb
Fix OpenGL behavior under wayland-egl
2024-08-12 04:55:26 +03:00
Ninetime
b0d07a75e5
Enable users to reject friend requests
2024-08-11 19:19:32 +03:00
Elad Ashkenazi
60b7448d8a
SPU LLVM: Enable PUTLLC16 if accurate reservations is off
2024-08-11 17:55:56 +03:00
Elad Ashkenazi
f980c59860
Do not add usage stats for unused SPU programs
2024-08-11 17:55:56 +03:00
Elad Ashkenazi
6c791541ee
SPU: Fix bug in GETLLAR
2024-08-11 17:55:56 +03:00
Megamouse
72cccb691c
Qt/input: update buttons at 100 hz instead of 1000 hz.
...
This reduces cpu usage without any noticeable drawback.
2024-08-11 00:56:07 +02:00
Megamouse
cb122819ae
evdev: try to fix first call behaviour
...
We don't have all the events in the first call to get_next_button_press.
So we have to set all the buttons to max on the first call.
We also have to make sure that we don't manipulate the values if we just
want to know the connection status.
2024-08-11 00:56:07 +02:00
Megamouse
0dfc622b58
Fix unused function warning
2024-08-11 00:56:07 +02:00
Ninetime
7d84d084a4
Enable user to change country code ( #15884 )
2024-08-10 22:33:38 +02:00
Megamouse
f2ef0966eb
input: add analog limiter
2024-08-10 12:07:57 +02:00
Megamouse
2806348f73
evdev: simplify get_next_button_press
2024-08-09 20:01:50 +02:00
Megamouse
b95aa7a28c
mmjoy: simplify get_next_button_press
2024-08-09 20:01:50 +02:00
Megamouse
961239ac8d
Qt/input: make touch_threshold a member
...
Maybe we need will need it for a different handler in the future
2024-08-09 20:01:50 +02:00
Megamouse
326375ad9a
Qt/input: clear min_button_values if we want to get the blacklist
2024-08-09 20:01:50 +02:00
Megamouse
16a6915525
Qt/input: ignore button press values unless they increase
2024-08-09 20:01:50 +02:00
Megamouse
28781d9bfb
Qt/input: move preview_values into callback
2024-08-09 20:01:50 +02:00
kd-11
3ef8046f5c
rsx: Fix fragment constants decoding for non-x86 platforms
2024-08-09 15:09:26 +03:00
Megamouse
03a612487d
cellGem: Only allow each button to be used for one action unless it's the combo button.
2024-08-08 22:34:20 +02:00
Megamouse
60b90075ac
input: ignore mouse handler events until initialized
...
And revert the now obsolete reload requests
2024-08-08 22:34:20 +02:00
Megamouse
bc23615508
Input: fix initial mouse config reload
2024-08-08 22:34:20 +02:00
Megamouse
548cc074f4
input: log all config file content if used
2024-08-08 22:34:20 +02:00
kd-11
1200bbe7cc
Address review comments
2024-08-08 13:40:07 +03:00
kd-11
fa7e0e4758
Do not include arm sources by default
2024-08-08 13:40:07 +03:00
kd-11
9d87e444ac
Clear hv context
2024-08-08 13:40:07 +03:00
kd-11
294bebb4a7
Fix SPU compilation
2024-08-08 13:40:07 +03:00
kd-11
140fddbba8
Initial SPU bringup
2024-08-08 13:40:07 +03:00
kd-11
bc1b0eb41b
Improve comments
2024-08-08 13:40:07 +03:00
kd-11
42d47b61a0
Fix dependency injection on terminators
2024-08-08 13:40:07 +03:00
kd-11
839a25e129
Bump scratch to 8k
2024-08-08 13:40:07 +03:00
kd-11
7979c5d9eb
Finalize PPU migration to the frame pass system
2024-08-08 13:40:07 +03:00
kd-11
cba658baba
Complete PPU support
2024-08-08 13:40:07 +03:00
kd-11
34549445a8
Migrate PPU to post-process execution model
2024-08-08 13:40:07 +03:00
kd-11
a976ac3353
jit: Add aarch64 JIT backend for pre-codegen transforms
2024-08-08 13:40:07 +03:00
kd-11
52c8b1ecbb
Silence compiler noise on non-x86 architectures
2024-08-08 13:40:07 +03:00
kd-11
56cc5d9355
Initial PPU LLVM implementation for aarch64
2024-08-08 13:40:07 +03:00
Megamouse
a5f9256ac6
cellMic: skip alcCaptureSamples loop if num_samples is 0
...
Also use early out instead of ensure in get_data
2024-08-08 01:39:43 +02:00
Megamouse
9505f8116b
cellMic: only allocate temp_buf if needed
2024-08-08 01:39:43 +02:00
Megamouse
a5bd22b0cf
cellMic: free temp_buf if on mic close
2024-08-08 01:39:43 +02:00
Megamouse
1b5ec785f5
cellMic: do not copy samples to intermediate buffer unless necessary
2024-08-08 01:39:43 +02:00
Megamouse
80e1b1adf4
cellMic: only call get_data once
2024-08-08 01:39:43 +02:00
Megamouse
6a6cd82070
cellMic: simplify BE translation loop
...
We are looping over each channel of each sample without gaps.
So we can just make it a single loop.
2024-08-08 01:39:43 +02:00
Megamouse
161edbf2f6
cellMic: make bit_resolution and channel_size constexpr
...
This allows us to optimize and inline variable_byteswap
2024-08-08 01:39:43 +02:00
Megamouse
667db0f2de
cellMic: remove duplicate code and add size checks
2024-08-08 01:39:43 +02:00
Megamouse
f09d22a00d
cellMic: check device ptr and log openal error codes
2024-08-08 01:39:43 +02:00
Joshua de Reeper
f1d4e500ba
sys_usbd: Default replies for Dimensions Color Commands
2024-08-06 20:42:28 +02:00
Megamouse
b5aac6d802
cellMic: fix type conversion warning
2024-08-06 00:42:24 +02:00
Megamouse
43c3a15a50
MSVC: Fix openal import warnings
...
Fixes warnings like: symbol 'alcGetString' defined in ... is imported by ...
2024-08-06 00:42:24 +02:00
Elad Ashkenazi
9f8d9c5d10
SPU LLVM: Revert store postponing restrictrictions
2024-08-05 19:36:26 +02:00
Megamouse
4084e6f584
Dimensions: default init figures
2024-08-05 16:07:55 +02:00
Megamouse
7fa2987bb9
Infinity: Early out instead of scope
2024-08-05 16:07:55 +02:00
Megamouse
09ead1b6ea
Dimensions: try to fix out of bounds array access
2024-08-05 16:07:55 +02:00
Megamouse
bc07b9e659
Dimensions improve locks (maybe)
2024-08-05 16:07:55 +02:00
Megamouse
5bd2fd3391
Dimensions: make some functions static
2024-08-05 16:07:55 +02:00
kd-11
4030193f31
Case-insensitive path compare for module verifier ( #15889 )
2024-08-04 15:46:08 +02:00
Megamouse
a1dcf1f717
Qt/trophies: allow to delete a game's trophy directory
2024-08-04 11:46:16 +02:00
Megamouse
f0ce40dff3
Qt/savedata: remove call with unreachable case
...
The function does an early out if the index is -1 anyway.
2024-08-04 11:46:16 +02:00
kd-11
f6b5511546
Improved wayland support
2024-08-04 02:59:03 +03:00
kd-11
3e7c1e207d
Add fallback CPU detection when llvm is not aware of the CPU model
2024-08-03 21:35:10 +03:00
future-figs
8f51b0907a
change PSMove mouse button bindings ( #15860 )
2024-08-02 23:59:51 +02:00
Megamouse
c4160a3887
Update MSVC redistributable URL
2024-08-02 21:40:30 +02:00
Megamouse
b76fd38854
Run platform sanity checks after creating the log and log windows path
2024-08-02 21:40:30 +02:00
Daniel López Guimaraes
9db68e7d39
cellMic: Handle value 0 on CELLMIC_DEVATTR_CHANVOL
...
If arg1 is zero, all channels of the device are affected.
2024-08-02 19:29:42 +02:00
Daniel López Guimaraes
ba3d16b48b
cellMic: Fix CELLMIC_DEVATTR_CHANVOL handling
...
The microphone index given in `arg1` is 1-indexed, so we have to
subtract 1 from the index to access the proper value.
This wasn't caught up before since we were doing direct access of the
array instead of using `::at32` which wouldn't check that the value is
within bounds.
This allows the original SingStar game to boot up again, as it would
otherwise crash then trying to set the volume to the second channel due
to the index being out of bounds.
2024-08-02 19:29:42 +02:00
Elad Ashkenazi
70502a698e
types.hpp: Format C arrays too for assert errors
2024-08-02 14:11:05 +03:00
kd-11
a323e753ff
gl: Fix hang on windows
2024-08-01 20:17:16 +03:00
Megamouse
e58ce626d5
Video Encode: do not set the frame_number
...
Fixes a deprecation warning, and it is supposed to be set by ffmpeg anyway.
2024-08-01 18:04:47 +02:00
Megamouse
106bf5145b
Fix ffmpeg deprecation warnings
2024-08-01 18:04:47 +02:00
Elad Ashkenazi
c5c51ec0c1
types.hpp: Add argument formatter to assert errors
2024-08-01 16:32:09 +03:00
kd-11
f64c912d02
gl: Fixes for asahi linux
2024-08-01 14:14:56 +03:00
Megamouse
7884bcc21d
Fix unused function warning
2024-08-01 02:44:01 +02:00
Megamouse
56b6b7e732
raw_mouse: Fix button map out of bounds access
...
- Reload the mouse config when the index changes.
- Clear the button map before reloading the config.
- Check if the button really is in the map.
2024-08-01 01:17:01 +02:00
Megamouse
30f49a61df
DS4/DualSense/SDL: add touchpad support
2024-07-31 08:45:25 +02:00
Joshua de Reeper
12fbff22b2
sys_usbd: Allow 'Moving' figure to same slot on Dimensions Toypad ( #15850 )
2024-07-29 17:50:20 +02:00
Elad Ashkenazi
02aac2c52e
sys_fs: Non-existant overflow bugfix
...
It would technically never overflow.. but this add minimal protection against adding beyond [PPU thread-count + entries count]
This does not induce an atomic loop which limits until entries.size() but is slower.
2024-07-28 12:36:42 +03:00
Elad Ashkenazi
faabb9e111
Add SPU usage for program dump
2024-07-28 12:36:42 +03:00
Elad Ashkenazi
91b4aaf9e1
PPU: Fix potential overflow
2024-07-28 12:36:42 +03:00
Elad Ashkenazi
700334753d
cellMic: Fix potential overflow
2024-07-28 12:36:42 +03:00
Elad Ashkenazi
d451c0867c
Remove welcome dialog shortcut
2024-07-28 12:36:42 +03:00
Daniel López Guimaraes
501e9260b2
cellMic: Wake up upon registering emulated SingStar microphone
...
When using the emulated SingStar microphone, the device is only
registered when initializing `cellMic`. However, the `mic_context`
thread is only woken up when calling `register_device`. The registration
happens before initializing `cellMic`, so the thread is never woken up
after registering the device.
Add call to `wake_up` in `load_config_and_init` inside the emulated
SingStar microphone specific code to fix this issue, allowing the thread
to detect the device and update the microphone data.
This allows SingStar to receive the microphone data when using the
emulated SingStar microphone that it previously wasn't receiving.
2024-07-26 09:44:00 +03:00
kd-11
27047bb3dc
vk: Fix VEGA float16 workaround
2024-07-25 14:23:36 +03:00
Megamouse
953af7589c
Paint icons into rpcn status circles
2024-07-24 09:21:15 +02:00
Megamouse
14dea78ddc
Add missing QPainter::end calls
2024-07-24 09:21:15 +02:00
Megamouse
5737ed3bce
Fix some msvc warnings
2024-07-24 09:21:15 +02:00
Megamouse
82de139be5
Qt: Fix resolution dropdown if resolution flags of game are empty
...
Fixes custom config creation error for games that have no resolution.
Fixes empty dropdowns if resolution flags are 0 by adding all resolutions.
Make sure to keep 720p as option if the dropdown would be empty after all.
2024-07-22 23:41:40 +02:00
Megamouse
c533dc969d
input: reload gui settings when the visibility or the active window changes
2024-07-22 22:44:42 +02:00
Megamouse
34506daff6
input: log used pad config
2024-07-22 22:44:42 +02:00
Silent
c0808448be
sceNp: Fix sending partial results from sceNpScoreRecordGameData
...
Fixes Ghost Data in Ridge Racer 7
2024-07-22 21:52:33 +02:00
Megamouse
f8a729f4b4
Improve dimensions dialog layout
2024-07-22 20:52:40 +02:00
Megamouse
c021165483
Disable stereo render combobox if other resolutions than 720p are selected
...
Also move to custom configuration
2024-07-22 19:49:28 +02:00
Megamouse
a21740f260
Rename resolutions to better convey irrelevance of aspect ratio
2024-07-22 19:49:28 +02:00
Pierrick Bouvier
3ab8922143
Fixed compilation
...
missing optional header (from commmit 500bf0f3f5 )
2024-07-21 08:43:12 +02:00
Megamouse
5dc7a6a815
Fix MSVC filters
2024-07-20 07:37:17 +03:00
Megamouse
e0fce6cc5b
Fix some warnings
2024-07-20 07:37:17 +03:00
Florin9doi
7fba56f27b
USB: Replace if/else with switch
2024-07-19 22:10:11 +02:00
Florin9doi
33d2b27b91
USB: Top Shot Fearmaster device emulation
2024-07-19 22:10:11 +02:00
Florin9doi
088b594fa8
USB: Top Shot Elite device emulation
2024-07-19 22:10:11 +02:00
Florin9doi
a1a38b7b39
USB: Move uDraw GameTablet config from IO to Pads
2024-07-19 22:10:11 +02:00
Joshua de Reeper
500bf0f3f5
sys_usbd: Emulate Dimensions Toypad
2024-07-19 20:29:19 +02:00
Elad Ashkenazi
a2534263fe
Savestates/PPU: Ensure correct PPU state on MMIO
2024-07-19 14:31:19 +03:00
Elad Ashkenazi
77e8f9a8ab
SPU: Utilize Operating System sleep in detected RCHCNT loop
2024-07-19 14:31:19 +03:00
Silent
f3ceebabd9
sceNp: Improve SceNpCommunicationId logging
2024-07-18 21:42:07 +03:00
Silent
9e094fded6
Do not set the data size in sceNpBasicGetEvent for SCE_NP_BASIC_EVENT_OFFLINE
...
There is no data associated with this event,
size is not supposed to be set.
2024-07-18 21:42:07 +03:00
RipleyTom
dd9b3c651f
Support old sceNpScoreRankData
2024-07-18 18:29:49 +02:00
oltolm
065a64371e
improve CMake files
...
Signed-off-by: oltolm <oleg.tolmatcev@gmail.com>
2024-07-13 15:39:29 +02:00
Megamouse
8236b58a29
cellGem: fix camera format conversions
...
Use interleaved RGBA format and get rid of BE/LE differences.
2024-07-08 23:11:03 +02:00
Megamouse
7ea64b53ad
Qt: Fix camera id and format when default is selected
2024-07-08 20:16:23 +02:00
Megamouse
441b324afe
Qt: Fix camera string comparison in settings_dialog
...
The id() contains a QByteArray, not a QString.
2024-07-08 20:16:23 +02:00