mirror of
https://github.com/kichikuou/system3-sdl2.git
synced 2026-09-22 22:58:12 +03:00
- MP3/OGG files are now decoded with dr_mp3 and stb_vorbis via the new MakoMusic backend. - Merge src/win/mako.cpp into src/generic/mako.cpp: Windows now uses the same SDL audio path. - A single SDL2 audio device mixes FM, BGM and PCM in its callback with SDL_MixAudioFormat. - PCM plays through SDL_AudioStream. - dr_mp3 and stb_vorbis are vendored under deps/ and included from mako_music.cpp. Warnings for that translation unit are silenced.
727 B
727 B
System3 for Switch
Build
Prerequisites:
- CMake >=3.20
- devkitPro environment (how to install)
- Nintendo Switch development tools package (switch-dev)
- SDL2 and SDL2_ttf Switch ports (switch-sdl2, switch-sdl2_ttf)
git submodule update --init
sudo (dkp-)pacman -S switch-dev switch-sdl2 switch-sdl2_ttf
mkdir -p out/debug
cd out/debug
/opt/devkitpro/portlibs/switch/bin/aarch64-none-elf-cmake -DCMAKE_BUILD_TYPE=Debug ../../
make
Use
- Copy the resulting
system3.nrofile to a folder inside your Nintendo Switch's SD card (eg./switch/[game name]/) - Copy all the game files, BGM files and configuration.
- Open system3 through the Homebrew Launcher