Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
3DS: Set stack size w/o starting SVM inside a thread
This commit introduces a simpler method for setting the stack size. By setting a global variable __stacksize__, we can override the identically-named, weak-attributed __stacksize__ defined in libctru. This is an intentional feature of libctru, and renders it unnecessary to run ScummVM from within a thread. Source: devkitPro/libctru@192b88b Explanation: https://gbatemp.net/threads/homebrew-development.360646/page-245#post-6362424 Usage in the wild: https://github.com/masterfeizz/ioQuake3DS/blob/master/code/ctr/ctr_main.c#L44
- Loading branch information