Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

LibNX-SDL2 Switch: Difference between revisions

From GameBrew
No edit summary
 
Line 6: Line 6:
|lastupdated=2018/07/30
|lastupdated=2018/07/30
|type=Developments
|type=Developments
|version=wip
|version=2018
|license=MIT
|license=MIT
|download=https://dlhb.gamebrew.org/switchhomebrews/libnxsdl2nx.7z
|download=https://dlhb.gamebrew.org/switchhomebrews/libnxsdl2nx.7z

Latest revision as of 02:58, 3 Haziran 2023

libnx-SDL2
Libnxsdl2nx.png
General
Authorrock88
TypeDevelopments
Version2018
LicenseMIT License
Last Updated2018/07/30
Links
Download
Website
Source

SDL2 partial implementation of libnx.

User guide

Install

Make sure SDL2 install correctly (sdl2-config work properly).

$ git clone https://github.com/rock88/libnx-SDL2.git
$ cd libnx-SDL2
$ make
$ export DEVKITPRO=`pwd`

Go to switch-examples (graphics/simplegfx for example), and make it. Then run ./simplegfx.nro.

What's supported

  • Console output to screen (consoleInit(NULL));
  • Part of gfx;
  • Part of hid.

Limitation

  • Any hardware specific functional (but can be simulated);
  • Any not implemented functions, you just got error like:
Undefined symbols for architecture x86_64:
  "_accountInitialize", referenced from:
      _main in main.o

when try link binary.

Screenshots

libnxsdl2nx4.png

libnxsdl2nx5.png

External links

Advertising: