Megamouse
e635abe552
Fix warning: std::move of const variables
2024-06-27 03:21:35 +03:00
Elad Ashkenazi
f18e3be4f2
Cut scenNpDrmIsAvailable sleep time by half
2024-06-25 10:02:53 +03:00
Elad Ashkenazi
87f5368d3c
PPU: Fix access violation on logging
2024-06-23 19:29:13 +03:00
Megamouse
c2899ad4cb
Replace sys_io log channel with cell module log channels
...
For more granular log filtering
2024-06-23 15:54:13 +02:00
Elad Ashkenazi
649714429b
SPU: Notify threads on RdEventStat properly
2024-06-20 00:51:51 +03:00
Elad Ashkenazi
dbb02241c5
SPU: Cleanup GETLLAR
2024-06-20 00:51:51 +03:00
Elad Ashkenazi
f228ca7961
SPU LLVM: Avoid sinking stores out of non-loops
2024-06-20 00:51:51 +03:00
Elad Ashkenazi
5b973448bf
SPU: Better GETLLAR spin detection
2024-06-15 22:41:52 +03:00
Elad Ashkenazi
d5935a37bb
SPU: Notify threads if data changed in RdEventStat
2024-06-15 22:41:52 +03:00
Elad Ashkenazi
5693cc9eb3
SPU: smart GETLLAR spin detection
2024-06-15 22:41:52 +03:00
RipleyTom
feff2ba09e
Fix race in sys_net select and poll
2024-06-14 10:52:34 +03:00
Elad Ashkenazi
caf81f1367
LV2: Race condition fixup
2024-06-12 12:41:15 +03:00
Elad Ashkenazi
f58b418b7d
LV2: Optimization for timeout
2024-06-12 11:31:56 +03:00
Elad Ashkenazi
cec976b70a
Minor fix of sys_lwmutex_destroy
2024-06-12 11:31:56 +03:00
Elad Ashkenazi
1e5f6ba39c
Fix sys_lwmutex_lock for SYS_SYNC_RETRY
2024-06-12 11:31:56 +03:00
Megamouse
e64d09b6f7
sceNpCommerce2: check sku_ids
2024-06-12 00:18:37 +02:00
Megamouse
c8e2b9cb99
sceNp: add some more array pointer checks
2024-06-12 00:18:37 +02:00
Elad Ashkenazi
0b22423ab8
Minor fs::file usage fixes
...
Do not crash on file creation failure. Make some config writes atomic.
2024-06-10 13:45:23 +03:00
Elad Ashkenazi
8b1e7c6a48
SPU: Enable PUTLLC16 with RTIME checks
2024-06-10 09:17:38 +03:00
brian218
c73302f715
sys_ppu_thread: Fixed up sys_ppu_thread_join()'s check for detached threads
...
sys_game: Corrected sys_game_set_system_sw_version()'s error code
2024-06-10 07:44:49 +03:00
Elad Ashkenazi
6fff22391c
PPU Analyzer: Utilize exported functions
2024-06-08 14:09:37 +03:00
Elad Ashkenazi
929be0b4e6
PPU LLVM: Implement OE for few instructions
2024-06-08 14:09:37 +03:00
Elad Ashkenazi
4e8e5a7fed
PPU Debug: Dump decrypted PRX
2024-06-08 14:09:37 +03:00
Elad Ashkenazi
721e55458c
PPU Analyzer: Fixes
2024-06-08 14:09:37 +03:00
Megamouse
5a13c02774
SPU: Silence some warnings
2024-06-08 01:54:24 +03:00
Megamouse
b52deed4dd
cellGem: Fix raw mouse connection state
2024-06-07 00:25:49 +02:00
Elad Ashkenazi
5c1a1a30ee
SPU Analyzer: Fix BRA instruction targets
2024-06-06 21:13:24 +03:00
Elad Ashkenazi
47fe955d35
SPU LLVM: Ensure programs are written to disk irregardless of failure
2024-06-06 21:13:24 +03:00
Elad Ashkenazi
ac5d907002
SPU: Remove inaccurate GETLLAR option
2024-06-06 19:27:52 +03:00
Elad Ashkenazi
55ed95b42c
SPU Analyzer: Minor PUTLLC16 bugfixes
2024-06-06 19:27:52 +03:00
Megamouse
ff3fb3da65
Use openal-soft submodule and link statically
2024-06-06 15:02:47 +02:00
Sanjay Govind
d9ec33f51e
USB: If a Santroller device is in use elsewhere, don't send it commands ( #15655 )
2024-06-04 01:17:33 +02:00
trigger
ba29a37871
sys_net: properly return error in sendto
2024-06-03 04:31:45 +03:00
Elad Ashkenazi
e5ce88f007
SPU LLVM: Disable PUTLLC16 temporarily
2024-05-31 16:10:15 +03:00
Elad Ashkenazi
8fa23436f9
PPU Analyzer: Unuse per-instruction compilation on fallback
2024-05-30 11:41:24 +03:00
Elad Ashkenazi
26b21ed031
LLVM: Prevent crash on disk space shortage
2024-05-30 11:41:24 +03:00
Elad Ashkenazi
a6b2bf69f1
SPU Debug: Fix crash on missing directory
2024-05-30 11:41:24 +03:00
Elad Ashkenazi
0da51d25bc
SPU: Add block prefix to log if available
2024-05-30 11:41:24 +03:00
Megamouse
c0ed56cba0
cellKbCnvRawCode: don't use caps lock as shift lock unless we are using the qwertz or azerty layout
2024-05-26 08:32:32 +02:00
Megamouse
c01f0bffde
cellKb: Clarify cellKbCnvRawCode alphabet conversion
2024-05-26 08:32:32 +02:00
Elad Ashkenazi
3dfbd14de2
SPU LLVM: Implement PUTLLC16 for accurate RSX reservations
2024-05-24 14:14:42 +03:00
Elad Ashkenazi
e94928318e
SPU LLVM: Disable PUTLLC16 optimization on accurate RSX reservations
2024-05-23 19:38:31 +03:00
Elad Ashkenazi
b3c9f7647f
Savestates/SPU LLVM: Fix sinking store finally
2024-05-22 12:58:43 +03:00
Megamouse
bf85902485
input: move mouse handler code to cpp
2024-05-21 23:35:35 +02:00
Megamouse
eb8ab8ef15
implement mouse handler config
2024-05-21 23:35:35 +02:00
Elad Ashkenazi
afa7a27f33
SPU Analyzer: Minor bugfix
2024-05-21 16:37:54 +03:00
Elad Ashkenazi
e1a0887f51
SPU Analyzer: Implement loop analysis
2024-05-21 16:37:54 +03:00
Eladash
ff42459239
SPU Analyzer: Improve value propagation
2024-05-21 16:37:54 +03:00
Eladash
71dd22a55d
SPU LLVM: Avoid notifications in cellSync SPU functions
...
Identify them using their unique error codes.
2024-05-21 16:37:54 +03:00
Eladash
f9345c7699
SPU LLVM: PUTLLC 16 Optimization
...
Also, do not check LR event if already raised in PUTLLC
2024-05-21 16:37:54 +03:00
Elad Ashkenazi
a2dcbb9c13
Replace src_loc with std::soource_location
2024-05-21 14:19:12 +03:00
Elad Ashkenazi
164c3fa9cb
sys_tty: Reduce thread dump log spam
...
Some games just log random errors.
2024-05-21 14:19:12 +03:00
Elad Ashkenazi
89299eb1f7
Reduce logging of some SPU debug data
2024-05-21 14:19:12 +03:00
RipleyTom
e42ba05883
Improve match2 ctx context start
2024-05-19 20:06:49 +02:00
RipleyTom
b83f1e7694
Improve CB accuracy for Avc2
2024-05-19 19:16:30 +02:00
Elad Ashkenazi
6fbe4c3e2e
cellSysutil: Implement dispatcher callback unloading
2024-05-19 09:26:26 +03:00
Megamouse
b8f8d09f97
Fix spu_thread audit check
2024-05-18 16:16:08 +02:00
Megamouse
dfee5b9a6c
threads: replace magic number id_type with thread_class
2024-05-18 16:16:08 +02:00
Florin9doi
dc05d38867
PAD: Fix ldd_data transfer
2024-05-18 12:30:15 +02:00
Florin9doi
db89c1d8b8
USB: Add GunCon 3 config window
2024-05-17 08:58:14 +02:00
Florin9doi
ecedbc38ec
Consolidate input products in a single place
2024-05-17 08:58:14 +02:00
RipleyTom
3e7ff4059e
Add matching2 option handling
2024-05-16 22:38:11 +02:00
Megamouse
ba379ceba2
spullvm: fix compilation: reference to local binding 'b2' declared in enclosing function
...
Also optimize some unnecessary vector lookups
2024-05-16 03:05:17 +03:00
RipleyTom
0a956906de
fix size calculation in get_member_and_attrs
2024-05-15 17:57:12 +03:00
Elad Ashkenazi
6d8575d0d0
Savestates: Warn on invalid SPU save state
2024-05-14 19:36:48 +03:00
Elad Ashkenazi
32e01b5f1a
Savestates/SPU LLVM: Fix sinking stores
...
Found thanks to mr spaces.
2024-05-14 19:36:48 +03:00
Eladash
2243e22630
sys_fs: Fix race in file stream API
2024-05-14 19:36:48 +03:00
Florin9doi
0e3fd6a582
Remove duplicated code for USB connection/disconnection
2024-05-14 09:05:03 +02:00
Florin9doi
d1b4d4b599
Remove the redundant config for GunCon3
2024-05-14 09:05:03 +02:00
Florin9doi
65455b454e
Hotplug support for emulated devices
2024-05-14 09:05:03 +02:00
Florin9doi
941c87f6d7
Create a device class for GunCon3 which is ignored by cellPad
2024-05-14 09:05:03 +02:00
Florin9doi
aa8fbf8102
Rename is_fake_move to fit other devices
2024-05-14 09:05:03 +02:00
RipleyTom
a50683d6ca
sys_net improvements ( #15584 )
...
Also remove redundant ensures
2024-05-13 05:35:08 +03:00
Megamouse
70e40ce857
cellPad: don't report fake move pads as connected
2024-05-12 18:40:51 +02:00
Florin9doi
7ac097255e
USB: Disconnect the virtual device only for TRANSFER_NO_DEVICE error
...
Resolve : #15565
2024-05-10 06:56:02 +03:00
RipleyTom
b7a882f42b
Split normal sockets and p2p sockets handling v2
2024-05-08 20:04:23 +03:00
Megamouse
04d6ff274b
Move cache dir code to utils
2024-05-07 08:47:29 +02:00
Megamouse
c11c286206
Adust vsh cache dir criteria
2024-05-07 08:47:29 +02:00
Megamouse
f418ad74f5
VSH: move cache to /cache/vsh/
2024-05-07 08:47:29 +02:00
Megamouse
0fcb0b7d8e
cellVideoOutGetDeviceInfo: Fix Interlace typo for 1080p
2024-05-05 01:38:54 +02:00
Megamouse
9f90ca1b48
Rename enum values to be more precise
2024-05-05 01:38:54 +02:00
Megamouse
e164d462b4
cellVideoOut: support interlaced scan modes
2024-05-05 01:38:54 +02:00
Megamouse
32666b5ae8
HLE: use original filename for media exports
...
No idea what's the real logic here.
I was just winging it with the title before.
It's most likely just meant for metadata.
2024-05-04 22:18:44 +02:00
Elad Ashkenazi
e74cceb3f4
Add logging of exported SPRX functions on dummy load
2024-05-04 14:15:51 +03:00
Eladash
7bd4cfc5b3
Logging fix
2024-05-04 14:15:51 +03:00
Eladash
0791349455
Avoid calling std::vector::data() if empty
2024-05-04 14:15:51 +03:00
Eladash
b83e39a540
Fix some warnings
2024-05-04 14:15:51 +03:00
Florin9doi
f1ef3bdcd7
USB: Allow UsbPspCm passthrough
2024-05-02 10:12:38 +03:00
Florin9doi
d3f9ae4868
USB: GunCon 3 emulation
2024-05-01 09:52:30 +02:00
Florin9doi
debeafa36b
USB: Update GameTablet
...
- Allows to use rawinput handler
- Use a struct to access the input data
2024-05-01 09:52:30 +02:00
Ani
39e946630d
syscall: Register syscall 149 sys_time_get_system_time
2024-04-29 10:25:21 -07:00
RipleyTom
8d815e8ee0
Clamp spu_fi results
2024-04-29 05:21:49 +03:00
Elad Ashkenazi
430b57833d
SPU LLVM: Remove wrong zero sign fixup
2024-04-28 20:39:57 +03:00
Megamouse
e32c48d0dd
Camera: optimize some loops
...
Factor out some conditions in RAW8 loop.
Use floats YUV loop.
Replace pixel getters with simple pointers.
2024-04-27 14:23:56 +02:00
capriots
e2402b1c8f
cellRtc: review fixes
2024-04-27 13:33:09 +02:00
capriots
36abdd7114
sys_time: review fixes
2024-04-27 13:33:09 +02:00
capriots
79f54771b5
cellRtc: set to HLE by default
2024-04-27 13:33:09 +02:00
capriots
2556f84752
cellRtc: replace vm::check_addr() with sys_memory_get_page_attribute()
2024-04-27 13:33:09 +02:00
capriots
c8e624850b
cellRtc: improvements
2024-04-27 13:33:09 +02:00
capriots
56692e23f5
lv2: stub sys_time syscalls, add error code to sys_ss
2024-04-27 13:33:09 +02:00
RipleyTom
b38ce9452d
Revert "Split normal sockets and p2p sockets handling"
...
This reverts commit 08c3a38b67 .
2024-04-27 10:45:14 +02:00
Megamouse
fcba193a3c
input: use keyboard consumers to seperate cell and overlay logic
2024-04-27 01:03:23 +02:00
RipleyTom
6fc7fa3b13
Logging improvements
2024-04-27 00:12:14 +02:00
Elad Ashkenazi
ad4216a3fc
PPU LLVM: Do not crash on linkage of garbage code
2024-04-26 18:55:50 +03:00
RipleyTom
08c3a38b67
Split normal sockets and p2p sockets handling
2024-04-24 14:15:17 +03:00
oltolm
9e9a3262eb
simplify template code like std::is_same<T>::value
2024-04-21 18:15:17 +03:00
capriots
dfec577417
cellRtc: implement remaining parsers, improve formatters ( #15451 )
2024-04-20 15:41:42 +02:00
Megamouse
14e9c8954c
cellMusic
2024-04-20 11:55:49 +02:00
Megamouse
dff7352e2e
llvm: silence warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing]
2024-04-20 01:38:11 +02:00
Megamouse
30bb6c9fb9
cellSysutilAvc2MicRead: Fix some nonsensical nullptr deref warning
2024-04-20 01:38:11 +02:00
Eladash
b18a97e777
SPU Analyzer: Filter calls to calls
2024-04-19 20:51:37 +03:00
Eladash
c7d93bd470
PPU Analyzer: Look for functions using callers (fallback)
2024-04-19 20:51:37 +03:00
Eladash
7bf8917c08
PPU LLVM: Fix crash in Unity games
2024-04-19 20:51:37 +03:00
Megamouse
e3f6bbfcc9
fix some warnings and typos
2024-04-19 01:29:22 +02:00
Megamouse
89922b254c
cellSysutilAvc2: improve unload and some more stuff
2024-04-18 13:22:45 +02:00
Florin9doi
463826bf13
uDraw emulation
2024-04-18 09:39:02 +02:00
trigger
6aa96e5f81
Fix OVL patching
2024-04-16 06:15:10 +03:00
Megamouse
2f53d58cd9
fix some warnings
2024-04-15 19:28:28 +02:00
Florin9doi
e0d6f8a311
Set a unique System Name
2024-04-15 08:06:21 +03:00
Eladash
fba1db29b3
Savestates: Fixup
2024-04-13 20:14:49 +03:00
Eladash
1111c1952b
SPU: Add debug information when logging analyzer failures
2024-04-13 20:14:49 +03:00
Eladash
060ddca1ab
SPU: Fixup breakpoints
2024-04-13 13:48:00 +03:00
Eladash
a9fd2f76d2
Savestates: serilialize avc2_settings
2024-04-13 13:48:00 +03:00
RipleyTom
c92a556093
Default constructor for avc2_settings
2024-04-13 05:40:10 +03:00
RipleyTom
0231902a69
fix CellSysutilAvc2InitParam
2024-04-13 01:41:41 +02:00
Megamouse
dbeb8cfbec
cellSysutilAvc2Load_shared: simplify max_video_windows check
2024-04-12 23:04:43 +02:00
Megamouse
96bd150518
cellSysutilAvc2Load_shared: re-arrange streaming_mode checks
2024-04-12 23:04:43 +02:00
Megamouse
cb1fb19dea
cellSysutilAvc2Load_shared: review fixes
2024-04-12 23:04:43 +02:00
Megamouse
3b37f5b156
cellSysutilAvc2Load_shared: use utils::align for total_bitrate
2024-04-12 23:04:43 +02:00
Megamouse
a989634ba5
cellSysutilAvc2Load_shared: fix compilation
2024-04-12 23:04:43 +02:00
Megamouse
d865186f23
Only send cellSysutilAvc2LoadAsync callback with CELL_SYSUTIL_AVC2_VOICE_CHAT
2024-04-12 23:04:43 +02:00
Megamouse
e63245a6dc
Fix callback_func check for CELL_SYSUTIL_AVC2_VIDEO_CHAT
...
This mode doesn't allow for the callback
2024-04-12 23:04:43 +02:00
Megamouse
682fd15441
move cellSysutilAvc2LoadAsync to cellSysutilAvc2Load
2024-04-12 23:04:43 +02:00
Megamouse
bbd81b9395
cellSysutilAvc2Load: param checks
2024-04-12 23:04:43 +02:00
RipleyTom
cb6186ea60
Initialize CB in cellSysutilAvc2Load
2024-04-12 21:16:11 +03:00
Eladash
12bfc7d56a
SPU/Debugger: Use bitset for breakpoints
2024-04-12 17:13:11 +03:00
Eladash
7dc4ccc87d
SPU: Use bitset to reduce memory for compiler instance
2024-04-12 17:13:11 +03:00
Eladash
103b2fe5fd
PPU/reservations: send thread notification only if data changed
2024-04-12 09:58:30 +03:00
capriots
1ec2752ed2
cellRtc: review + warning fixes
2024-04-11 22:09:00 +02:00
capriots
a5b6b2e9b5
cellRtc: tick conversion improvements
2024-04-11 22:09:00 +02:00
Eladash
f51b100a8c
SPU Analyzer: Do not terminate blocks on BRA
2024-04-09 06:26:03 +03:00
Megamouse
412db758e8
cellRtc: review fixes
2024-04-08 13:50:58 +02:00
Megamouse
f617f69be8
cellRtc: remove wrong duplicate pos++
...
This would have increased pos by one too many.
2024-04-08 13:50:58 +02:00
Megamouse
b81d278aee
cellRtc: implement Rfc3339 part of cellRtcParseDateTime
2024-04-08 13:50:58 +02:00
Megamouse
aee4bfa369
cellRtc: simplify some disassembly code
2024-04-08 13:50:58 +02:00
Megamouse
08837d2cd0
cellGame: add some more error checks
2024-04-05 23:36:37 +02:00
Megamouse
9a4c823366
cellCamera: fix config from_string
2024-04-05 20:22:45 +02:00
Megamouse
7f3ad4fc2c
lv2_socket: reset queue after move
2024-04-05 19:41:41 +02:00
Megamouse
9e7b759236
cellGame: Enable disc insert/eject based on disc mount state
2024-04-05 14:45:10 +02:00
Elad Ashkenazi
3dc1dfa4a2
Fix typo in lv2_socket_native
2024-04-04 22:47:01 +02:00
Eladash
8effbf7e4d
Savestates/Network: Feign connection failure on startup
2024-04-04 17:28:46 +03:00
Eladash
2a89d87fab
Savestates/SPU: Fix MFC commands abort
2024-04-03 15:03:39 +03:00
Eladash
33eeee0ff2
SPU Debugger: Implement viewing block hash on request
2024-04-03 15:03:39 +03:00
Eladash
3c46388be5
SPU LLVM: Fix store elimination within common blocks
...
GPR register barriers were ignored in that case.
2024-04-03 15:03:39 +03:00
Eladash
597a9f6dd6
PPU Loader: Fix unload of HLEd PRX modules
2024-04-01 12:20:38 +03:00
Eladash
e90b399329
PPU LLVM: Fix leak of modules outside dev_flash/sys/internal
...
Cache path was not matching on removal
2024-03-30 21:58:26 +03:00
Eladash
7c8be662c6
SPU LLVM: Postpone runtime worker threads init
...
They may not be active at all unless a ps3 application is booted.
2024-03-30 21:58:26 +03:00
Eladash
e38b005a8b
PPU LLVM: Unify memory limit for PRX and Overlay files
2024-03-30 21:58:26 +03:00
Eladash
f0abb4473e
PPU LLVM: Fix memory leak on precompilation
2024-03-30 21:58:26 +03:00
oltolm
d62e90f5b4
use the pass manager instead of the legacy one
2024-03-30 05:06:29 +03:00
Eladash
9a3b72f762
Savestates/SPU: Partially publicize SPU-Compatible functionality
2024-03-29 13:25:51 +03:00
Eladash
41f05f6864
LV2: Silence logging of semaphore
2024-03-28 16:24:47 +02:00
Eladash
cc2fa94fa1
PPU: Fix logging of sys_interrupt syscalls
2024-03-28 16:24:47 +02:00
Eladash
2f579311b8
LV2: Silence logging of mutex and cond syscalls
2024-03-28 16:24:47 +02:00
oltolm
c567c92d4b
fix GCC warnings
2024-03-28 08:45:20 +01:00
Megamouse
bbb4c109d7
audio: allow to choose channel layouts
2024-03-28 07:17:26 +01:00
Eladash
6a1fa88e15
PPU: Fixup savestate prio bit usage
2024-03-27 19:59:22 +02:00
Eladash
7468d96c51
Savestates: safe saving while cellSaveData is active
2024-03-27 19:59:22 +02:00
Eladash
9c9ece3d95
SPU LLVM: Fix Forwarding GPR stores savestate safety
2024-03-27 19:59:22 +02:00
Eladash
2023057fbb
Savestates: Reduce logging
2024-03-27 19:59:22 +02:00
Eladash
94c048d018
SPU LLVM: Add assert for MFC abort
2024-03-27 19:59:22 +02:00
Eladash
e126af63ed
Silence cellGemGetState
2024-03-27 19:59:22 +02:00
Eladash
750359d780
Fixup emulation stopping
2024-03-27 19:59:22 +02:00
Eladash
8588b2b11a
vm: Fix writer lock leak
2024-03-27 19:59:22 +02:00
Eladash
efbf044ea0
Savestates/PPU: Fix PRX relocations
2024-03-26 21:35:53 +02:00
Eladash
e0f08cd5c1
SPU: Make STOP a safe return instruction
2024-03-26 21:35:53 +02:00
Eladash
3364a46139
PPU LLVM: Remove cast to constant
2024-03-26 21:35:53 +02:00
Eladash
fb4e64d15e
Savestates/SPU: Extend RCHCNT safe returns
2024-03-26 21:35:53 +02:00
Eladash
68349e48cd
Savestates: Save PPU running order
2024-03-26 21:35:53 +02:00
Eladash
4dff8b16f1
Silence logging of cellScreenShot
2024-03-26 21:35:53 +02:00
Megamouse
9245565085
cellAudio: log backend channel count
2024-03-26 16:56:17 +01:00
Megamouse
a7952e15c7
cellPad: simplify for loops
2024-03-26 16:56:17 +01:00
Megamouse
643f81b5db
cellPad: move getters to where they are actually needed
2024-03-26 16:56:17 +01:00
Megamouse
cf5a66a204
cellMic: add nullptr check for data in cell_mic_read
...
Also rename S to Size for readability
2024-03-26 13:50:43 +01:00
Megamouse
e05239f3d9
Fix some warnings
2024-03-26 12:26:26 +01:00
Elad Ashkenazi
adedc7c667
Savestates/SPU: Add RCHCNT as a safe return in compatiblity mode
2024-03-25 12:05:24 +02:00
Elad Ashkenazi
29ad568791
Fix ppu_thread::serialize_common
2024-03-25 12:05:24 +02:00
Eladash
213a19c9f3
Add logging for CallFromMainThread
2024-03-24 16:19:06 +02:00
Elad.Ash
e32ed90d21
PPU LLVM: Remove one external symbol resolve for BLR
2024-03-21 15:56:31 +02:00
Eladash
2f822abb47
PPU LLVM: Use symbol resolver function to resolve functions
2024-03-20 12:48:31 +02:00
Eladash
1ca83bc629
PPU DisAsm: Fixup conditional indirect branches disasm
2024-03-20 12:48:31 +02:00
Eladash
40adf4b944
HLE: clear lower bits of Free Disk Space value
2024-03-14 11:10:45 +01:00
RipleyTom
fd583dbbc3
Cleanup and set -Werror=delete-non-virtual-dtor
2024-03-11 02:30:18 +02:00
Elad.Ash
4cfdb71d3a
LV2: Longer thread creation delay for low prio threads
2024-03-09 23:37:35 +02:00
Eladash
adc8a360ad
SPU LLVM: More compilation threads
2024-03-08 11:40:38 +02:00
Eladash
719dafa679
SPU LLVM: Notify workers prematurely if there is considerable excess
2024-03-08 07:21:48 +02:00
Eladash
ecf7d4e59d
SPU LLVM: Postpone cache writes until compiled
2024-03-08 07:21:48 +02:00
Eladash
45863bc7c5
SPU analyzer: Detect 'argument passing' block before the function
2024-03-07 18:46:51 +02:00
Eladash
ea0545779a
SPU: Include BRSL following code in is_exec_code()
2024-03-07 18:46:51 +02:00
Eladash
e625bab7eb
SPU Analyzer: Detect more tail calls by examining called code
2024-03-07 18:46:51 +02:00
Eladash
2930d609ea
SPU: Detect invalid STOP codes (code mining)
2024-03-07 18:46:51 +02:00
Eladash
069ca214ff
SPU: Improve compilation message
2024-03-07 18:46:51 +02:00
Eladash
d699db2d19
SPU Analyser: Detect invalid relative branches
2024-03-07 18:46:51 +02:00
Eladash
8e15de5c83
sys_tty: Try to avoid logging single newlines to log
2024-03-07 14:31:41 +02:00
Eladash
f40602cc59
cellGame: Fix PPU deadlocks on concurrent execution
2024-03-06 09:45:37 +02:00
InvoxiPlayGames
eecfbf3fa6
add Wii Harmonix instruments to whitelist
2024-03-01 19:07:02 +01:00
capriots
eb8325afcb
cellPamf implementation ( #15143 )
2024-02-29 21:45:28 +01:00
RipleyTom
7674c29c78
Fix for sceNpScoreGetGameData
2024-02-29 15:12:22 +02:00
Elad.Ash
75ef154c12
SPU LLVM: Improve runtime SPU compilation preferences ( #15250 )
2024-02-28 08:28:49 +02:00
RipleyTom
414a354511
Improve cellSysutilAvc2SetAttribute logging
2024-02-28 02:14:37 +01:00
RipleyTom
2168511e5b
Add check for score transactions being reused
2024-02-28 02:14:37 +01:00
RipleyTom
ac8e914a25
improves sig_ctx handling, sys_net logging and fixes udpp2p protocol ( #15235 )
2024-02-24 12:40:53 +01:00
Megamouse
06025cd19d
gui/input: let pad handlers know whether they are part of emulation
...
Also fix unique_ptr vs shared_ptr nonsense in pad_threads
2024-02-22 19:31:00 +01:00
Megamouse
b032f2dd87
gui/input: add gui input with native events
2024-02-22 19:31:00 +01:00
RipleyTom
3acd442c2e
sceNpBasicSendMessage fix
2024-02-22 05:33:29 +02:00
Eladash
f47c7e0ef1
PPU LLVM: Relax MSELF entry name constraints
...
These names are a hint
2024-02-16 10:42:57 +02:00
Eladash
36ab866c2c
SPU Analyzer: forgive invalid code, use interpreter
2024-02-16 10:42:57 +02:00
Eladash
f943deb2c3
PPU LLVM: Do not use possible duplicates in MSELF
2024-02-16 10:42:57 +02:00
Eladash
27ea25a999
Add debug info to ENOMEMs
2024-02-16 10:42:57 +02:00
Eladash
989b353fbd
Fixup lv2_file::file_view::read() regression
2024-02-16 10:42:57 +02:00
Eladash
c1607d14dc
Add debug info to sys_fs_lseek
2024-02-16 10:42:57 +02:00
Eladash
85884d14cd
PPU LLVM: Add more MSELF file checks
...
Do not crash on invalid files.
2024-02-16 10:42:57 +02:00
Eladash
08cf275bc8
Fix lv2_file::file_view::size()
2024-02-16 10:42:57 +02:00
Eladash
4aee44b1c0
sys_prx/overlay: Add some debugging steps
2024-02-16 10:42:57 +02:00
Eladash
7db6165b46
Fix lv2_file::file_view::read_at
2024-02-14 15:11:52 +02:00
Eladash
3e8b003515
Add logging for cellFsSdataOpenByFd
2024-02-14 15:11:52 +02:00
Eladash
f87e11d16a
Savestates/sys_fs: Save NPDRM decryption key
2024-02-14 15:11:52 +02:00
Megamouse
c91bc03532
sys_usbd: silence warning
2024-02-14 01:13:44 +01:00
Megamouse
68f3df4975
input: implement raw_mouse_handler
2024-02-14 01:13:44 +01:00
Megamouse
f6f8996aa9
overlays: use signed short for position to allow negative positions
2024-02-14 00:12:55 +01:00
nswarm
8533f962c6
Add limited support for midi drums w/ rockband 3 ( #15054 )
...
* add support for midi drums
* rb3drums: use dpad to disambiguate cymbal/drum hits instead of staggering.
* rb3drums: configurable min velocity and hihat up behavior
* rb3drums: configurable combos, combo duration, note overrides
* rb3drums: move config to separate file.
* rb3drums: apply stagger to double cymbal hits
* rb3drums: support midi CC note mapping
* rb3drums: add config to cmakelists. only load rb3drums config once.
* rb3drums: HihatWithPedalUp defaults to yellow cymbal instead of blue
2024-02-13 23:08:22 +01:00
RipleyTom
af33c0c69f
Revert FM(a*re_accurate) shortcut to relaxed
2024-02-13 20:08:03 +02:00
RipleyTom
50b1402d66
Fixes full fm(a, re_accurate) pattern
2024-02-13 11:37:20 +02:00
RipleyTom
cfd5c62386
Improve re_accurate
2024-02-13 11:37:20 +02:00
Eladash
94239f5526
Fixup HW thread switch delay condition for performance
2024-02-11 23:01:40 +02:00
Elad.Ash
148edc005a
Improve cpu_flag::yield handling
2024-02-11 20:09:01 +02:00
Elad Ashkenazi
ec59f4d37e
PPU/LV2: Implement HW threads switching delay when signaling higher priority threads
...
In real PS3 (it seems), when a thread with a higher priority than the caller is signaled and that there is available space on the running queue for the other hardware thread to start It prioritizes signaled thread caller's hardware thread switches instantly to the new thread code while signaling to the other hardware thread to execute the caller's code.
Resulting in a delay to the caller after such thread is signaled
2024-02-11 20:09:01 +02:00
kd-11
c572226b0d
Stop including x86 intrinsics in other architectures
2024-02-11 14:24:33 +01:00
RipleyTom
9b387485b5
Avoid modifying any memory on SYS_NET_EINTR cases
2024-02-09 18:07:18 +02:00
RipleyTom
56e27bdd49
Restrict file creation in /dev_hdd0
2024-02-09 16:13:46 +02:00
Elad.Ash
30e8c3e951
SPU LLVM: Allow swapped FMA and multiplications args in match context
2024-02-07 13:45:29 +02:00
RipleyTom
65d93c97ea
Add various SPU patterns
2024-02-06 22:08:44 +02:00
RipleyTom
a92b8acba7
Accurate FI
2024-02-06 22:08:44 +02:00
Megamouse
85f4c38b4e
Update submodules
...
- Updates SDL to 2.30.0
- Updates curl to 8.6.0
- Updates libusb to 1.0.27
- Updates zlib to 1.3.1
- Updates FAudio to 24.02
2024-02-05 23:47:38 +01:00
Eladash
a6c2e995af
Crypto/PKG installer: Fix potential RAM shortage when extracing EDAT files
2024-02-05 21:56:04 +02:00
RipleyTom
bb9444e19a
Add sceNpPlus to registered modules
2024-02-05 15:28:38 +01:00
RipleyTom
26d406fec3
RPCN 1.1
2024-02-05 09:44:29 +01:00
Megamouse
dda0b8af45
cellGem: Allow to use multiple controllers as fake PS-Move
...
- Allows to use the last 4 ports/players as PS Move in fake mode
- Should in theory react to re/disconnected controllers
- Should allow to use player 1-3 as normal controller simultaneously
2024-02-03 21:47:40 +01:00
Megamouse
d5ce4e0f6b
sceNp: fix atomic type
2024-02-03 17:59:19 +01:00
Megamouse
e5cfe710fa
sceNp: correct type for data attachment
2024-02-03 17:59:19 +01:00
Megamouse
2a0e2ce0a2
sceNp: don't preserve messages in sceNpBasicRecvMessageAttachment
2024-02-03 17:59:19 +01:00
Megamouse
8bc3a39586
sceNp: implement sceNpBasicAbortGui
2024-02-03 17:59:19 +01:00
Megamouse
e13a671f86
sceNp: Implement sceNpBasicRecvMessageAttachment
2024-02-03 17:59:19 +01:00
RipleyTom
c589001dff
Add player history
2024-02-03 08:45:29 +01:00
Megamouse
c271415328
sceNp: decrease some log levels from todo to warning
2024-01-31 16:33:29 +01:00
Megamouse
d7f317fa58
Add UI to sceNpBasicSendMessageAttachment and sceNpBasicAddFriend
2024-01-31 16:33:29 +01:00
Megamouse
3f2c34edd2
sceNp: silence some errors
2024-01-31 16:33:29 +01:00
Megamouse
566a8ac5ac
scnNp: add ppu wait before opening blocking dialogs
2024-01-31 16:33:29 +01:00
Megamouse
71b5bc4fe6
sceNp: add more error checks
2024-01-31 16:33:29 +01:00
Megamouse
23dc6a44f6
overlays: implement native sendmessage dialog
2024-01-31 16:33:29 +01:00
Megamouse
9ef5a01de4
overlays: implement native recvmessage dialog
2024-01-31 16:33:29 +01:00
RipleyTom
e9713f9635
Fix sceNpCommerce2 init
2024-01-28 10:52:26 +01:00
Megamouse
3dbde04d18
sceNpCommerce: add init checks
2024-01-27 08:31:16 +01:00
Megamouse
1611588682
sceNpCommerce2: add some error checks
2024-01-27 08:31:16 +01:00
RipleyTom
07dba02897
FreeBSD workaround for libusb
2024-01-26 02:51:41 +01:00
RipleyTom
db685879af
Return no file to TSS apis
2024-01-26 02:51:41 +01:00
RipleyTom
94e8d6fe13
Mini sceNpCommerce2Init fix
2024-01-25 22:53:21 +01:00
Megamouse
10c52cf569
sys_usbd: add libusb log callback
2024-01-25 17:03:58 +01:00
RipleyTom
d33955c290
Asmjit FI
2024-01-23 12:24:38 +02:00
RipleyTom
606a60e901
Accurate frest and frsqest
2024-01-23 12:24:38 +02:00
Megamouse
86bab5b7c3
cellImeJp: fix character deletion after change to cursor
2024-01-20 21:59:02 +01:00
Megamouse
675ed82c0b
cellImeJp: fix deadlock
2024-01-20 21:59:02 +01:00
Megamouse
58dd0198dd
cellImeJp: add candidate list functions
2024-01-20 21:59:02 +01:00
Megamouse
16f833a516
cellImeJp: add cursor
2024-01-20 21:59:02 +01:00
Megamouse
0392830950
cellImeJp: fix focus area
2024-01-20 21:59:02 +01:00
Megamouse
04efc6b4a4
cellImeJp: static functions to silence annoying VS
2024-01-20 21:59:02 +01:00
Eladash
01ee119c59
Savestates: Dont patch memory on load
2024-01-20 22:15:07 +02:00
Eladash
4cd60aca22
Savestates: Add some logging for sys_overlay
2024-01-20 22:15:07 +02:00
Eladash
c7a94a80df
Savestates/net: fix P2P socket data saving
2024-01-20 22:15:07 +02:00
Eladash
312b35051d
sys_fs: Aggregate safe file reads (optimization)
2024-01-20 22:15:07 +02:00
Eladash
e4c9af176b
fixup hdd1 cache
2024-01-20 22:15:07 +02:00
RipleyTom
7d55a85fa6
Replaces page fault triggers with assembly
2024-01-16 12:04:47 +02:00
Megamouse
fa7ef870dd
sceNp: disable Canonicalize functions for RPCN
2024-01-14 22:55:03 +01:00
Megamouse
ecacb874e4
sceNpCommerce: more error checks
2024-01-14 22:55:03 +01:00
Megamouse
0b2e0a1b28
sceNpCommerce: add error constants
2024-01-14 22:55:03 +01:00
Megamouse
a08d60fbbe
sceNpFriendlist: more checks
2024-01-14 22:55:03 +01:00
Megamouse
ef6041c14f
sceNpMatching: simplify linked list for loops
2024-01-14 22:55:03 +01:00
Megamouse
25954758d7
sceNpMatching: add error checks
2024-01-14 22:55:03 +01:00
oltolm
0ae1578dce
split JIT.cpp and SPURecompiler.cpp
2024-01-14 17:21:39 +01:00
oltolm
2039b85be3
prepare split
2024-01-14 17:21:39 +01:00
oltolm
8eae73dd02
add comments where to split
2024-01-14 17:21:39 +01:00
RipleyTom
fe9a24a1b8
RPCN 1.0 ( #15045 )
2024-01-14 12:36:23 +01:00
RipleyTom
4c36b80300
Misc NP fixes
2024-01-13 15:44:28 +01:00
Megamouse
f7fa5aab70
media_utils: fix segfault when stopping a recording
2024-01-12 19:53:20 +01:00
Megamouse
17aeefe1b0
cellFont: some stubs
2024-01-11 22:35:00 +01:00
Eladash
825ae5b8aa
Ensure HDD1 is never damaged or corrupted due to unexpected RPCS3/game termination
2024-01-11 20:24:53 +02:00
Megamouse
3513f6d83c
cellMouse: silence some log spam
2024-01-10 22:34:13 +01:00
Megamouse
4ad4badcfe
audio_decoder: fix more memleaks and dangling files
2024-01-10 22:34:13 +01:00
Megamouse
b67837c0ef
cellMusicDecode: fix random pop at the end of a stream
...
Observed in SSX, which seems to ignore the readSize sometimes
2024-01-10 22:34:13 +01:00
Megamouse
b5f3f910f6
cellSearch: fix vfs music and video paths
2024-01-10 22:34:13 +01:00
Megamouse
bad7756af2
audio_decoder: properly free packets
2024-01-10 22:34:13 +01:00
Megamouse
9e9385a877
cellVideoExport: export movies to /video/ instead of /movie
2024-01-10 22:34:13 +01:00
brian218
213674511e
sys_ss: Corrected sys_ss_update_manager(0x6011) version data format
2024-01-10 12:37:11 +01:00
brian218
6548e3f7d0
sys_fs: Improved get_device_root() path identifying security
2024-01-10 12:37:11 +01:00
brian218
a269ae7e30
sys_fs: Prevented duplicate device mounting
2024-01-10 12:37:11 +01:00
brian218
862295d9f3
sys_fs: Fixed sys_fs_unlink()'s failing to delete files in dev_usbXXX
...
sys_fs: Fixed get_mp() up for dev_usbXXX
2024-01-10 12:37:11 +01:00
Megamouse
7504503d5f
sceNp: don't return error if assignedReqId is null
2024-01-09 02:58:00 +01:00
Megamouse
108d0d49ec
sceNp: add missing roomPassword check
2024-01-09 02:58:00 +01:00
Megamouse
2c424a0911
sceNp: add missing withPassword check
2024-01-09 02:58:00 +01:00
Megamouse
ffe1b287a8
sceNp: add missing check for roomSlotInfo
2024-01-09 02:58:00 +01:00
RipleyTom
485fca34b0
Misc NP fixes
2024-01-08 14:03:15 +01:00
RipleyTom
0b984e9a23
Add -Werror=implicit-fallthrough to cmake build
2024-01-07 17:29:43 +01:00
RipleyTom
74e084c893
Improve sceNpEula
2024-01-07 14:50:45 +01:00
RipleyTom
47ae192cf8
Impl sceNpBasicSendMessage
2024-01-07 13:36:27 +01:00
RipleyTom
0227b16d06
Fix sceNpBasicSetPresence when data is nullptr and size is 0
2024-01-05 22:34:52 +01:00
RipleyTom
b6e9746198
RPCN 0.9 ( #15002 )
2024-01-05 09:43:26 +01:00
Megamouse
9fe640b187
whitespace and format
2024-01-02 16:46:31 +01:00
Megamouse
750aa163c5
cellSearch: mount paths in /dev_hdd0/.tmp/ instead of /,tmp/
2024-01-02 16:46:31 +01:00
Megamouse
018b1da2b9
cellSearch: fix mounting of files
...
Turns out you have to tell vfs::mount whether it's a file or directory.
2024-01-02 16:46:31 +01:00
Eladash
5755a94cc1
Savestates: Experimental pads fix
2024-01-02 15:56:06 +02:00
RipleyTom
d6dde225bd
Warn on use of privileged port on Linux
2024-01-01 21:23:31 +01:00
Eladash
195e7e185a
cellPad LDD fixup
2024-01-01 15:04:39 +02:00
Eladash
9aff2d5ee1
cellPad: Fix LDD pads registration
2024-01-01 11:58:00 +02:00
Eladash
f0c93ae9dc
sys_spu: Fix warning and theoretical bug
2024-01-01 11:58:00 +02:00
Eladash
467790c8d8
PPUTranslator: Try to fix a regression
2024-01-01 11:58:00 +02:00
Eladash
ce5f7bd4ff
Savestates: Rename DeferDeserialization, add some asserts
2024-01-01 11:58:00 +02:00
Eladash
f5d39ef7f2
Fix a corner case in lv2_timer_thread abort
2024-01-01 11:58:00 +02:00
Eladash
89b8be98d6
Simplify lv2_timer_thread management
2024-01-01 11:58:00 +02:00
Eladash
e6f1e598a9
Fix pad_state_notify_state_change
2024-01-01 11:58:00 +02:00
Eladash
2398e753bf
Savestates/cellPad: Save old controller state
2024-01-01 11:58:00 +02:00
Eladash
4a8beb8588
SPU LLVM: Minor fixup
2024-01-01 11:58:00 +02:00
Megamouse
f45cbdd0f7
fixes
2023-12-30 21:14:26 +01:00
Megamouse
7a02787bee
fix some more warnings
2023-12-30 21:14:26 +01:00
Megamouse
c5836e3525
fix more warnings
2023-12-30 19:07:35 +01:00
Megamouse
59c58aa3cf
fix some warnings
2023-12-30 19:07:35 +01:00
Megamouse
b1c48e66c9
sceNp: fix size_t data types
2023-12-30 19:07:35 +01:00
RipleyTom
a96f9d9bfb
Fix sceNpManagerGetNetworkTime called before rpcn connection
2023-12-30 02:00:21 +01:00
RipleyTom
03761c5dd4
rpcn 0.8
2023-12-29 19:22:49 +01:00
Megamouse
d3298c422b
sys/cellGame: Fix hdd game dir name
...
Some games are installed with other dir names than title_id
2023-12-29 18:10:00 +01:00
Eladash
9f6c5381a1
SPU/Savestates: Remove reservation hack, allow its saving
2023-12-29 11:11:53 +02:00
Eladash
bd687b41d3
SPU LLVM: Fix savestates with LLVM
...
Sneaky bug: allow invalidation from blocks that do not contain a store but do a gpr-state critical operation.
2023-12-29 11:11:53 +02:00
Eladash
526aaf7302
Fix idm::allocate_id at fixed position
2023-12-29 11:11:53 +02:00
Eladash
d78bbbf69a
Savestates: Fix audio_out_configuration initialization
2023-12-29 11:11:53 +02:00
RipleyTom
69238bfc23
Remove destructor dependencies on nph
2023-12-24 15:16:56 +02:00
RipleyTom
732d9b83ba
Fix nph and nt interderp
2023-12-22 14:34:48 +01:00
Megamouse
d08c7a9b96
sceNpDrm: improve error handling of rap files
2023-12-20 22:22:51 +01:00
Eladash
8591529aad
Fix sys_fs_fcntl default_sys_fs_container use
2023-12-20 19:58:21 +02:00
RipleyTom
dbd1f27862
Replace condition_variable with atomic_t
2023-12-20 15:28:47 +02:00
Eladash
90b6f5613e
Fix some warnings
2023-12-19 15:34:07 +02:00
Eladash
d1527710f9
Fix HLE sys_lwcond_signal_to
2023-12-19 15:34:07 +02:00