chore(config): add example config file
This commit is contained in:
parent
7142831284
commit
5a72a8e7f3
|
@ -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
|
|
@ -34,7 +34,7 @@ const Config = struct {
|
||||||
const Debug = struct {
|
const Debug = struct {
|
||||||
/// Enable CPU Trace logs
|
/// Enable CPU Trace logs
|
||||||
cpu_trace: bool = false,
|
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,
|
unhandled_io: bool = true,
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue