chore(config): add example config file

This commit is contained in:
Rekai Nyangadzayi Musuka 2022-10-13 00:46:18 -03:00
parent 7142831284
commit 5a72a8e7f3
2 changed files with 22 additions and 1 deletions

21
example.toml Normal file
View File

@ -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

View File

@ -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,
};
};