Update README.md

This commit is contained in:
lif 2024-03-03 01:53:07 -08:00
parent e8b54779c9
commit dd25f5acf0
1 changed files with 11 additions and 6 deletions

View File

@ -1,12 +1,17 @@
### unixesque
### 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
cmake -B_build
make -C_build -j$(nproc)
_build/cgbwebcam gbcamera.gb
```
### windows
### 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].
make sure you provide the gbcamera rom as `argv[1]`.