WIP libnx-SDL2

Discussion in 'Switch - Emulation, Homebrew & Software Projects' started by rock88, Jul 29, 2018.

  1. rock88
    OP

    rock88 Member

    Newcomer
    4
    May 19, 2018
    Russia
    Preface:
    Develop for Switch (for me) is really hard and took a lot of time, I really want to develop in my preferred IDE with breakpoints and debugger, with fast app running, without stopped/crashed Switch, without again and again entered to RCM and load CFW.


    So I ported some parts of libnx to SDL2, for easy and fast development on PC.
    Of course this not supported lots of functions and features, but it can be use for develop some part of app/homebrew.
    All tested on OSX.


    Currently I tested few switch-examples:
    [​IMG]
    [​IMG]

    And 2048 game:
    [​IMG]

    If some not supported you just get linker error like:
    Code:
    Undefined symbols for architecture x86_64:
      "_accountInitialize", referenced from:
          _main in main.o[/SIZE]
    
    implement it by yourself :P

    Source:
    https://github.com/rock88/libnx-SDL2

     
    m4xw and hippy dave like this.
  2. hippy dave

    hippy dave BBMB

    Member
    13
    Apr 30, 2012
    United Kingdom
    Nice idea, thanks for sharing!
     
Loading...