Commit Graph

106 Commits

Author SHA1 Message Date
Autechre 2d3c63f545 Merge pull request #11248 from justinweiss/update-libctru
[3DS] Update to libctru 2.0
2020-09-10 06:49:54 +02:00
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 5166eebcaf for loop cleanups - use space after 'for' 2020-08-19 03:06:22 +02:00
twinaphex a657ad7039 Cleanup 2020-06-29 05:41:25 +02: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
twinaphex 8627d638e1 Cleanups 2020-02-04 06:05:00 +01:00
twinaphex 7f4139c427 Get rid of wrong double ';;' 2020-01-30 16:53:20 +01:00
Justin Weiss 2e9a793519 Enable svchax in Luma3DS 8.0+ 2019-09-20 08:27:41 -07:00
orbea 28ff4b391a Clean up white space. 2019-02-03 16:00:50 -08:00
orbea 4c56167446 Convert to linux line endings. 2019-02-03 15:43:42 -08:00
orbea e062b98088 Remove trailing blank lines.
find . -type f -exec sed -i '${/^[[:space:]]*$/d;}' {} \+
2019-01-17 19:39:38 -08: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
meepingsnesroms 1bd25a6f12 Fix pointer type 2018-05-16 16:28:32 -07:00
meepingsnesroms ce0d8bb5e0 Remove quote parsing 2018-05-16 16:26:38 -07:00
meepingsnesroms 9e51d41fea Fix last null terminator not being added to cia argv 2018-05-15 18:11:47 -07:00
meepingsnesroms 052de6bcd2 3ds now has proper core launching 2018-05-15 10:30:34 -07:00
meepingsnesroms 1a6f572405 Fixes 2018-05-09 18:23:35 -07:00
meepingsnesroms 5f234f0dd1 Start using proper 3ds executable formats (doesnt work properly yet) 2018-05-09 15:55:48 -07:00
twinaphex 867981b74b Include this header include 2018-04-10 00:07:37 +02:00
aliaspider 1f143927ca (CTR) build fix. 2017-12-25 08:51:50 +01:00
cpsw 54aec6c9e8 Small code style change
Suggesting a code style change.
2017-12-09 11:01:03 -03: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
Matt Sephton 34e3490ce9 Updated assets.7z 2017-02-28 16:32:52 +00:00
Matt Sephton 693652b2a9 Created icons and banners for cores that have recently been compiled for 3DS
See:
https://gbatemp.net/threads/unofficial-3ds-retroarch-builds-compatibilit
y-thread.462252/page-2#post-7138543

Art files available as .afdesign or .svg or similar
2017-02-28 16:32:43 +00:00