From 10275e86c730632d7107821e9d3b6adfb9cb1d8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Magalh=C3=A3es?= <joamag@gmail.com> Date: Sun, 21 May 2023 23:02:14 +0100 Subject: [PATCH] docs: improved documentation --- frontends/sdl/README.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/frontends/sdl/README.md b/frontends/sdl/README.md index 60c997c4..62b7af75 100644 --- a/frontends/sdl/README.md +++ b/frontends/sdl/README.md @@ -48,11 +48,21 @@ cargo watch -x run There are some feature flags that control the verbosity of the emulator to run in debug mode use: ```bash -cargo run --features debug +cargo build --features debug ``` To obtain more information about the issues. +## Execution + +### Headless + +It's possible to run the emulator in headless mode using the `--headless` parameter: + +```bash +cargo run -- --rom-path ../../res/roms/test/blargg/cpu/cpu_instrs.gb --cycles 100000000 --headless --device stdout --unlimited +``` + ## Features | Provider | Description | -- GitLab