mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 16:31:28 +12:00
Fix primary stack size
This commit is contained in:
parent
3cf0fb60a4
commit
0a89f1db39
2 changed files with 14 additions and 2 deletions
|
@ -677,7 +677,7 @@ ppu_thread::~ppu_thread()
|
|||
ppu_thread::ppu_thread(const std::string& name, u32 prio, u32 stack)
|
||||
: cpu_thread(idm::last_id())
|
||||
, prio(prio)
|
||||
, stack_size(stack ? ::align(std::min<u32>(stack, 0x100000), 0x1000) : 0x4000)
|
||||
, stack_size(stack >= 0x1000 ? ::align(std::min<u32>(stack, 0x100000), 0x1000) : 0x4000)
|
||||
, stack_addr(0)
|
||||
, start_time(get_system_time())
|
||||
, m_name(name)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue