MrHuu
2633b3e310
(3DS) On error, only init gfx on salamander build
...
This prevents graphical issues if the gfx is already initialized.
Which should always be the case if called from a running core.
2021-01-17 15:44:35 +01:00
MrHuu
e6c035de7d
(3DS) Update error applet
2021-01-04 20:15:28 +01:00
Justin Weiss
082f83a08e
[3DS] Free memory in smaller blocks when exiting
...
This works around an occasional kernel panic when freeing larger
blocks.
2020-10-25 16:06:28 -07: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
a657ad7039
Cleanup
2020-06-29 05:41:25 +02:00
twinaphex
41ffca2b6f
(CTR) Style nits
2020-06-07 17:28:53 +02: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
twinaphex
867981b74b
Include this header include
2018-04-10 00:07:37 +02:00
cpsw
54aec6c9e8
Small code style change
...
Suggesting a code style change.
2017-12-09 11:01:03 -03:00
aliaspider
c78f697c16
(3DS) wrap texture coordinate swizzeling in a function.
2016-10-10 22:22:08 +01:00
aliaspider
577824f546
(3DS) add argv handling for .cia builds
2016-10-08 01:43:05 +01:00
twinaphex
64e24ca514
(ctr) style nits
2016-09-20 02:09:06 +02:00
aliaspider
8bd789389f
(3DS) better handling of argc/argv, fixes crash in CIA builds.
2016-04-15 22:40:34 +01:00
aliaspider
0b4fd4328d
- add more heuristics to try to clean up the corrupted argv when using
...
the homebrew launcher.
- force align the stack pointer to 8 bytes.
- add --gc-sections to the link specs
2016-01-15 22:30:12 +01:00
thedax
0565a92486
Update CTR (3DS) driver for the latest ctrulib SDK, fix a typo, and fix compilation errors.
2015-12-21 13:43:05 -05:00
aliaspider
7f5ae4bdba
(3DS) can compile with latest ctrulib/great-refactor.
...
fix some warnings.
2015-11-19 23:15:48 +01:00
aliaspider
5ff8219dab
(3ds) override __libctru_init.
2015-11-06 13:47:17 +01:00
aliaspider
7ee18e359e
(3ds) nit.
2015-11-06 11:03:52 +01:00
aliaspider
646192fba9
(3ds) remove stack_adjust.s
...
add a warning when using an unsupported hbl version.
2015-11-06 11:00:32 +01:00
aliaspider
8741ec48d5
(3DS) implement dynamic memory management.
...
heap/linear heap and stack sizes can now change dynamically at runtime,
depending on usage, no need to specify those on a per-core basis
anymore.
2015-11-02 01:24:11 +01:00