diff --git a/example.toml b/example.toml new file mode 100644 index 0000000..8e3aa00 --- /dev/null +++ b/example.toml @@ -0,0 +1,21 @@ +[Host] +# Using nearest-neighbour scaling, how many times the native resolution +# of the game bow should the screen be? +win_scale = 4 +# Enable VSYNC on the UI thread +vsync = true + +[Guest] +# Sync Emulation to Audio +audio_sync = false +# Sync Emulation to Video +video_sync = false +# Force RTC support +force_rtc = false + +[Debug] +# Enable detailed CPU logs +cpu_trace = false +# When false and builtin.mode == .Debug, ZBA will panic +# on unknown I/O reads +unhandled_io = true diff --git a/src/config.zig b/src/config.zig index e7d1f92..0573d40 100644 --- a/src/config.zig +++ b/src/config.zig @@ -34,7 +34,7 @@ const Config = struct { const Debug = struct { /// Enable CPU Trace logs cpu_trace: bool = false, - /// If false and ZBA is build in debug mode, ZBA will panic on unhandled I/O + /// If false and ZBA is built in debug mode, ZBA will panic on unhandled I/O unhandled_io: bool = true, }; };