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:
Lioncash 2018-08-03 20:45:39 -04:00
parent 67b4326d93
commit 6f3a3ed8c5
3 changed files with 36 additions and 11 deletions

View file

@ -265,6 +265,8 @@ public:
private:
Thread();
~Thread() override;
std::shared_ptr<std::vector<u8>> tls_memory = std::make_shared<std::vector<u8>>();
};
/**