18 lines
464 B
Markdown
18 lines
464 B
Markdown
### 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
|
|
```sh
|
|
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]`.
|