PRX/savestates/VSH: Associate PRX with library, fix VSH browser (#13221)

* PRX/savestate:s Associate PRX with library

* VFS/Savestates: Fix host_root resolving

* Savestates: Fix segfault in ppu_initialize

* SPU: Avoid some log spam

* VSH/sys_vm: Fix limit on root processes
This commit is contained in:
Elad Ashkenazi 2023-01-15 22:12:54 +02:00 committed by GitHub
parent 1852b370d7
commit e6a7597444
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 92 additions and 37 deletions

View file

@ -1267,7 +1267,7 @@ std::string spu_thread::dump_misc() const
void spu_thread::cpu_on_stop()
{
if (current_func)
if (current_func && is_stopped(state - cpu_flag::stop))
{
if (start_time)
{
@ -1496,7 +1496,7 @@ void spu_thread::cpu_task()
unsavable = false;
// Print some stats
spu_log.notice("Stats: Block Weight: %u (Retreats: %u);", block_counter, block_failure);
(!group || group->stop_count < 5 ? spu_log.notice : spu_log.trace)("Stats: Block Weight: %u (Retreats: %u);", block_counter, block_failure);
}
else
{