3ds: Port refactor.

This commit does the following changes to the 3ds port:

- Rename the target from ctru to 3ds.
- Rename all files and functions with the ctru naming convention to 3ds.
- Created a new file and folder structure that will better integrate future console ports that share the same codebase.
- Fixed a buffer overflow bug in pcm code.

Change-Id: I17c6f86df64eb99dd2b653485d70832ff46b2ba8
This commit is contained in:
Mauricio Garrido 2026-08-31 18:02:32 -06:00 • committed by Solomon Peachy
parent 8e965d9159
commit e498c0171a
130 changed files with 1429 additions and 1112 deletions

View file

@ -30,7 +30,7 @@ extern unsigned char plugin_end_addr[];
* avoid warning with certain compilers */
int _start(void) {return 0;}
#ifdef CTRU
#ifdef N3DS
/* dummy undefined symbols */
void __aeabi_unwind_cpp_pr0(void) {}
struct _reent * _EXFUN(__getreent, (void)) { return NULL; }