Megamouse
c727795881
input: clamp 0-1 in NormalizeDirectedInput
...
If you called this function with a value smaller than threshold, you
would get an overflow. This never happened, because we always passed
values bigger than threshold. Let's better fix this anyway.
2023-08-26 14:40:56 +02:00
Megamouse
f4c2b4cc7e
GHLtar: fix guitar tilt
...
fixes #14454 🤦
2023-08-25 23:27:15 +02:00
Dark
bf8621c921
Update rpcs3/Emu/Io/RB3MidiKeyboard.cpp
...
Co-authored-by: Megamouse <studienricky89@googlemail.com>
2023-08-25 21:13:06 +02:00
Dark
8bd9a52de3
RB3MidiKeyboard.cpp: fix some note off messages being processed incorrectly
...
Some keyboards send a note on message with zero velocity instead of a
note off. As the MIDI spec permits this, it needs to be handled here.
2023-08-25 21:13:06 +02:00
Eladash
eb61ae37ae
rsx: Optimize RET returning to following CALL
2023-08-25 20:36:39 +03:00
Eladash
82c5c4d285
PPU Analyzer: Analyze whole segment 0 when patches are applied
...
Improve greedy instruction search.
2023-08-25 12:52:02 +03:00
Eladash
68c70dd1b9
Savestates: Fix config_event_entry compatibility
2023-08-25 12:52:02 +03:00
Eladash
5fde96d563
rsx: Discard color mask writes with reserved bits
2023-08-25 05:41:54 +03:00
Megamouse
8772219492
Remove unused variable in PPUThread.cpp
2023-08-23 21:42:59 +02:00
Megamouse
6b7f4cbe17
cellPad: remove unused variables
2023-08-23 21:42:59 +02:00
Megamouse
d8af3ea855
overlays: fix some warnings, simplify code, use move and references
2023-08-23 21:42:59 +02:00
Eladash
4794869bd8
sceNpDrm: Slow down sceNpDrmIsAvailable
2023-08-23 10:14:29 +03:00
Eladash
4462b7be5c
cellGame: Make cellGameDataCheck slower
...
* Turns out cellGameBootCheck is actually quite fast.
* cellGameDataCheck is incredibly slow, slower for DISC type.
* Set 0 sizeKB for when RET_NONE is about to be returned.
2023-08-23 10:14:29 +03:00
Eladash
756ab1191e
PPU Analyzer: Fix for unaligned sections
2023-08-23 10:14:29 +03:00
Eladash
e2d4d400ff
rsx: Fixup calculate_required_range
2023-08-22 14:26:14 +03:00
Eladash
2022098b13
Progress Dialog: Fix race when PPU compilation is super fast
2023-08-22 14:26:14 +03:00
Eladash
a26b8dff18
rsx: Fix index vertex array range with modulo calculation
2023-08-22 09:41:23 +03:00
Eladash
ee3c7f335f
Progress Dialog: Avoid PPU compilation pop-up on short linkage
2023-08-22 09:01:15 +03:00
Eladash
bf93f9f987
Progress Dialog: Fix race that could lead to ever-inaccurate results
2023-08-22 09:01:15 +03:00
Eladash
a001e6ef09
Progress Dialog: Fix race on PPU compilation status
2023-08-22 05:40:53 +03:00
Megamouse
36dce454dd
input: fix dance mat PID
...
It seems this ID was wrong for some reason.
2023-08-21 23:48:56 +02:00
Megamouse
e28b705f0d
Input: Add PS Move navigation controller
...
Add the ps move navigation controller to pad types.
Use proper pad class profiles.
2023-08-21 23:48:56 +02:00
Megamouse
f3b631fbb4
qt/utils: support full path in get_dir_entries
2023-08-21 22:46:38 +02:00
Eladash
16c8f8c9cd
Game List: Add initials-only search
2023-08-21 16:38:41 +03:00
Eladash
1843a27c2a
LV2/Loader: Fix kernel regions addresses
2023-08-21 14:36:54 +03:00
Eladash
7a0185dbcc
PPU/debugger: Fixup
2023-08-21 14:36:54 +03:00
Eladash
17302a9422
Debugger/PPU: Superior Callstack Detection
2023-08-20 22:43:41 +03:00
nkarl7
78f2d44a0e
CLI - install multiple pkgs from folder ( #14516 )
2023-08-20 17:51:24 +02:00
oltolm
66aa02a382
xaudio2: enable IID_IXAudio2Extension for mingw-w64
2023-08-19 21:31:19 +02:00
Eladash
8236a0fa2d
Fixup cellPadPeriphGetInfo
2023-08-19 17:18:40 +03:00
Eladash
9635417ae5
Replace some utils::bless usages
2023-08-19 17:18:40 +03:00
oltolm
373e502501
Workaround for Clang: move bless to its own header file
2023-08-19 13:30:46 +03:00
Eladash
f1d9e89418
Cg Disasm: Fix instruction highlighting patter
...
Highlighted wrongly the "Loading..." because L is an uppercase letter.
2023-08-19 04:21:37 +03:00
Eladash
cd98e84ca5
Debugger/RSX: Add FP/VP hash of current shader
2023-08-19 04:21:37 +03:00
Eladash
730badd378
cellAudio: Move and partially fix _mxr000 hack
2023-08-18 11:37:29 +03:00
Eladash
8b212f2169
PPU: Fix LVRX bad memory access
2023-08-17 17:59:45 +03:00
Eladash
c8f8ecc4d6
LV2: Fixup reservation notifications
2023-08-17 13:02:57 +03:00
Eladash
dacb0bd87f
utils/endian.hpp: Use std::byteswap
2023-08-17 13:02:57 +03:00
Eladash
6adc7f9ee6
SPU: Use usermode waiting for busy GETLLAR loop
2023-08-17 09:02:28 +03:00
Eladash
dddd12f66b
CELL: Postponed address notifications
2023-08-17 09:02:28 +03:00
Ivan Chikish
384c807d6a
Fixup atomic wait (Linux)
2023-08-16 23:29:09 +03:00
oltolm
01a05502e8
cmake: replace add_compile_definitions with target_compile_definitions
2023-08-15 20:56:39 +02:00
oltolm
d062fc1d31
sys_net.cpp: fix compiler warning
2023-08-15 20:56:39 +02:00
oltolm
a01a7a44cd
qt6: fix mingw-w64 build
2023-08-15 20:56:39 +02:00
oltolm
d25d5327e5
remove unnecessary defines
2023-08-15 20:56:39 +02:00
Elad Ashkenazi
968762c135
Fix PPU SELF Precompilation
2023-08-14 18:47:20 +03:00
Megamouse
0e23b89352
cellRec: add more encoder options
2023-08-13 21:35:07 +02:00
Elad Ashkenazi
219ee76bf2
cellPad: Fixup sys_config management
2023-08-13 14:20:39 +03:00
Megamouse
39bbf17caf
cellRec: fix width of encoder frames
...
Turns out the pitch was accidentally used as width, leading to an out of bounds read/write.
I kept the pitch in the struct for completeness' sake. It may be needed later, if only for error checks.
2023-08-13 00:37:19 +02:00
Megamouse
f40a6d496a
home menu: remove non-dynamic SPU Loop Detection
2023-08-12 23:56:26 +02:00
Malcolm Jestadt
f2e782f5dd
SPU LLVM: Inline timer reads for WrDec and RdDec
...
- Uses RDTSC to emulate the spu decrementer
2023-08-13 00:16:35 +03:00
Megamouse
d760e66fdb
VS: Fix compilation on Visual Studio 17.7.0
2023-08-12 13:53:40 +02:00
Malcolm Jestadt
512f0a814c
SPU LLVM: Fix for AVX-512 CFLTU path
...
- vcvvtps2udq doesn't turn negative numbers into 0, fix by using signed integer max with 0 instead of vrangeps
2023-08-12 02:55:08 +03:00
Elad Ashkenazi
5668b1bd7a
PPU Loader: Fixup stack alignment after envp fix
2023-08-12 02:03:24 +03:00
Ivan Chikish
c6dcf3f1d3
(Linux) Fixup futex_waitv
2023-08-11 11:54:41 +03:00
Eladash
eae1c5afdd
PPU Loader: Fix main()'s envp
2023-08-11 05:07:27 +03:00
Eladash
4bbe885f35
LV2/cellPad: Implement priority-based connection updates
2023-08-10 09:31:49 +03:00
Eladash
a2416bf7f5
cellPad: Fix max_connect in GetInfo
...
This value is saved and loaded from cellPadInit as is.
2023-08-10 09:31:49 +03:00
kd-11
58e9e54b7f
rsx: Remove unused code (argb<->bgra modifier) and refactor a bit
2023-08-09 00:25:50 +03:00
kd-11
767979ea44
rsx: Implement image copy between 2D -> 3C/CUBE with scaling support.
2023-08-09 00:25:50 +03:00
Eladash
bd7715b180
ELF.h: fix warning
2023-08-08 10:22:05 +03:00
Eladash
df24305698
PPU/Debugger: Fix op_branch_targets
2023-08-08 10:22:05 +03:00
Eladash
cdc0441405
PPU: Fixup interpreter and analyzer
2023-08-08 10:22:05 +03:00
Eladash
edf4f7eacc
PPU/Patches: Fix CALLOC patch with interpreter
2023-08-07 19:01:38 +03:00
Eladash
8e75e940dd
cellSaveData: Fix check 58, implement checks 77 and 76
2023-08-07 19:01:38 +03:00
Eladash
d694600146
PPU Loader: Fixup virtual load for non PRX
2023-08-07 19:01:38 +03:00
Eladash
0989f62256
cellGame: Add some LV2 sleep
...
Those functions are supposed to take a really long time, and in this time the caller PPU waits for VSH.
2023-08-07 10:56:15 +03:00
Eladash
63f045ef2e
Add some error checking to sys_fs_chmod
2023-08-07 10:56:15 +03:00
Eladash
91b68f3b45
PPU Analyzer: Fixup verify_func
2023-08-07 06:48:44 +03:00
Eladash
39910885d9
PPU: fix leak when precompiling SELF files
2023-08-06 21:37:10 +03:00
Eladash
506ec0f947
PPU Loader: Fix imports/exports in virtual mode
2023-08-06 21:37:10 +03:00
Eladash
c96f3a877f
PPU Analyzer: Add more function constraints
2023-08-06 21:37:10 +03:00
Eladash
2a0278fbb1
Fixup SPU/PPU Cache Abortion
2023-08-06 21:37:10 +03:00
Eladash
ee869a49f4
PPU Precompilation Fixup
2023-08-06 10:38:40 +03:00
Megamouse
343ba8733b
Merge xfloat options
2023-08-06 09:30:53 +03:00
Eladash
e6009794ee
vm.cpp: Fixup race in range_lock_internal
2023-08-06 08:26:17 +03:00
Eladash
971c12b937
Fixup log message in sys_memory_allocate
2023-08-06 08:26:17 +03:00
Eladash
849af08ee9
System.cpp: Fixup spu.log/tty.log dumping
2023-08-06 08:26:17 +03:00
Eladash
6547fa9cc3
PPU LLVM: Fixup VSH Precompilation
2023-08-06 08:26:17 +03:00
Eladash
4eaa03e9ba
PPU: A few more minor bugfixes
2023-08-06 08:26:17 +03:00
Eladash
d0b3891002
PPU LLVM Cache Fixup
2023-08-06 08:26:17 +03:00
Eladash
e25936c1f1
PPU LLVM/RawSPU: Fixup MMIO crossing-out
2023-08-06 08:26:17 +03:00
Ani
6672499dde
vk: Fix detection of RADV on get_driver_vendor()
...
Since Mesa 22.2.0 (2022-09-21), commit
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11027/diffs?commit_id=f06da59fd75d7ce7708d159753fcdbc11de16f9e ,
the deviceName property has included the name of the GPU, thus
invalidating our previous method of detecting RADV as a driver vendor
Before: "AMD RADV NAVY_FLOUNDER"
After: "AMD Radeon RX 6700M (RADV NAVI22)"
Before: "AMD RADV RENOIR"
After: "AMD Radeon Graphics (RADV RENOIR)"
2023-08-06 01:08:06 +02:00
nastys
dea24c905b
Make experimental build warning modal
2023-08-05 12:40:59 +02:00
Whatcookie
d4cf12bc17
LV2: Improve sys_timer_usleep by using CPU usermode waiting
...
* Linux: set timerslack to minimum value
- Linux delays the wakeup of threads to save power, this feature isn't needed for this application
* Utils: Add detection for waitpkg and monitorx extensions
- These instructions are used for user mode wait instructions
* lv2: Use user mode wait instructions instead of yielding when appropriate
2023-08-05 11:49:30 +03:00
trigger
51a8d2235c
osk: ignore input based on ignore_device_events
2023-08-04 21:32:04 +02:00
kd-11
26ecd88074
rsx: Rebuild shader texture state if we detect a silent mismatch
2023-08-04 19:23:06 +03:00
MSuih
65685d4525
Fix current date format
2023-08-04 11:22:44 +03:00
Eladash
744a1528cc
Optimize memory usage of ELF loader
...
Do not duplicate shdr memory when it is present in phdr.
2023-08-03 16:19:55 +03:00
Eladash
bb92154145
Auto-dump decrypted binaries if PPU debug is enabled
2023-08-03 16:19:55 +03:00
Eladash
8057773c4f
Fix decrypt_binaries_t::done()
2023-08-03 16:19:55 +03:00
Eladash
9f625de51a
vm.cpp/Non-TSX: Fixup potential deadlock
2023-08-03 15:04:37 +03:00
Eladash
06c9b95e09
PPU LLVM/SPU/Non-TSX: Obnoxiously responsive and obedient PPU for SPU requests
2023-08-03 15:04:37 +03:00
trigger
0f3dfec7f2
direct return in ppu_check
2023-08-03 12:35:06 +03:00
Ivan Chikish
d34287b2cc
Linux: use futex_waitv syscall for atomic waiting
...
In order to make this possible, some unnecessary features were removed.
2023-08-02 21:46:06 +03:00
Megamouse
bb2d7063c4
Update ffmpeg
2023-08-02 08:21:47 +02:00
Megamouse
ef12da774e
rsx: fix register_vertex_printer value func
2023-07-31 23:14:02 +02:00
Ani
6cd5a7eab9
rpcs3_version: Bump to 0.0.29
2023-07-31 20:03:24 +03:00
Megamouse
d119cf6e96
Qt6 port
2023-07-31 20:03:24 +03:00
Megamouse
9b3a878c18
cellAudioIn: reduce log spam
...
Some logs I've seen are 20% filled with this stuff.
2023-07-31 13:19:55 +03:00