kernel/thread: Fix potential crashes introduced in 26de4bb521

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 40e63ede6d
commit e93fa7f2cc
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>>();
};
/**