diff --git a/rpcs3/Emu/Cell/PPUThread.cpp b/rpcs3/Emu/Cell/PPUThread.cpp index 22c811fb36..4486b051cd 100644 --- a/rpcs3/Emu/Cell/PPUThread.cpp +++ b/rpcs3/Emu/Cell/PPUThread.cpp @@ -578,7 +578,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(std::max(stack, 0x4000)) + , stack_size(stack ? ::align(std::min(stack, 0x100000), 0x1000) : 0x4000) , stack_addr(0) , start_time(get_system_time()) , m_name(name)