mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-12 19:27:47 +00:00
kernel/thread: Fix potential crashes introduced in 3bcf090d37
This amends cases where crashes can occur that were missed due to the odd way the previous code was set up (using 3DS memory regions that don't exist).
This commit is contained in:
parent
67b4326d93
commit
6f3a3ed8c5
3 changed files with 36 additions and 11 deletions
|
@ -265,6 +265,8 @@ public:
|
|||
private:
|
||||
Thread();
|
||||
~Thread() override;
|
||||
|
||||
std::shared_ptr<std::vector<u8>> tls_memory = std::make_shared<std::vector<u8>>();
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue