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
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
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
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
Megamouse
106bf5145b
Fix ffmpeg deprecation warnings
2024-08-01 18:04:47 +02: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
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
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
Silent
c0808448be
sceNp: Fix sending partial results from sceNpScoreRecordGameData
...
Fixes Ghost Data in Ridge Racer 7
2024-07-22 21:52:33 +02:00
Pierrick Bouvier
3ab8922143
Fixed compilation
...
missing optional header (from commmit 500bf0f3f5 )
2024-07-21 08:43:12 +02: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
Elad Ashkenazi
669ce1faca
Fixup compilation
...
And reduce limit for PUTLLC16 block scan
2024-07-08 10:06:56 +03:00