Commit Graph

129 Commits

Author SHA1 Message Date
MrHuu
8df97a0c75 (3DS) Add HAVE_OVERLAY 2021-04-04 22:50:59 +02:00
MrHuu
b9849f78f7 (3DS) Add HAVE_GFX_WIDGETS 2021-03-23 22:03:44 +01:00
MrHuu
b37ccc7f6c (3DS) Generate random cia version 2021-01-02 00:26:42 +01:00
MrHuu
2229657b12 (3DS) Enable core updater 2020-12-30 19:11:48 +01:00
MrHuu
25dd77a0f5 (3DS) Enable online updater
- set directory defaults
2020-12-29 17:44:59 +01:00
jdgleaver
cc08a971e3 (3DS) Minor makefile clean-ups required for new build infrastructure 2020-12-03 12:48:18 +01:00
jdgleaver
067e0063bb Add CTR build to .gitlab-ci.yml 2020-12-02 15:59:16 +00:00
Justin Weiss
f53c137459 [3DS] Enable threading 2020-08-27 19:36:39 -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
47e22d69bf Add HAVE_VIDEO_FILTER 2020-07-02 06:28:14 +02:00
twinaphex
3ee788def2 Add HAVE_DSP_FILTER 2020-07-02 02:13:04 +02:00
twinaphex
87b9c2a367 Add HAVE_REWIND switch 2020-07-01 21:04:05 +02:00
twinaphex
7862166ed2 Add back HAVE_SCREENSHOTS define from SSNES days 2020-07-01 17:47:13 +02:00
twinaphex
02c3fa8eb3 Try to fix build 2020-07-01 04:54:28 +02:00
twinaphex
223d76680a Add HAVE_CHEATS ifdef 2020-06-30 19:35:55 +02:00
twinaphex
b77dd9cfe4 Add HAVE_PATCH ifdef; add patch switch support to qb 2020-06-30 15:54:31 +02:00
MrHuu
e519ccd0be (3DS) Enable basic networking / cheevos 2020-05-08 20:50:15 +02:00
MrHuu
16d12e804c
(3DS) re-Enable 7z support
Adds missing HAVE_7ZIP definition for griffin builds.

