kd-11
7ebabddfe0
vk: Fix GPU hang
2023-06-30 18:38:14 +03:00
kd-11
a047ddffc0
vk: Restructure gpu labels and add them as an event backend
2023-06-30 18:38:14 +03:00
kd-11
92992a5406
vk: Use pipeline barriers for proper event sync
2023-06-30 18:38:14 +03:00
Eladash
f87db1ac14
System.cpp: Do not hold the watchdog forever for PPU LLVM compilation cancel
...
Protects against the case in which the LLVM workers deadlock themselves.
2023-06-29 12:12:56 +03:00
Eladash
363e498462
Remove overlay hack for PPU LLVM OVL precompilation
2023-06-29 12:12:56 +03:00
Eladash
a03dd44924
Empty kill and init callback before calling them
2023-06-29 12:12:56 +03:00
Eladash
554b27a82a
PPU LLVM: Implement SELF precompilation
...
Do not use PS3 memory for precompilation.
2023-06-28 18:34:33 +03:00
Eladash
7062ead4fd
PPU LLVM: Precompile all disc game data including PRX etc
...
Even if there is no EBOOT.BIN.
2023-06-28 18:34:33 +03:00
Eladash
5f2f084091
Savestate/IDM: Do not save unsavable containers
2023-06-28 18:34:33 +03:00
Eladash
a560121775
Fix Create PPU Cache
2023-06-28 18:34:33 +03:00
Dark
b0a346709e
RB3MidiGuitar.cpp: Support 5-Fret play
...
Rock Band 3 has support for playing the regular guitar mode with the
Pro Guitar. While the real MPA does not support this, the game accepts
it just fine so there's no harm in emulating it.
2023-06-27 20:11:10 +02:00
Megamouse
7b64cd2a8e
input/overlays: add option to lock overlay input to player one
2023-06-27 19:36:05 +02:00
kd-11
9ecfecb83e
Constify
2023-06-27 16:41:30 +03:00
kd-11
ec4565263d
Dump extensions info to the log
2023-06-27 16:41:30 +03:00
kd-11
ed1da364e5
vk: Fix a bunch of corner cases when syncing GPU and host memory
2023-06-27 16:41:30 +03:00
kd-11
942dbbc8fa
vk: Add explicit sync when doing copy_image_to_buffer
2023-06-27 16:41:30 +03:00
kd-11
3e8f9cbbf2
Add flags to handle sync domain with v2 events
2023-06-27 16:41:30 +03:00
kd-11
322b5dac79
Properly enable synchronization2 feature
2023-06-27 16:41:30 +03:00
kd-11
5a85fee3f1
Silence logspam about unused parameter
2023-06-27 16:41:30 +03:00
kd-11
ca472b6750
Silence log spam about copy ellision
2023-06-27 16:41:30 +03:00
Eladash
d34b3190f7
Make stopping emulation not pause or crash UI
...
* Make the UI and main thread available when stopping emulation.
* Make BlockingCallFromMainThread always execute, preventing bugs when it unexpectedly did not.
* Add error code for when starting emulation when Emu.Kill() is in progress.
2023-06-26 20:48:38 +02:00
Eladash
4f5348c7d4
Fix properly RSX replay thread stop bug
2023-06-26 20:48:38 +02:00
brian218
70ce7ee106
sys_fs: Fixed up one of sys_fs_unmount()'s error codes to match real system behavior
2023-06-25 09:08:20 +02:00
brian218
cf4ae38699
sys_fs: Implemented get_normalized_path()
2023-06-25 09:08:20 +02:00
kd-11
0a0ef50caf
Try to fix build
2023-06-23 15:21:17 +03:00
kd-11
e20f1587cd
Workaround for old compilers
...
Xcode is not yet c++20 compliant
2023-06-23 15:21:17 +03:00
kd-11
715e3856f2
vk: Update async compute (fast) to use the new sync API
2023-06-22 14:59:58 +03:00
kd-11
850166eca1
vk: Reimplement events using synchronization2 extension
2023-06-22 14:59:58 +03:00
Eladash
441fbd63bb
Fix PPU debug setting with PPU interpreter
2023-06-20 18:18:24 +03:00
Eladash
073b723c09
Fix Create PPU Cache
2023-06-19 13:59:56 +03:00
RipleyTom
e2bced978e
Move connect workaround to connect interface
2023-06-18 01:04:01 +02:00
kd-11
d5654d64d5
Nicer variable names
2023-06-16 15:29:36 +03:00
kd-11
06459eb37b
vk: Latch query copy requests to reduce number of vulkan commands used
2023-06-16 15:29:36 +03:00
Megamouse
d08fea551e
progress dialog fix
2023-06-16 10:30:27 +02:00
Megamouse
ec9e8916b1
evdev: don't release buttons while other buttons are still pressed
2023-06-15 22:39:30 +02:00
Megamouse
d3be8ee2b7
input: allow multiple key codes per button
2023-06-15 22:39:30 +02:00
Megamouse
16f869fe5a
logging: minor trace optimizations
2023-06-15 19:48:15 +02:00
Ani
5f8f86b5a7
Settings: Add Output Scaling to Home Menu
2023-06-15 01:22:15 +02:00
Ani
a78117e094
Settings: Enable hot-reloading of Output Scaling
2023-06-15 01:22:15 +02:00
Ani
f08d3e12ca
Settings: Remove PPU Interpreter (dynamic)
...
It has been unimplemented for a long while, so no point in displaying
it, it can be added once the feature is implemented again
2023-06-15 01:22:15 +02:00
Ani
57b9130cf7
Settings: Add Show PPU compilation hint
2023-06-15 01:22:15 +02:00
Ani
cce699a465
Settings: Enable Full Width AVX-512 by default
...
It is only known to cause performance hits in old Skylake-X AVX-512 CPUs
as opposed to the other AVX-512 enabled CPUs, so it should be enabled as
default
2023-06-15 01:22:15 +02:00
Megamouse
d662a39a12
PPUAnalyser: fix std::move nonsense
2023-06-14 11:05:00 +03:00
kd-11
49c6c2c529
vk: Do not hard-sync on first sign of fragmentation
...
- It is very likely that the resource would be available if we just waited a while for the GPU queue to clear.
- Instead of also discarding the current work, first check if we can get by without a hard sync.
2023-06-14 01:12:11 +03:00
kd-11
29f3eec957
vk: On pool recovery, rescan the subpool table in case a new pool really cannot be created
2023-06-14 01:12:11 +03:00
kd-11
c1d875d841
vk: Handle VK_ERROR_FRAGMENTATION when allocating descriptor pools
2023-06-14 01:12:11 +03:00
Megamouse
d28e3c4f08
np_handler: fix warning: check socket in discover_ip_address
2023-06-13 18:08:51 +02:00
Megamouse
cedfb95f9b
Loader: remove dead code
2023-06-12 19:35:15 +02:00
Megamouse
b436d2a7f4
input: add controller index to SDL controllers
2023-06-12 18:05:34 +02:00
RipleyTom
5d7e75c5d8
Fix EINVAL returned on connect call to connecting socket
2023-06-11 15:42:22 +02:00
Eladash
c0e97b4e96
Qt: Improve PS3 Binaries Decryption tool
2023-06-11 00:40:14 +02:00
brian218
b2842dcd52
System.cpp: Updated the definition of user-space LV2 CoreOS SELFs
2023-06-10 17:59:02 +02:00
Megamouse
c78c504043
overlays: update progress dialog workaround
2023-06-10 09:09:55 +02:00
kd-11
27349c5c69
vk: Cleaner approach to object lifetime management
2023-06-10 02:54:16 +03:00
kd-11
872aa2b358
vk: Improved OOM handling
...
- Don't aggressively delete surfaces unless we're really crashing
- Release barrier resources before destroying the surface in case of fatal crash
2023-06-10 02:54:16 +03:00
kd-11
72abc0f219
rsx: Minor annotations and refactoring
2023-06-10 01:36:10 +03:00
kd-11
4d565eade6
rsx: Drop format information from the vertex cache and use a simpler model that is much faster
2023-06-10 01:36:10 +03:00
kd-11
2df7e46cb1
rsx: Import robin-hood unordered map which is much faster than std
2023-06-10 01:36:10 +03:00
kd-11
105205312b
rsx: Rewrite the find method to avoid unnecessary allocations
2023-06-10 01:36:10 +03:00
kd-11
97f7461aa9
rsx: Allow the vertex cache to be enabled independently of MTRSX
2023-06-10 01:36:10 +03:00
kd-11
7e2eaf43ca
rsx: Capture stats about vertex cache performance
2023-06-10 01:36:10 +03:00
Eladash
d752ab0151
SPU/Debugger: Add RawSPU debug data
2023-06-09 14:07:37 +03:00
Eladash
c87a7cb2c0
PPU: Fix thread entry detection false positives
2023-06-09 14:07:37 +03:00
Megamouse
6aff2803e5
cellMsgDialog: Fix segfault when closing non-blocking Qt dialogs
2023-06-09 02:03:44 +02:00
Megamouse
0ebe832f8e
input: fix some warnings
2023-06-08 22:58:55 +02:00
Megamouse
769b69999f
fix whitespace
2023-06-08 21:15:39 +02:00
Megamouse
404d08ef6d
Qt: always use last boot path for game boot actions
...
The actual path caused the GUI to try to run elfs directly after booting a game from a loader.
2023-06-08 21:15:39 +02:00
Megamouse
11487cd591
System: fix config path in restore_on_no_boot
2023-06-08 21:15:39 +02:00
Megamouse
51a30977d2
System: use const ref for libs map
2023-06-08 21:15:39 +02:00
Megamouse
3f5bc3464d
Rename ProcureCurrentEmulationCourseInformation to GetEmulationIdentifier
...
This is much easier to understand in my opinion.
The old name just made me scratch my head whenever I read it.
2023-06-08 21:15:39 +02:00
brian218
ad22cf5051
unself.cpp: Always reset the old SELF header information before loading
2023-06-08 18:18:57 +02:00
Megamouse
8f66c50721
input: add pressure intensity toggle mode
2023-06-08 16:41:44 +02:00
kd-11
6f834e99d2
vk: Disable conditional rendering on MacOS
2023-06-06 22:05:54 +03:00
kd-11
86c7b31b6d
Force disable conditional render on macOS
2023-06-06 22:05:54 +03:00
Eladash
6d918b565f
PPU: Sleep after returning from thread entry function
2023-06-06 17:53:09 +02:00
Eladash
52575a44b2
sys_ppu_thread: Optimize joined thread notification
2023-06-06 17:53:09 +02:00
Eladash
d5eebd6ab4
debugger: Fix trailing spaces in PPU register dump
2023-06-06 09:48:27 +02:00
Eladash
9bd4426225
Fix _sys_interrupt_thread_disestablish with lingering thread copies
2023-06-06 09:48:27 +02:00
Eladash
4af0a33f1f
Fix sys_ppu_thread_detach/exit with lingering thread copies
2023-06-06 09:48:27 +02:00
Eladash
636bde6343
Logs: Fix trailing space, nbsp and unintended character
2023-06-06 09:48:27 +02:00
Eladash
16579e0b1f
Fix spu_thread::cleanup()
2023-06-06 09:48:27 +02:00
Megamouse
292d3faa9e
input: fix pad profile override with existing custom pad configs
2023-06-06 08:09:31 +02:00
Megamouse
6d2f7f6e54
sys_fs: fix map entry removal in destructor
2023-06-05 23:14:12 +02:00
brian218
48ffc19193
Update sys_usbd.cpp
2023-06-05 20:15:43 +02:00
brian218
c85775922e
sys_usbd: Implemented sys_usbd_unregister_extra_ldd()
2023-06-05 13:51:54 +03:00
brian218
da0c9c2ce9
sys_usbd: USB VID/PID logging format fixup
2023-06-05 13:51:54 +03:00
brian218
42b388317e
sys_ss: Further implemented Update Manager service for VSH
2023-06-05 13:51:54 +03:00
brian218
6a570ae57e
sys_fs: Implemented sys_fs_mount(prot=1) read-only mounting & fixed up some operation and permission checks
2023-06-05 13:51:54 +03:00
Elad Ashkenazi
2e4bf9ef1b
Update sys_timer.cpp
2023-06-04 01:26:24 +02:00
Elad Ashkenazi
ba9f55679d
Update sys_timer.cpp
2023-06-04 01:26:24 +02:00
Elad Ashkenazi
2c999a550b
Update sys_mutex.h
2023-06-04 01:26:24 +02:00
Elad Ashkenazi
805de248d3
Update sys_lwmutex.h
2023-06-04 01:26:24 +02:00
Elad Ashkenazi
1240874e41
Update sys_lwmutex.h
2023-06-04 01:26:24 +02:00
Elad Ashkenazi
feff50e7e0
Update sys_mutex.h
2023-06-04 01:26:24 +02:00
Eladash
c37fc73a02
PPU LLVM: Invalidate cache for testers
2023-06-02 08:54:46 +03:00
Eladash
d152537e50
sys_lwcond/cond/ppu_thread: Respect scheduler in various syscalls
2023-06-02 08:54:46 +03:00
Eladash
5d4e87373f
LV2: Make _sys_lwcond_destroy wait for lwmutex lock
2023-06-02 08:54:46 +03:00
Eladash
1c36156594
PPU LLVM: Fix LWSYNC according to cellSpursWakeup
2023-06-02 08:54:46 +03:00
Eladash
300701a06b
Make page faults entry enqueue and event atomic
2023-06-02 08:54:46 +03:00
Eladash
a776f15557
SPU: fix event count with ACK and mask write
2023-06-02 08:54:46 +03:00
Eladash
1c89f8a855
LV2/Timer: Fix ENOTCONN check of start timer
2023-06-02 08:54:46 +03:00
Eladash
81e4d9c2ee
LV2/TImer: Fix notification discard
2023-06-02 08:54:46 +03:00
Eladash
49be6be8f4
LV2/Timer: Make timers consistent
2023-06-02 08:54:46 +03:00
Eladash
b861a9c5d0
LV2: Implement set-priority thread requeue
2023-06-02 08:54:46 +03:00
Eladash
9828e6cafc
LV2: Push other-than-this thread to the back on priority set
2023-06-02 08:54:46 +03:00
Eladash
5d13978bbf
sys_lwcond: Implement TIMEOUT on lwmutex lock
2023-06-02 08:54:46 +03:00
Eladash
b844aecb9e
sys_lwmutex/mutex: Fix race on lock timeout
2023-06-02 08:54:46 +03:00
Eladash
f57c8c1c35
LV2: Unconditional Timer Synchronization Fix
2023-06-02 08:54:46 +03:00
kd-11
bbbc5f6e6c
rsx: Write a warning to the log if we decide to collapse surfaces to reduce VRAM usage.
2023-06-01 19:25:50 +03:00
kd-11
ac0c60b740
vk: Rename gc_wrapper_t to gc_callback_t which is more relevant
2023-06-01 19:25:50 +03:00
kd-11
f2f95a20a3
vk: Minor improvement to descriptor and garbage collector interaction
2023-06-01 19:25:50 +03:00
kd-11
12f213ffad
rsx: Trim the number of in-flight invalidated resources (temp cache)
...
- This drastically improves memory allocation behavior.
Holding too many invalidated resources can lead to a cascading overallocation error as old resources hold refs to even older resources and nothing gets deleted.
2023-06-01 19:25:50 +03:00
Megamouse
66e1cf96e2
Qt/Loader: Let users choose which packages to install
2023-06-01 16:34:23 +02:00
Elad Ashkenazi
c3b7229fbb
Extra PS3_EXTRA fix
2023-06-01 06:43:33 +02:00
Megamouse
f96a0ce9d2
Trophies: Add more sanity checks to pugixml backend
2023-05-30 19:11:57 +02:00
kd-11
6a2ea62f82
vk: Minor cleanup
2023-05-30 16:50:08 +03:00
kd-11
6cfd817b5a
vk: Fix descriptor-related crashes
2023-05-30 16:50:08 +03:00
kd-11
c99ef4b09f
vk: Refactor descriptor handling
2023-05-30 16:50:08 +03:00
kd-11
7e131f8fb6
rsx/util: Add some c++ guards around simple_array class
2023-05-30 16:50:08 +03:00
kd-11
10171c19c3
vk: Unify descriptor allocation
...
- Pool management should be a backend implementation detail.
2023-05-30 16:50:08 +03:00
Megamouse
4aee1b378a
overlays: fix media list dialog pad interception
2023-05-28 11:56:49 +02:00
Elad Ashkenazi
9f5e3ecb8c
rsx/overlays: Fix crash on stop
2023-05-26 07:42:29 +02:00
Megamouse
f89d3d5077
cellCamera: don't switch to main thread unless really necessary
2023-05-25 21:30:27 +02:00
Megamouse
145e059cdf
input: allow to remap emulated pads dynamically
2023-05-25 20:37:15 +02:00
Megamouse
22916a7e8d
Qt/input: limit some usb device configs to 2 players
2023-05-25 20:37:15 +02:00
Megamouse
5cc2a7c09e
input: fix emulated pad stick y axis
2023-05-25 20:37:15 +02:00
Megamouse
e584653b72
input: move emulated pad handling to config class
2023-05-25 20:37:15 +02:00
Megamouse
f4b346a6f8
input: fix emulated button map accessors
2023-05-25 20:37:15 +02:00
Megamouse
cb1b71bc57
Qt: fix emulated button reset
2023-05-25 20:37:15 +02:00
Megamouse
95060efb7d
input: add support for multi-assignment in emulated pads
2023-05-25 20:37:15 +02:00
Megamouse
b82dd61a0c
input: add emulated axis configs
2023-05-25 20:37:15 +02:00
Megamouse
d652a81078
Qt/input: add emulated pads settings dialogs
2023-05-25 20:37:15 +02:00
Megamouse
fc76d2df38
input: list actual nodes instead of button ids
2023-05-25 20:37:15 +02:00
Megamouse
1a98682ea0
input: add enum count for enumeration
2023-05-25 20:37:15 +02:00
Megamouse
64437a531b
input: use global configs
2023-05-25 20:37:15 +02:00
Megamouse
4d26170bd6
input: add emulated_pad_config template class
2023-05-25 20:37:15 +02:00
Megamouse
36831a3d6a
input: add gem ds3 config file
...
No sticks yet
2023-05-25 20:37:15 +02:00
Megamouse
e7c0df4eac
input: add usio config file
...
No sticks yet
2023-05-25 20:37:15 +02:00
Megamouse
a296c19633
input: add ghltar config file
...
No sticks yet
2023-05-25 20:37:15 +02:00
Megamouse
8b5f7a0770
input: add turntable config file
...
No sticks yet
2023-05-25 20:37:15 +02:00
Megamouse
7b9a36be7d
input: add buzz config file
...
Adds a buzz.yml and implements a generic way to save actual DS3 mapping independent of pad handlers
2023-05-25 20:37:15 +02:00
shinra-electric
cbe1628cf2
remove deprecated VK_MVK_moltenvk and replace with mvk_config.h
...
VK_MVK_moltenvk extension has been removed.
Will try with `mvk_config.h`, but it this doesn't work `mvk_deprecated_api.h` should work instead.
2023-05-25 08:54:44 +02:00
Megamouse
38f9332905
overlays: Fix width of graph labels
2023-05-25 06:37:31 +02:00
Megamouse
96f1f9e45e
overlays: fix missing sound autorepeat fence.
...
The other instances aren't realistically autorepeating
2023-05-25 06:37:31 +02:00
kd-11
976a3ed3bf
Formatting fixes
2023-05-23 14:37:13 +03:00
kd-11
98c0944419
vk: Fix some sampler load crashes
2023-05-23 14:37:13 +03:00
kd-11
bf78b197a3
vk: Reimplement sampler disposal using the new pool mechanism
2023-05-23 14:37:13 +03:00
kd-11
427960fee8
vk: Fix compiler warning
2023-05-23 14:37:13 +03:00
kd-11
75da7d80dc
vk: Reimplement sampler caching to take border color into account
2023-05-23 14:37:13 +03:00
kd-11
7eb730ee03
vk: Integrate custom border colors when supported
2023-05-23 14:37:13 +03:00
kd-11
4b9fa7a417
vk: Require customBorderColorWithoutFormat feature
2023-05-23 14:37:13 +03:00
kd-11
6163acc8c5
vk: Add border color extension detection
2023-05-23 14:37:13 +03:00
kd-11
4add5b6bf0
vk: Minor refactoring of optional features
2023-05-23 14:37:13 +03:00
Megamouse
1ae3b37fbe
sceNpTrophy: set timestamps
2023-05-23 08:22:13 +02:00
Elad Ashkenazi
23c710cf53
CPUThread.cpp: Fix an emulator crash on game exit
2023-05-22 20:04:49 +03:00
Eladash
e29b81c444
Debug Fixes
2023-05-22 20:04:49 +03:00
Megamouse
73dba6d6e0
overlays: do not play sounds on fast auto repeat
...
Currently there's a nasty sound stakkato going on if you keep the dpad pressed to the left in the home menu for example.
2023-05-20 18:27:26 +02:00
Megamouse
09e845a539
input: add sanity checks for buf_size
...
also improve log spam
2023-05-20 13:24:43 +02:00
RipleyTom
cbb1b1f28e
Fix spu_fm
2023-05-19 18:26:42 +03:00
Elad Ashkenazi
59f9938849
cellSpurs: Fix ready count
2023-05-19 14:18:51 +03:00
Megamouse
8676913e73
input: use enum class for pad connection
2023-05-18 18:52:25 +02:00
Megamouse
2ef120fdcd
input: add option to keep pads connected
2023-05-18 18:52:25 +02:00
kd-11
08c1a14b13
Fix init order for gpu_debug_marker
2023-05-18 18:10:46 +03:00
kd-11
4a138aa918
Fix init order
2023-05-18 18:10:46 +03:00
kd-11
793a21a825
rsx: Fix build after variable rename
2023-05-18 18:10:46 +03:00
kd-11
6fd76054b4
vk: Rename the debug marker to something more appropriate
2023-05-18 18:10:46 +03:00
kd-11
c80be9e54b
Fixup - command buffer wrapping
2023-05-18 18:10:46 +03:00
kd-11
56ebae773c
vk: C++-ify the debug marker sync object member names
2023-05-18 18:10:46 +03:00
kd-11
fad6647255
vk: Do not use raw GPU command buffer handles for any wrapped API calls
...
- There is no reason to do so and we seriously hamper debugging efforts
2023-05-18 18:10:46 +03:00
kd-11
edb2b60f2f
rsx: Perform region clipping in a normalized coordinate space
...
- Depending on what the caller wants to do, the scaling will be different for src vs dst calculations.
We cannot reliably handle this in the callee
2023-05-18 18:10:46 +03:00
kd-11
d894ccb4ea
vk: Preliminary support for debug markers
2023-05-18 18:10:46 +03:00
Megamouse
54e6cf95d7
Fix some warnings
2023-05-18 12:41:22 +02:00
Megamouse
f8009451a9
rpcn: fix some msvc warnings
2023-05-18 09:15:49 +02:00
Dark
24dde5d42b
Implement support for emulating Rock Band 3's MIDI Pro Adapter
...
Co-authored-by: Megamouse <studienricky89@googlemail.com>
2023-05-17 22:59:44 +02:00
Joshua de Reeper
8e15afb2c4
sys_usbd: Emulate Disney Infinity Base
2023-05-17 21:26:58 +02:00
RipleyTom
f11770b88b
Better accuracy for FREST/FRSQEST ( #13863 )
2023-05-15 17:20:47 +01:00
Eladash
514ef9a9c5
SPU Executable Code Dumping Tool
2023-05-15 14:11:13 +03:00
kd-11
57070aa8ff
vk: Minor refactor in OOM handler to skip scans if we already found a match
2023-05-15 12:28:19 +03:00
kd-11
e06c6b5ac8
vk: Refactor memory allocators to easily inspect device properties
2023-05-15 12:28:19 +03:00
kd-11
a6dada6c36
vk: Use gc to clean up stale surface cache resources instead of fudging with frame counters.
...
- This whole surface cache garbage management needs to be merged with gc
2023-05-15 12:28:19 +03:00
kd-11
a058cf2ff0
vk: Rewrite draw call setup sequence to avoid OOM situations introducing stale descriptors
2023-05-15 12:28:19 +03:00
kd-11
142d25c0d7
vk: Don't erase texture cache images directly. Use gc instead.
2023-05-15 12:28:19 +03:00
kd-11
4e6231a321
vk: Implement max VRAM override in config
2023-05-15 12:28:19 +03:00
kd-11
29d87a3743
vk: Refactor the vram exhausted handler
...
- Mostly a de-uglify pass
2023-05-15 12:28:19 +03:00
kd-11
9a2b06f35f
vk: Refactor vram exhausted handler to minimize risk of UAF hazards
...
1. A hard sync before starting the routines on fatal will release some memory going in improving chances of a successful eviction elsewhere.
2. A hard sync on exit cleans up, ensuring no UAF (with caveats)
2023-05-15 12:28:19 +03:00
kd-11
4e2f3a289c
vk: Tune resource quotas
...
- Tuned for 1G. The system requires about 128M for scratch and system data.
2023-05-15 12:28:19 +03:00
kd-11
db70cd058a
vk: Improve spill robustness
...
- Removes some incorrect checks that asserted incorrectly
- Make the collapsible check recursive
2023-05-15 12:28:19 +03:00
kd-11
b6cdf18165
vk: Lower scratch dimension alignment to 256 to minimize wastage
2023-05-15 12:28:19 +03:00
kd-11
7d710cbf8c
rsx: Do not allow 'compatible' check to pass if the size does not match
...
- It's not worth it. We end up with a mish-mash of internal configuration parameters that don't match the surface.
Maybe with more abstraction it can work, but there is little benefit.
2023-05-15 12:28:19 +03:00
Elad Ashkenazi
a3271b08b7
System.cpp: Make boot of disc updates more strict
2023-05-14 17:47:56 +02:00
oltolm
b0de5970ce
Get the font directory from Windows ( #13825 )
2023-05-13 20:58:59 +02:00
Elad Ashkenazi
db7f84f9f8
SPU/PPU/Debugger: Ensure ascending stack frames ( #13833 )
...
* PPU/Debugger: Ensure ascending stack frames
* SPU/Debugger: Ensure descending stack frame pointers
2023-05-10 11:23:09 +03:00
Megamouse
58140e1d3a
Fix some warnings
2023-05-09 07:55:46 +02:00
Eladash
d13c0ee393
SPU/Debugger: Detect stack-less functions
2023-05-08 19:27:21 +03:00
Elad Ashkenazi
ead8e5e0c3
PPU LLVM: Unbreak function linkage
2023-05-07 14:11:37 +03:00
RipleyTom
195de818b6
Fix rpcn config reset
2023-05-06 19:48:40 +02:00
RipleyTom
5c0113ce59
Deterministic FREST and FRSQEST
2023-05-06 12:59:34 +03:00
oltolm
db2341c842
fix ASAN error: make overlay_pass destructor virtual
2023-05-06 10:17:58 +02:00
brian218
6a41b22a1b
sys_fs: Further implemented cellFsArcadeHddSerialNumber (0xc0000007)
2023-05-06 10:26:37 +03:00
brian218
5696065727
sys_fs: Improved sys_fs_fcntl(0xc0000015 and 0xc000001c) by integrating duplicate code
2023-05-06 10:26:37 +03:00
brian218
e9281843bf
sys_fs: Implemented mount_info_map to keep proper track of mounted devices
2023-05-06 10:26:37 +03:00
brian218
43184a271f
sys_fs: Improved lv2_fs_object constructor
2023-05-06 10:26:37 +03:00
brian218
a7e1bc34de
sys_fs: Improved the functionality of lv2_fs_object::get_mp() and the efficiency of mount&newfs syscalls
2023-05-06 10:26:37 +03:00
brian218
98c46f7eb0
sys_game: Fixed potential bugs in sys_game_get_system_sw_version()
...
sys_game: Implemented sys_game_set_system_sw_version()
2023-05-06 10:26:37 +03:00
Megamouse
0b628cb50e
cellPamf: Add missing error code
2023-05-06 06:31:58 +02:00
kd-11
3947250daa
Whitespace fix
2023-05-05 16:59:06 +03:00
kd-11
96be211c88
gl: Fix typeless casts
2023-05-05 16:59:06 +03:00
kd-11
b00b8ae71b
rsx: Allow swizzle flag to propagate as an override to surface properties
2023-05-03 01:26:14 +03:00
kd-11
45f416c4f1
rsx: Apply swizzle flag on data source as well
...
- The fact that the attribute is tacked on to the dest is a semantic error.
It's the context that is swz\ln, not the source or dest. They both are one or the other.
2023-05-03 01:26:14 +03:00
kd-11
c58149f5b6
vk: Propagate swizzle flag in hw blit engine
2023-05-03 01:26:14 +03:00
kd-11
579a6c9311
rsx: Add a comment explaining the barycentric interpolation change
2023-05-02 20:46:39 +03:00
kd-11
08e7a23121
vk: Improved attribute interpolation for NVIDIA
2023-05-02 20:46:39 +03:00
RipleyTom
bf190fd3d8
Fix deadlock in games_config
2023-05-02 07:51:22 +02:00
Ani
9ab4802d07
gl: Fix blur_intensity GL_INVALID_OPERATION error
...
blur_intensity is a float, so the cast needs to be f32 instead of s32
2023-04-30 12:02:14 +03:00
Megamouse
7bec3b30b7
Qt: Allow parsing games.yml during gameplay
...
There is no need to restrict this anymore
2023-04-28 17:16:04 +02:00
Megamouse
ad5a62b62d
Loader: split add_only into own function
...
The new code does not require any modifications apart from loading vfs
2023-04-28 17:16:04 +02:00
Elad Ashkenazi
5cf80c05a5
savestates:/sys_spu: Fix join saving
2023-04-28 16:13:15 +03:00
Megamouse
eb5ea82bb1
Qt: Fix data race and undefined behaviour in games_config
2023-04-27 08:42:28 +02:00
Megamouse
cd9ff08235
Decrease some include madness
2023-04-26 21:37:44 +02:00
Megamouse
a639772dfe
Qt: async game list parsing
2023-04-26 18:07:16 +02:00
kd-11
7feb13671a
rsx: Fix up the framebuffer width if the pitch fits scissor but not the clip width
2023-04-25 13:07:12 +03:00
Ivan Chikish
45fecf0059
SPU LLVM: disable AVX2 shift intrinsics
...
Was incorrectly checked.
2023-04-23 18:36:45 +03:00
Ivan Chikish
bb8e43f16c
SPU LLVM: fixup custom LICM pass
2023-04-22 03:07:06 +03:00
Megamouse
2c71d08ea2
Emu: Cache games.yml and only save when necessary
2023-04-21 20:18:24 +02:00
Megamouse
500f7901ac
unself: rename SCEVersionInfo to version_header
2023-04-21 17:56:25 +02:00
Megamouse
a770eaf500
unself: rename AppInfo to program_identification_header
2023-04-21 17:56:25 +02:00
Ivan Chikish
1041284384
SPU LLVM: sink stores deeper in custom LICM pass
2023-04-21 18:11:59 +03:00
Megamouse
6555de6ef5
fix warnings
2023-04-21 16:41:06 +02:00
Eladash
a1741f21cc
Optimize AddGamesFromDir a bit
2023-04-21 12:14:44 +02:00
Eladash
76a36f45bf
Reduce IO With Game Library Loading
2023-04-21 12:14:44 +02:00
Ivan Chikish
183bea3b98
SPU LLVM: upgrade custom DSE pass
2023-04-20 11:12:31 +03:00
kd-11
6981cbb985
formatting
2023-04-19 14:21:15 +03:00
kd-11
fdfcc6c5ea
gl: Refactor attachment clear logic
...
- Make the whole thing a standalone command to avoid unnecessary state meddling.
2023-04-19 14:21:15 +03:00
Ivan Chikish
1f19804cab
BufferUtils: fix SSE2 path for byteswaps
2023-04-18 16:46:18 +03:00
kd-11
9ff6003dfc
rsx: Add Ultra shader precision setting for costly accuracy settings
2023-04-18 16:25:16 +03:00
kd-11
f725ea7d0d
vk: Promote barycentric interpolation to 64-bit
2023-04-18 16:25:16 +03:00
Ivan Chikish
39d17a94c6
SPU LLVM: make savestates unsavable inside the code
2023-04-18 12:19:15 +03:00
Ivan Chikish
8153e5338f
SPU LLVM: optimize register stores
...
Custom implementation of DSE+LICM
2023-04-18 12:19:15 +03:00
RipleyTom
999caea021
Implement sceNpManagerGetCachedInfo
2023-04-17 21:13:44 +02:00
shockdude
b70665865f
Invert the DJ Hero Turntable crossfader axis bind.
...
On Xbox 360 turntables, Crossfade Left is Y Down, Crossfade Right is Y Up.
Also simplify turntable/left stick input.
2023-04-16 13:21:57 +02:00
shockdude
6a9e0c52c3
Round squircled axis values to nearest whole number
2023-04-16 10:41:44 +02:00
Ivan Chikish
44b3709d1d
SPU LLVM: use volatile stores for PC update
2023-04-15 12:40:59 +03:00
Ivan Chikish
ba29f0ccd1
SPU LLVM: use atomic loads in read channel count
2023-04-14 13:36:04 +03:00
Ivan Chikish
3473e19508
SPU LLVM: fix savestate safety guards
...
Volatile was removed since it prevented optimizations.
2023-04-14 07:26:30 +03:00
Ivan Chikish
22bd7dcc42
PPU LLVM: disable DSE pass and use volatile store/loads
2023-04-14 07:26:30 +03:00
Eladash
79d09d02ed
Add savestate buttons to home menu
2023-04-13 20:46:37 +02:00
Megamouse
a6313fa46c
cellMic: fix mic type regression
2023-04-13 20:00:05 +02:00
Megamouse
2a7431bd61
cellMic: fallback to proper sampling rate if necessary
2023-04-13 20:00:05 +02:00
Megamouse
90851459c8
cellMic: change some log levels
2023-04-13 20:00:05 +02:00
Megamouse
27c9bf137c
cellMic: fallback to 4,2,1 channels by default
2023-04-13 20:00:05 +02:00
Megamouse
2205790dd4
cellMic: add some error checks
2023-04-13 20:00:05 +02:00
Megamouse
0115c2f70a
cellMic: minor format changes for readability
2023-04-13 20:00:05 +02:00
kd-11
47b65868f4
Try even lower
2023-04-12 18:47:14 +03:00
kd-11
8735a06f3c
vk: GTX970 workaround
2023-04-12 18:47:14 +03:00
RipleyTom
d35fecbeea
Forces deterministic FP operations when online
2023-04-12 15:31:36 +03:00
Eladash
0e388639cc
Loader: Make executable analyzation not halt UI when launching games
2023-04-12 15:18:50 +03:00
RipleyTom
17e6ad1fe8
Fix deref in cellSaveData log
2023-04-12 11:58:24 +02:00
Joshua de Reeper
86b3229746
Skylander Portal: Trap Team Audio Transfers
2023-04-11 20:04:51 +02:00
Ivan Chikish
06b0e35fb9
Update to LLVM 16.0.1
...
Fix Zen4+ AVX-512 detection
2023-04-11 12:13:09 +03:00
oltolm
6fbca1acfd
remove unnecessary pointer bitcasts
2023-04-09 12:45:18 +03:00
RipleyTom
0e8b0e414a
Improve cellMic and sys_usbd thread scheduling
2023-04-07 23:36:32 +02:00
headassbtw
ec3114d6d8
Add alternate 3D display modes ( #13582 )
2023-04-07 20:08:07 +02:00
Megamouse
60fc51ed22
cellGcm: add more enums
2023-04-07 19:40:21 +02:00
Megamouse
603b775f4a
llvm: fix submodule path
...
- Use official llvm repo
- Move llvm to 3rdparty
- Ignore SPIRV submodules in CI
2023-04-07 18:25:59 +02:00
kd-11
964ce3d6aa
rsx: Add a clip_width workaround for some buggy games
2023-04-07 12:39:23 +03:00
Ivan Chikish
fb88e1c1c9
Update to LLVM 16.0.0, switch to upstream LLVM
2023-04-06 10:19:31 +03:00
Elad Ashkenazi
c6ab1aa227
Fix emulator crash when stopping emulation after being paused ( #13530 )
2023-04-05 21:53:01 +02:00
brian218
8a509afc20
sys_fs: Implemented CELL_FS_PATH path-as-device support
2023-04-05 18:08:55 +02:00
brian218
6a95e0877b
sys_fs: Fix warning C6262
2023-04-05 18:08:55 +02:00
brian218
28c37ab465
sys_fs & VFS: Misc bug fixes
2023-04-05 18:08:55 +02:00
Megamouse
3e556c710b
cellMusicExport: first implementation
2023-03-31 15:25:21 +02:00
Megamouse
4289ffef1c
cellPhotoExport: add funcFinish check
2023-03-31 15:25:21 +02:00
RipleyTom
0c051a83a7
Fix mic thread usage
2023-03-30 08:14:28 +02:00
kd-11
82dedb1fbb
vk: Fix vendor detection for apple
2023-03-29 17:31:06 +03:00
kd-11
04c0f309be
vk: Obey safe/unsafe hint for D16F emulation
2023-03-29 17:31:06 +03:00
RipleyTom
8408d51359
Increase delay for GHL and TT int transfers
2023-03-29 11:25:18 +02:00
Megamouse
a8ada492b2
cellMic: fix registration index
2023-03-28 20:26:04 +02:00
Megamouse
55d6ee65ae
cellAudio: silence cellAudioSendAck and add pseudo code for it
2023-03-28 20:26:04 +02:00
Megamouse
69ecf8aea7
cellAudio: re-use event_sources array
2023-03-28 20:26:04 +02:00
Megamouse
f2b51668b4
cellMic: use fixed index for devices
2023-03-28 20:26:04 +02:00
Megamouse
c2527c9e1b
cellMic: wait for registration of multiple input devices
2023-03-28 20:26:04 +02:00
Megamouse
0bcd45c1d4
cellMic: add some additional error check and silence log spam
2023-03-28 20:26:04 +02:00
Megamouse
ecf0022fd1
cellMicGetSignalState: fake some more values
...
Maybe this improves the mic signal even more
2023-03-28 20:26:04 +02:00
RipleyTom
0f45a8c180
Fix inaccuracies pointed out by PVS-Studio
2023-03-25 08:45:30 +01:00
kd-11
ad3e740c09
vk: Separate vertex and fragment stage push constant updates for overlays
2023-03-23 21:14:23 +03:00
Elad Ashkenazi
7e6cc02e09
Fix an emulator crash in Emulator::SaveSettings ( #13567 )
2023-03-21 10:12:39 +01:00
RipleyTom
7000ef4471
Fix timeout spam from signaling
2023-03-19 22:31:50 +01:00
Eladash
0beda6fa89
Savestates: Fix deadlock on savestate load
2023-03-18 12:07:17 +03:00
Eladash
a41d2e43fd
cellFsReaddir: Fix termination sequence
2023-03-18 12:07:17 +03:00
RipleyTom
c98158b460
Add buf_to_hexstring
2023-03-18 01:51:35 +01:00
RipleyTom
02a53c582c
Invite changes
2023-03-18 01:51:35 +01:00
RipleyTom
192f4825a2
Fix recvn high cpu usage
2023-03-17 23:50:40 +01:00
RipleyTom
bcce3acd5f
Signaling: report status inactive on unknown connection
2023-03-17 17:58:56 +01:00
RipleyTom
8cd6b9275a
Fix timestamps in signaling_handler
2023-03-17 17:07:25 +01:00
oltolm
cf5346c263
use new LLVM API in SPURecompiler
2023-03-12 10:11:06 +03:00
Ivan Chikish
776b3b5efa
SPU LLVM: fix regression from #13500
...
Fixes #13526
2023-03-11 19:48:55 +03:00
oltolm
520524285a
llvm: update code to new API ( #13500 )
...
* llvm: update code to new API
* llvm: remove OLDLLVM define
2023-03-11 01:57:21 +03:00
RipleyTom
1b7b59466d
Add missing spinning icon from resources
2023-03-09 22:34:23 +01:00
Elad Ashkenazi
e45e9c20dd
PPU: Do not break on unexpected TOC ( #13490 )
2023-03-09 16:53:44 +03:00
RipleyTom
450cb1771c
Add better error handling for RequestSignalingInfos
2023-03-08 18:25:26 +01:00
RipleyTom
f7a3d45c2c
Use NBIO for RPCN
2023-03-08 13:11:33 +01:00
Eladash
65eb625843
cellSaveData: Slow save completion
2023-03-07 13:01:21 +01:00
Megamouse
05064dfaf4
cellVdec: revert RGBA alignment change
2023-03-05 22:49:49 +01:00
Megamouse
425610b98a
Use win_error for WSAGetLastError
2023-03-05 22:49:49 +01:00
Megamouse
0d34b97948
overlays: apply message fade in during lifetime extension if necessary
2023-03-05 02:55:59 +01:00
Megamouse
c6426245e4
overlays: refresh existing compile message expiration
2023-03-05 02:55:59 +01:00
Megamouse
6fe41870ab
overlays: properly remove outdated messages from the queue.
...
Fixes zombie item glitch if a newer message has shorter duration than the older message
2023-03-05 02:55:59 +01:00
Megamouse
2d4e02f277
overlays: add ppu compile message if the progress dialog is unavailable
2023-03-05 02:55:59 +01:00
Megamouse
92ae57c9ee
Windows: log more descriptive errors
2023-03-04 18:34:56 +01:00
Elad Ashkenazi
8bc92a2cbb
VFS: Fix mounting non-existant paths ( #13488 )
2023-03-04 17:12:45 +01:00
RipleyTom
2de4c03faa
Fix wolfssl connect
2023-03-03 22:51:01 +01:00
Megamouse
1d7a00666e
rpcn: throw exception when using rpcn features without a proper config
2023-03-03 11:30:39 +01:00
Megamouse
69ebdfd689
cellMic: random improvements
2023-03-03 08:27:42 +01:00
kd-11
a3ededdcf1
rsx: Implement deferred buffer allocations for GPU write
2023-03-02 12:48:58 +03:00
Megamouse
73b5b9d7b7
cellRtc: fix out of bounds write
...
Turns out you should listen to warnings once in a while...
sprint actually wrote more than 3 characters into the microDigits buffer !!!
2023-03-01 10:15:21 +01:00
kd-11
0a9d646bd7
rsx: Workaround for clang build
2023-03-01 01:10:06 +03:00
kd-11
24edfe2190
rsx: Use simple_array for basic array of integers
...
- Some methods are getting spammed every draw call
2023-03-01 01:10:06 +03:00
kd-11
0bb8127372
rsx: Use emplace when constructing in-place.
...
- Unexpectedly high gains for msvc builds. GCC doesn't care, clang shits itself.
2023-03-01 01:10:06 +03:00
kd-11
1b8a69154f
rsx: Use non-owning container to ellide a derpy allocation with msvc
2023-03-01 01:10:06 +03:00
illusion0001
f2155b49e2
Debugger: show CIA in register view ( #13462 )
2023-02-28 00:30:23 +01:00
Eladash
62c9b99e72
Update SPUThread.cpp
2023-02-27 14:17:05 +01:00
Elad Ashkenazi
2a344e1d87
cellMsgDialog: fix use-after-free
2023-02-27 14:17:05 +01:00
Megamouse
ae14aa991d
overlays: hotfix for return_code lifetime
2023-02-27 12:04:10 +01:00
Megamouse
2885c8a4ab
cellSaveData: get rid of g_last_user_response
2023-02-27 10:24:06 +01:00
oltolm
1800faf0dd
cellVdec.cpp: use lock_unlock instead of lock_guard
2023-02-26 22:20:07 +03:00
oltolm
19ded3809f
fix out-of-bounds in VKGSRenderTypes.hpp
2023-02-26 22:20:07 +03:00
oltolm
40cd255051
fix: back() called an empty string in PPUThread.cpp
2023-02-26 22:20:07 +03:00
oltolm
ad4677a67c
fix use after move in cellVdec.cpp
2023-02-26 22:20:07 +03:00
RipleyTom
d9e0d016c6
Fix for Windows ENOTCONN on connecting socket
...
Fixes Windows returns ENOTCONN when using recvfrom/sendto on connecting socket instead of the expected EAGAIN.
2023-02-26 10:35:20 +01:00
kd-11
c570fd03d1
rsx/overlays: Handle corner case where thread signal happens just before pop_all is called.
2023-02-26 02:30:16 +03:00
kd-11
1e0565f17b
rsx/overlays: Fix emu close
2023-02-26 02:30:16 +03:00
Megamouse
e46dba43ad
config: try to fix float locale issues
2023-02-25 11:23:07 +01:00
RipleyTom
1a00341e6b
Forces local IP to bind address if set
2023-02-25 10:38:19 +01:00
kd-11
3388c8ed09
overlays/manager: Explicit ctor for the input context
2023-02-24 00:46:53 +03:00
kd-11
6d4967ffef
[overlays] Implement input suspend+resume
...
- Tested with OSK + home menu. Requires hacks to enable this setup so it's mostly an academic achievement.
2023-02-24 00:46:53 +03:00
kd-11
b27366e1e6
rsx/overlays: Enable input hijacking
2023-02-24 00:46:53 +03:00
kd-11
95a29b5d1d
rsx/overlays: Fix clang/msvc build
2023-02-24 00:46:53 +03:00
kd-11
d320867569
rsx/overlays: Add a name to the input thread context
2023-02-24 00:46:53 +03:00
kd-11
aabd388070
rsx/overlays: Remove some unused thread declarations
2023-02-24 00:46:53 +03:00
kd-11
7db6594358
rsx/overlays: Use lf_queue for a lock-free stack implementation
2023-02-24 00:46:53 +03:00
kd-11
388ca1c645
rsx/overlays: Fix build
2023-02-24 00:46:53 +03:00
kd-11
7c04b00e2b
rsx/vk: Remove stale include
2023-02-24 00:46:53 +03:00
kd-11
dac0644f07
rsx/overlays: Fill in the user response when message dialog input loop exits and we're in blocking mode
...
- Avoids a race condition caused by the "blocking" call only updating results on cleanup/close
2023-02-24 00:46:53 +03:00
kd-11
7d103fe0f0
rsx/overlays: Fix crash
2023-02-24 00:46:53 +03:00
kd-11
901d9f3f6e
rsx/overlays: Simplify attach-thread-input API
...
- Restructure the inputs to encourage shorter input signature.
2023-02-24 00:46:53 +03:00
kd-11
ddc9e74aa8
rsx/overlays: Putting it all together
...
- Migrate dialogs with input-only threads to use the unified input
system
2023-02-24 00:46:53 +03:00
kd-11
12690de9de
rsx/overlays: Refactor and implement callbacks for input token
2023-02-24 00:46:53 +03:00
Megamouse
6b30cdac09
Use u64 for system_time_t, as s64 doesn't make much sense in a microsecond context.
2023-02-22 23:57:20 +01:00
Megamouse
ccb7528a59
fix some warnings
2023-02-22 23:57:20 +01:00
Megamouse
1040757556
patch_manager: add ability to add dynamic patches
2023-02-22 01:17:36 +01:00