sys_ppu_thread: reduce global memory stats after thread creation

This commit is contained in:
Eladash 2020-04-04 22:49:04 +03:00 committed by Ivan
parent 72d1efa383
commit dc5cdb3bb4
3 changed files with 18 additions and 1 deletions

View file

@ -1577,7 +1577,7 @@ void ppu_load_exec(const ppu_exec_object& elf)
mem_size += 0xC000000;
}
g_fxo->init<lv2_memory_container>(mem_size);
g_fxo->init<lv2_memory_container>(mem_size)->used += primary_stacksize;
ppu->cmd_push({ppu_cmd::initialize, 0});