I have no issues with this. Browsing and loading .7z files works as it should.
Unless there's a specific reason this was removed, it can be enabled.
2020-05-05 12:25:13 +02:00
twinaphex
e0fdd8d39e Add back HAVE_CONFIGFILE ifdef - will strip out remaps and overrides
support as well
2020-02-02 21:27:38 +01:00
orbea
63a92a3f78 Update the zlib include directory paths. 2019-07-25 11:18:33 -07:00
orbea
84f4dcba2b Remove WANT_ZLIB. 2019-07-25 11:18:33 -07:00
twinaphex
22d762be67 We need to split up zlib headers in libretro-common to its own separate
dir
2019-05-27 03:40:14 +02:00
orbea
98f6aecec2 Remove the zarch menu driver. 2019-02-02 22:15:10 -08:00
meleu
159839e353 rcheevos leftover 2019-01-19 14:24:28 -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
orbea
65c6caf5a6 qb: Add '--disable-menu'. (#7910)
This adds '--disable-menu' which will disable all of the menu drivers
including Qt. This will also allow disabling only rgui and not the other
menu drivers.
2019-01-06 17:30:50 -05:00
orbea
fb6fe1a87c Makefile: Better respect CFLAGS and CXXFLAGS as environment variables.
This fixes a few subtle problems with passing CFLAGS and CXXFLAGS as
environment variables for configure.

First it will now only add these variables to config.mk when they are
actually set. If they are unset then the default optimizations in the
Makefile are set. This avoids passing more than one conflicting
optimization level to the compiler.

Next all CFLAGS are added to CXXFLAGS to avoid issues with forgetting to
set both CFLAGS and CXXFLAGS. This results in the cxx compiler getting
passed several redundant optimization levels when both the CFLAGS and
CXXFLAGS environment variabls are used. Now these uses of CFLAGS in
Makefile.common are set to DEF_FLAGS. This allows adding $(DEF_FLAGS)
to the CXXFLAGS variable without adding redundant flags from CFLAGS.

v2: Update other build files.
2018-12-30 17:17:19 -08:00
orbea
2c09a6f37b Makefile.ctr: Add missing comment. 2018-12-19 11:27:10 -08:00
orbea
dc020f2569 qb: Support building with the system mbedtls.
Fixes https://github.com/libretro/RetroArch/issues/7639

v2: Fix build failures with griffin.
2018-12-15 09:10:43 -08:00
meepingsnesroms
96b8099015 Disable all the non working defines for 3DS
The network stuff I started implementing and never finished and the threads are broken for an unknown reason.

This basicly just disabled the menu options associated with these things as none of them are currently working
2018-10-09 15:44:03 -07:00
twinaphex
8cd07ab692 (3DS) Add rcheevos include dir 2018-09-30 23:50:41 +02:00
twinaphex
5b4500141d Add RC_DISABLE_LUA for now for non-Makefile.common targets as general
precaution
2018-09-29 21:08:35 +02:00
meepingsnesroms
6c1e865d28 Make build system match core format 2018-05-19 09:59:47 -07:00
meepingsnesroms
5f234f0dd1 Start using proper 3ds executable formats (doesnt work properly yet) 2018-05-09 15:55:48 -07:00
twinaphex
ca9dd89975 Revert "(3DS/Emscripten/Vita/Wiiu) Add HAVE_CHD support"
This reverts commit d4c691527a.
2018-04-22 12:02:40 +02:00
twinaphex
d4c691527a (3DS/Emscripten/Vita/Wiiu) Add HAVE_CHD support 2018-04-22 11:58:11 +02:00
meepingsnesroms
5e42401fdb Add 3DS threads 2018-01-17 14:00:57 -08:00
meepingsnesroms
69bb95c49b Remove -a from uname 2018-01-05 09:58:10 -08:00
meepingsnesroms
2e0eb4df8e Allow using custom bannertool and makerom for 3ds, for wav format not found error
You can compile the latest version of bannertool for your system and have retroarch build with that instead of the builtin one that fails on windows.
2018-01-04 11:40:03 -08:00
twinaphex
a74ef2214d Start removing SINC ifdefs for individual Makefiles 2017-12-31 21:34:31 +01:00
meepingsnesroms
d18ee7eaed Fix new 3ds xl not being detected, others
Also fixes whitespace in makefile and platform_ctr.c and compiles with debug libctru when DEBUG=1
2017-12-29 19:30:54 -08:00
meepingsnesroms
7dbaa45172 Basic networking, bug fixes
Fix CPU count bug, make 3ds compile with networking
2017-12-28 21:49:21 -08:00
meepingsnesroms
417be6e497 Use relative path names better for devkitARM 2017-12-26 15:32:56 -08:00
meepingsnesroms
5a4bd619ba Revert "Merge branch 'master' into master"
This reverts commit 4b68a21a7e, reversing
changes made to 5e0f78e8a0.
2017-12-25 18:27:59 -08:00
meepingsnesroms
0e22aec947 Bugfixes
Fix multiple line ending tipes in changed files, use DEVKITARM variable when referencing that directory, add 3ds .lst file to gitignore
2017-12-16 20:47:08 -08:00
hyarsan
a28bc6ed23
Change "Retroarch" to "RetroArch" in HB Launcher for consistency.
In the Homebrew Launcher, RetroArch has always appeared as "Retroarch" which doesn't make sense if everything else is "RetroArch". This just does not look right and I get pissed just looking at it. lol
2017-12-12 16:57:33 +01:00
twinaphex
951918a245 Reduce size of Makefiles 2017-12-07 05:54:54 +01:00
Unknown
7f2f90de24 Fix name issue with nekop2, use ${DEVKITPRO} for smdhtool, got devkitarm setup, compiles and works 2017-11-25 18:35:05 -08: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