Nekotekina
f72971f19f
Implement named_thread_group
2020-02-29 16:55:25 +03:00
kd-11
eb140c52a4
rsx: Reset ZCULL statistics at the end of a frame
...
- Workaround for games that leak zpass/zstats.
The information is useless anyway without a clear op so it should be fine.
2020-02-29 14:23:52 +03:00
kd-11
198c84cabf
rsx: Fix zcull clear command; do not clear ZPASS when ZSTATS is cleared.
2020-02-29 14:23:52 +03:00
Eladash
5a73943be6
Fix sys_timer_destroy
...
Also some cleanup.
2020-02-29 13:06:14 +03:00
Eladash
34a0c3f488
cellSaveData: Add error param 72, 73 checks for file write ops
2020-02-29 13:06:14 +03:00
Eladash
8762f2a588
Use more starts_with
2020-02-29 13:06:14 +03:00
Eladash
d7dd4897f8
Allow 0x30000000 > addr >= 0x2000000 ppu loader exec allocations (workaround)
2020-02-29 13:06:14 +03:00
Nekotekina
a84077f174
sys_ss: use BCryptGenRandom on Win32
2020-02-29 12:15:42 +03:00
kd-11
08f3460365
vk: Fixup for RCB/RDB in special cases
...
- Images must be in TRANSFER_DST_OPTIMAL or GENERAL layouts to call the image upload routines.
2020-02-29 12:13:11 +03:00
Nekotekina
be0e4e9879
Move Progress Dialog Server to named_thread
...
Make it a global variable, but that can be actually destructed at exit.
2020-02-28 21:59:56 +03:00
Nekotekina
799c3f9708
Remove global thread counter (again)
...
Seems fine without it now.
2020-02-28 21:50:19 +03:00
Nekotekina
490f58ff3c
Try to purge thread_state::detached
...
It's rarely necessary, but can cause unexpected problems.
2020-02-28 21:11:13 +03:00
kd-11
cb047fcc75
rsx: Disable zstat checks to avoid unnecessary stream splitting ( #7624 )
2020-02-28 20:27:31 +03:00
Nekotekina
ac2581659a
RSXOffload: fix dma_manager::sync() freeze on exit
...
Its logic was completely broken.
2020-02-28 19:55:43 +03:00
Nekotekina
f335d034fc
Fix RSX Offloader thread exit (MTRSX fix)
...
Hangs on exit if MTRSX is enabled.
2020-02-28 19:43:42 +03:00
Eladash
05bb6e1545
Improve sceNpDrmVerifyUpgradeLicense(2), sceNpDrmIsAvailable(2)
...
* sceNpDrmVerifyUpgradeLicense(2): copied string from content_id is 47 chars in length at max, is no null term was found it forces string termiation.
* sceNpDrmIsAvailable(2): Same with drm path just that it's 256 chars at max.
2020-02-28 19:10:39 +03:00
Nekotekina
65eeee0f4c
Remove cancerous lf_value<>
...
Replace thread names (generic, PPU, SPU) with new shared pointers.
Devirtualize cpu_thread::get_name (used in single case).
2020-02-28 18:54:46 +03:00
Nekotekina
bf4bdf73b7
Remove unused lf_hashmap
...
There are better ways to implement this.
2020-02-28 18:54:46 +03:00
Eladash
30f7c81cc5
cellSaveData: Implement/Fix param error 22 for funcFile, funcDone, funcFixed and funcList
2020-02-28 16:47:51 +01:00
Nekotekina
08ab9c4b04
fixed_typemap.hpp: reset creation index to avoid confusion
2020-02-28 00:16:04 +03:00
Nekotekina
4474757162
fixed_typemap.hpp: remove <algorithm> dep in header
...
Create fixed_typemap.cpp
2020-02-28 00:04:37 +03:00
Nekotekina
bacd1698fc
fixed_typemap.hpp: minor cleanup
2020-02-27 23:04:23 +03:00
Ivan
e133c7a7dc
Merge pull request #7506 from elad335/patch-1
...
PPU exec/ovlm ldr: restrict allocations
2020-02-27 22:55:30 +03:00
Eladash
0eabfdcadd
cellSavedata: reset padding of g_savedata_context
2020-02-27 22:31:31 +03:00
Eladash
d86241bbcd
cellSaveData: reset fileSet and fileGet->reserved everytime
2020-02-27 22:31:31 +03:00
Eladash
42a0512c66
cellSaveData: Avoid passing vm pointer to native API
2020-02-27 22:31:31 +03:00
Eladash
556aba46b5
cellSaveData: do not fail on empty directory
2020-02-27 22:31:31 +03:00
Stephen McKinney
2b853cc8bc
Don't improperly resolve symlinks when booting games.
2020-02-27 22:30:11 +03:00
JohnHolmesII
00b74fb951
Update BUILDING.md and CMakeLists.txt
...
Several parts of the guide had fallen out of sync, notably the Ubuntu section. I've tried to clean it up a bit.
In addition, I matched some of the version numbers to what is found in the CI system here: https://github.com/hcorion/rpcs3-docker/blob/master/xenial/Dockerfile
2020-02-27 21:31:43 +03:00
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