Nekotekina
ecd68dfc70
overlays: add "thread bits" to wait on and avoid lockup
...
Add TLS variable to store its own bit.
2020-02-27 19:14:08 +03:00
Nekotekina
d0b2eecc9a
fixed_typemap.hpp: polish move constructor a bit
...
GitHub, plz.
2020-02-27 19:14:08 +03:00
Nekotekina
d5c85f308a
fixed_typemap.hpp: forgot destructor
2020-02-27 13:04:12 +03:00
Nekotekina
f71cdb4eb8
g_fxo: implement logging for object creation/destruction.
...
Only logged at automated phase for initial/final processing.
2020-02-27 13:04:12 +03:00
Megamouse
ee46ad1ca9
move overlays code to headers
2020-02-26 23:43:18 +01:00
gamerforEA
762c106e19
sys_prx_.cpp: Fix RAII locks usage (without local variables they destroyed immediately after construction)
2020-02-27 00:38:55 +03:00
gamerforEA
93552a5958
Apply some Clang-Tidy fixes
2020-02-27 00:38:55 +03:00
gamerforEA
c0fbf3091e
Remove unnamed namespaces from headers
2020-02-27 00:38:55 +03:00
gamerforEA
49294a3dd2
Add missing include guards
2020-02-27 00:38:55 +03:00
RipleyTom
abfa303e07
Auto-updater minifix
2020-02-26 22:06:58 +03:00
Nekotekina
5094ab8283
Fix RSX Offloader thread name
2020-02-26 21:57:01 +03:00
Nekotekina
a0d2bc9769
named_thread: allow default constructor only with thread_name
...
In C++20, lambdas may be default-constructible allowing nasty stuff.
2020-02-26 21:23:30 +03:00
Nekotekina
e102dc2a94
Add message on exit if some thread are still waiting
2020-02-26 21:23:30 +03:00
Nekotekina
5e59f18720
fixed_typemap: implement need<> method
...
It may be used in constructors of other objects to assert a dependency.
It also helps to ensure reverse destruction order of that dependency.
2020-02-26 21:23:30 +03:00
Nekotekina
b35a5982e8
Fix one bug with MsgDialog thread (freeze on exit)
...
Forgot to check thread state
2020-02-26 21:23:30 +03:00
Eladash
4d3cdca7f6
Stub sys_spu_thread_group_set_cooperative_victims and syscall_253
2020-02-26 18:17:13 +00:00
Eladash
0d4f8ca234
fs: Make fs::get_dir_size able to report an error
2020-02-26 18:17:13 +00:00
kd-11
569e1c2df6
rsx: Fix typo. Noted by github user @gamerforEA
2020-02-26 19:40:35 +03:00
kd-11
6e9392fb45
rsx: Restructure ZCULL query triggers
...
- Both ZCULL stats and ZPASS stats require hardware queries, but
ZCULL stats should not contribute to ZPASS stats and vice versa!
- Disables hardware queries for ZCULL stats by themselves, we cannot
generate them correctly anyway and no game so far has been found to
actually use them. Should lessen the load on the backend for games
that do not actually require it.
2020-02-26 19:40:35 +03:00
Nekotekina
df1813b4e2
overlays: hotfix for waiting on thread_count
2020-02-25 23:43:05 +03:00
Nekotekina
ff16e678a5
Add thread_count instead of former thread pool
2020-02-25 23:16:55 +03:00
Nekotekina
982856e70d
overlays: remove unused threadpool
2020-02-25 22:56:50 +03:00
Nekotekina
144c20649f
Try to fix msg dialog breakage
2020-02-25 22:50:44 +03:00
Megamouse
e719bcf338
overlays: add layer modes to osk
2020-02-25 21:57:49 +03:00
Megamouse
3f4226b70e
overlays: Fix find and replace regression
2020-02-25 21:57:49 +03:00
Megamouse
620cfd5063
overlays: move code to overlay_utils.cpp
2020-02-25 21:57:49 +03:00
Megamouse
69b2e746fa
overlays: fix overlay_utils.h filter
2020-02-25 21:57:49 +03:00
Megamouse
2341749485
overlays: add overlay_osk.h
2020-02-25 21:57:49 +03:00
MSuih
33abcf74f2
Add information about boot process
2020-02-25 19:42:20 +03:00
Nekotekina
4e33ae319b
fixed_typemap.hpp: minor fixup
2020-02-25 18:27:05 +03:00
Nekotekina
b083edccd3
Threads: remove some unused code (remnants from thread spawn)
2020-02-25 15:57:57 +03:00
Nekotekina
b59bb16fad
Threads: removed outdated on_abort detection deemed unnecessary
...
May cause regressions.
2020-02-25 15:48:25 +03:00
Nekotekina
3f943945a7
Threads: Remove unused on_wait() detection to simplify code
2020-02-25 15:36:08 +03:00
Nekotekina
136d769895
Fix g_fxo->init internal logic for CTAD (use () not {})
...
Also improve comments to the functions.
2020-02-25 14:34:06 +03:00
Nekotekina
9c9c2eb2c9
Fix wrong g_fxo->init_crtp name, use just init<>
2020-02-25 14:07:50 +03:00
Nekotekina
318a364d09
Try to fix OSK
2020-02-25 14:03:13 +03:00
Nekotekina
fa02a04baa
Add g_fxo->init_crtp to simplify thread construction
2020-02-25 11:51:41 +03:00
Nekotekina
7eebe06931
Restore thread counter (world may be not ready yet)
...
Remove dumb 1300ms timeout.
2020-02-25 11:51:19 +03:00
kd-11
cd40bc8c61
overlays: Avoid race condition between rendering and layout operations for system widgets
...
- System widgets are callable from outside RSX code.
- Responding to draw requests while setup is in progress can cause malformed cached output
- Fixes glitched layouts for system message dialogs
2020-02-24 23:33:47 +03:00
kd-11
f6ebd88687
overlays: Ditch wstring for u32string
...
- Turns out wstring is not the same as u32string on windows.
2020-02-24 23:33:47 +03:00
MSuih
13ef0cc8c4
Fix native UI tooltip
2020-02-24 19:45:16 +01:00
MSuih
df5059b142
Change logging level for invalid disc path
2020-02-24 19:45:16 +01:00
Megamouse
f7666f44da
Untangle GUI and input includes
2020-02-24 16:31:01 +01:00
Megamouse
7b49249f5f
Input: Add config lerp factor for buttons and triggers
...
Adds new lerp factors to the keyboard pad handler In order to simulate triggers and analog buttons.
See "Analog Button Lerp Factor" and "Trigger Lerp Factor" in the yml in InputConfigs/Keyboard/.
Values Range from 0-100 as before, where 100 is instant press and 0 is never.
Currently I'm not planning any GUI element for this.
2020-02-24 08:56:57 +01:00
Megamouse
64ed2f1151
Input: use std::lerp instead of lerp template
2020-02-24 08:56:57 +01:00
Megamouse
17f335648c
Input: misc updates to some functions in PadHandler
2020-02-24 08:56:57 +01:00
Nekotekina
1dc2eb1cc8
Avoid deprecated av_register_all with version check.
2020-02-23 20:58:02 +03:00
Emmanuel Gil Peyrot
1a702de9e4
cellVdec: replace deprecated ffmpeg function
...
avcodec_decode_video2() is deprecated, now replaced with
avcodec_send_packet() and avcodec_receive_frame().
2020-02-23 20:21:59 +03:00
Nekotekina
f1241c572c
Fix some deprecation warnings (plunder cellAdec btw)
2020-02-23 20:21:59 +03:00
Eladash
522daf5eac
rsx: Fix NULL renderer
2020-02-23 19:57:55 +03:00