aboutsummaryrefslogtreecommitdiff
path: root/frontend/3ds/pthread.h
AgeCommit message (Collapse)Author
2020-10-10[3DS] Enable threading for the SPUJustin Weiss
2020-08-23[3DS] Support latest libctruJustin Weiss
2020-02-25Add async CD accessJustin Weiss
2020-02-25Revert "(3DS) Set pthread stack size to 12MB - possible solution for crashes"twinaphex
This reverts commit dfcd7153048c2f6d479dfcd328ee2c0e1e0784ed.
2020-02-16(3DS) Set pthread stack size to 12MB - possible solution for crashesTwinaphex
2019-10-053DS: Switch from svc* to the thread* APIJustin Weiss
svcCreateThread doesn't fully set up thread vars, which causes svcBreaks / crashes when calling certain functions -- reentrant ones, for example. threadCreate, etc. are higher-level functions that do all the correct setup and cleanup. Since we're treating the thread structure as opaque, calling it an int_32t seems OK.
2019-10-023DS: Schedule threads on the default coreJustin Weiss
When creating a thread, pcsx was scheduling threads on core 1, which is the system core. This is usually prevented by the system. Instead, it should schedule threads on the default core, as suggested by 3dbrew: https://www.3dbrew.org/wiki/Multi-threading > Games usually create threads using -2. In the future, we may be able to schedule threads on core 2 on New 3DS only, if we find it gives better performance. This was preventing the CDDA thread from starting, which was preventing CD Audio from playing.
2016-01-16(3DS) - remove provileged services enabling code, it should be done byaliaspider
the frontend instead. - dynamically allocate the recompiler cache, this will allow using the recompiler even when the .bss section is relocated far from the .text section (for example when using the hombrew loader).
2015-09-23cleanup.aliaspider
2015-09-23(ctr/3ds) add target.aliaspider