4 Commits

Author SHA1 Message Date
Justin Weiss
9ae2514009 [3DS] Update to libctru 2.0
Set USE_CTRULIB_2=1 to build with libctru 2.0. When unset, this code
is compatible with the older toolchain.

Some 2.0 changes addressed rare problems in earlier versions:

- Save / restore stack pointer for init / exit
  Otherwise, it could be outside of the range we deallocate.
- Run aptMainLoop in the audio driver to react correctly to sleep events

Other changes for 2.0:

- Remove ninjhax1 -- requires outdated APIs that have been removed
- Switch from __sync_arbiter to syncArbitrateAddress
- Use implicit gxCmdBuf
- Use gpuPresentBuffer for double buffering
2020-08-26 19:08:12 -07:00
meepingsnesroms
03f2a325fb Add 3ds assets, move assets from ctr to pkg/ctr
NOTE: I do not have the 3ds version of devkitARM installed so I could
not test it if moving the assets to pkg/ctr broke compiling but I did
change the assets paths in Makefile.ctr and Makefile.ctr.salimander so
it should compile.
2017-11-24 09:28:47 -08:00
twinaphex
27f9e258fc (CTR) Have to move ctr files back too 2015-09-20 19:15:51 +02:00
twinaphex
8243d5238f Move ctr/ to pkg/ 2015-09-20 15:48:17 +02:00