Commit Graph

11 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
twinaphex
41ffca2b6f (CTR) Style nits 2020-06-07 17:28:53 +02:00
twinaphex
860f94e914 (CTR) Stylistic cleanups 2020-03-05 15:50:39 +01:00
Justin Weiss
2e9a793519 Enable svchax in Luma3DS 8.0+ 2019-09-20 08:27:41 -07:00
orbea
bfc366decc Squeeze extra blank lines with cat(1).
Example:

find . -type f -iname '*.c' | while read -r i; do
  cat -s "$i" > "$i.new"
  mv "$i.new" "$i"
done
2019-01-08 11:04:58 -08:00
aliaspider
8266a423cd (3DS) update for latest ctrulib. 2016-09-28 18:09:17 +01:00
aliaspider
0f8895bcc3 (3DS) the parallax layer register can be written to from userland with
GSPGPU_WriteHWRegs.
2016-04-18 15:22:41 +01:00
aliaspider
4994de806a (3DS) add more display modes for the top screen that can be controlled
by the 3D slider.
2016-04-17 20:10:21 +01:00
aliaspider
a5e2585fdc (3DS) update svchax. 2016-04-16 12:27:10 +01:00
aliaspider
7f5ae4bdba (3DS) can compile with latest ctrulib/great-refactor.
fix some warnings.
2015-11-19 23:15:48 +01:00
aliaspider
d262361b97 (3DS) enable access to all service calls when possible. 2015-11-04 15:27:30 +01:00