Minimal libretro frontend written in golang
Go to file
2018-04-29 14:47:36 +07:00
.gitignore gitignore: Add compiled binaries to the git ignore 2018-04-17 11:19:28 -04:00
.travis.yml Add travis file (#3) 2018-04-21 14:24:27 +07:00
cfuncs.go Use va_list for the core log 2018-04-27 15:24:05 +07:00
libretro.h Initial commit 2018-04-17 21:58:51 +07:00
nanoarch.go Fix audio with coreAudioSample 2018-04-29 14:47:36 +07:00
README.md Update README.md 2018-04-28 23:37:25 +07:00

go-nanoarch

go-nanoarch is an attempt to write a minimal libretro frontend in go. It is a port of https://github.com/heuripedes/nanoarch

As the C version:

nanoarch is a small libretro frontend (nanoarch.c has less than 1000 lines of code) created for educational purposes. It only provides the required (video, audio and basic input) features to run most non-libretro-gl cores and there's no UI or configuration support.

It is tested on OSX and Linux.

Dependencies

  • GLFW 3.2
  • OpenGL 4.1
  • OpenAL

On OSX you can execute the following command and follow the instructions about exporting PKG_CONFIG

brew install glfw openal-soft

On Debian or Ubuntu:

sudo apt-get install libglfw3-dev libopenal-dev xorg-dev

Building

go-get github.com/kivutar/go-nanoarch
go-build github.com/kivutar/go-nanoarch

Running

go-nanoarch -L nestopia_libretro.so -G mario3.nes