Commit Graph

110 Commits

Author SHA1 Message Date
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
5756ff0b16 [3DS] Free memory in 1MB blocks
When freeing large blocks of memory, the 3DS may kernel panic. Freeing
in smaller blocks seems to avoid the crashes.
2020-09-28 19:12:15 -07:00
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
Matt Sephton
a26e229445 Corrected height of fceumm icon to 48px
It had previously been stretched from 41px
2017-02-27 20:39:21 +00: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
aliaspider
ad3ca8d04f (3DS) explicitly disable libretro_db and zarch in the non-griffin build 2016-10-04 19:42:25 +01:00
twinaphex
e9f463154c (3DS/CTR) Image must be exactly 48x48 2016-10-02 22:40:56 +02:00
Twinaphex
151c4847ed Merge pull request #3714 from 44100hertz/3ds_banners
3ds icons and banners
2016-10-02 20:43:54 +02:00
Sam Pagenkopf
0e88b3cdab added missing fba alpha render 2016-10-02 13:16:24 -05:00
Sam Pagenkopf
1bdd20672f updated makefile to reflect new banners 2016-10-02 12:55:21 -05:00
Sam Pagenkopf
5d0c1af0de remade 3ds icons and banners 2016-10-02 12:55:03 -05:00
aliaspider
afd5e85a31 (3DS) add experimental font and menu_display drivers. 2016-09-29 20:14:12 +01:00
aliaspider
8266a423cd (3DS) update for latest ctrulib. 2016-09-28 18:09:17 +01:00
twinaphex
64e24ca514 (ctr) style nits 2016-09-20 02:09:06 +02:00
twinaphex
ddcaf6a758 (CTR) Update 2016-08-05 19:23:26 +02:00
Alcaro
fcd283c082 Fix capitalization 2016-08-05 18:17:30 +02:00
twinaphex
9a3a042024 Change catsfc_plus name 2016-08-05 17:57:48 +02:00
twinaphex
8854f7212a Rename SNES9x cores 2016-08-05 17:51:59 +02: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
864f9d7c2c (3DS) make svchax optional. 2016-04-16 12:06:37 +01:00
aliaspider
8bd789389f (3DS) better handling of argc/argv, fixes crash in CIA builds. 2016-04-15 22:40:34 +01:00