The main branch of this fork is out of date. The branches are out of date but the vanilla
branch has most of the NDS specific logic removed and can be used at runtime for various apps.
To use these libs, use a STREAMING texture, blit everything to a surface and then update your final texture & rendercopy/present, an example of which is here:
void RenderManagerSDL::refresh()
{
SDL_RenderClear(mRenderer);
SDL_UpdateTexture(mRenderStreaming, NULL, mMiyooSurface->pixels, mMiyooSurface->pitch);
SDL_RenderCopy(mRenderer, mRenderStreaming, NULL, NULL);
SDL_RenderPresent(mRenderer);
}
- Miyoo Mini (Plus)
- Introduction
- Build from Scratch
- How to prepare the build environment (Docker)
- How to build all libraries
- How to pack the release build
- How to delete the build environment (Docker)
- TRIMUI SMART
- Introduction
- Build from Scratch
- How to prepare the build environment (Docker)
- How to build all libraries
- How to pack the release build
- How to delete the build environment (Docker)
TBD
$ sudo docker build -t mmiyoo .
$ sudo docker run -it --rm -v $(pwd):/nds_miyoo mmiyoo /bin/bash
$ make config
$ make
$ sudo docker run -it --rm -v $(pwd):/nds_miyoo mmiyoo /bin/bash
$ make sdl2
$ sudo docker run -it --rm -v $(pwd):/nds_miyoo mmiyoo /bin/bash
$ make gpu
$ sudo docker run -it --rm -v $(pwd):/nds_miyoo mmiyoo /bin/bash
$ make example
$ sudo docker image rm mmiyoo
TBD
$ sudo docker build -t mmiyoo .
$ sudo docker run -it --rm -v $(pwd):/nds_miyoo mmiyoo /bin/bash
$ make config MOD=trimui
$ make
$ sudo docker run -it --rm -v $(pwd):/nds_miyoo mmiyoo /bin/bash
$ make sdl2
$ sudo docker run -it --rm -v $(pwd):/nds_miyoo mmiyoo /bin/bash
$ make gpu
$ sudo docker run -it --rm -v $(pwd):/nds_miyoo mmiyoo /bin/bash
$ make example MOD=trimui
$ sudo docker image rm mmiyoo