Skip to content
Permalink
Browse files

3DS: Update the list of third-party libraries

(cherry picked from commit 2c49124)
  • Loading branch information...
ccawley2011 authored and bgK committed Nov 6, 2019
1 parent 236d15e commit 4c8e83f23e4ea7e38cbe6bba53739e3ad1862601
Showing with 5 additions and 18 deletions.
  1. +5 −18 backends/platform/3ds/README.md
@@ -148,10 +148,12 @@ The following libraries can be downloaded with pacman:
| libmad | 3ds-libmad |
| libogg | 3ds-libogg |
| tremor | 3ds-libvorbisidec |
| flac | 3ds-flac |
| curl | 3ds-curl |

At the moment of writing, `faad` and `flac` are not in the devkitPro 3DS pacman
repository. They can be compiled by following the instructions in the section below,
in case they cannot be found through pacman.
At the moment of writing, `faad` is not in the devkitPro 3DS pacman repository. It
can be compiled by following the instructions in the section below, in case it cannot
be found through pacman.

The following pacman packages are also recommended:
- `3ds-dev`
@@ -203,21 +205,6 @@ In the source directory of the library:
$ export LDFLAGS="-L$PORTLIBS/lib"
```

4.1.3) Note on FLAC:
--------------------
At the moment of writing, the `libflac` library cannot be compiled for the 3DS out of the box.
However, the following patch (for the Nintendo Switch) can be adapted and applied to it:
https://github.com/devkitPro/pacman-packages/tree/master/switch/flac

Afterwards, the library can be built with:
```
$ CFLAGS="${CFLAGS} -D__3DS__ " \
./configure --prefix="${PORTLIBS_PREFIX}" --host=arm-none-eabi \
--disable-shared --enable-static \
--disable-xmms-plugin --disable-cpplibs \
--disable-sse --without-ogg
```

4.2) Compiling ScummVM
----------------------
Do the following in a fresh terminal.

0 comments on commit 4c8e83f

Please sign in to comment.
You can’t perform that action at this time.