No description
mgba@3571b112dc | ||
SDL@7ff9be7398 | ||
.gitignore | ||
.gitmodules | ||
CMakeLists.txt | ||
main.c | ||
README.md |
for everyone
this uses libmgba and the latest (as of writing) development build of SDL3 with webcam support, both as submodules.
git submodule update --init
for unixesques
cmake -B_build
make -C_build -j$(nproc)
_build/cgbwebcam gbcamera.gb # provide your own rom, of course
for windows
just point visual studio at the CMakeLists.txt, apparently that's a thing it supports now.
make sure you provide the gbcamera rom as argv[1]
.