2024-03-03 10:53:07 +01:00
|
|
|
### for everyone
|
|
|
|
this uses libmgba and the latest (as of writing) development build of SDL3 with webcam support, both as submodules.
|
2024-03-03 07:46:06 +01:00
|
|
|
```
|
|
|
|
git submodule update --init
|
2024-03-03 10:53:07 +01:00
|
|
|
```
|
|
|
|
|
|
|
|
### for unixesques
|
|
|
|
```sh
|
2024-03-03 07:46:06 +01:00
|
|
|
cmake -B_build
|
|
|
|
make -C_build -j$(nproc)
|
2024-03-03 10:53:07 +01:00
|
|
|
_build/cgbwebcam gbcamera.gb # provide your own rom, of course
|
2024-03-03 07:46:06 +01:00
|
|
|
```
|
2024-03-03 10:50:43 +01:00
|
|
|
|
2024-03-03 10:53:07 +01:00
|
|
|
### for windows
|
2024-03-03 10:50:43 +01:00
|
|
|
just point visual studio at the CMakeLists.txt, apparently that's a thing it supports now.
|
|
|
|
|
2024-03-03 10:53:07 +01:00
|
|
|
make sure you provide the gbcamera rom as `argv[1]`.
|