mirror of
https://github.com/Maschell/PushA_NX.git
synced 2024-11-21 15:39:17 +01:00
ae12ae4a2a
update for 5.x and latest libtransistor |
||
---|---|---|
draw.c | ||
draw.h | ||
hello.c | ||
hello.nro | ||
input.c | ||
input.h | ||
Makefile | ||
README.md |
PUSH A for Switch
Based on: https://github.com/vgmoose/sdl-hello-world
Back to the roots. Back in 2008 I started with writing homebrew on Wii. The first "game" I created was "Push A".
Now, almost 10 years later, I quickly wrote a new version for the Switch.
Have fun!
Huge thanks to vgmoose, based on his examples!.
Compiling
For Switch
Clone and setup libtransistor, for more detail see this post.
git clone --recursive https://github.com/reswitched/libtransistor.git
cd libtransistor
make
cd ..
Setup sdl-libtransistor and export an environment variable pointing to your libtransistor build:
export LIBTRANSISTOR_HOME=/opt/libtransistor
git clone https://github.com/reswitched/sdl-libtransistor.git
cd sdl-libtransistor
make -f switch.mk
cd ..
Compile with make:
make
Running
See these instructions on how to use Fusee Gelee to run this homebrew on most Switches as of this time of writing (22/07/2018).