-
Notifications
You must be signed in to change notification settings - Fork 6
/
gameroy.toml
66 lines (49 loc) · 1.92 KB
/
gameroy.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# if true, the emulator will start paused, with the debug panel open. Is overwritten by
# passing the argument `--debug` to the executable.
start_in_debug = false
# the folder where to look for roms. Relative paths are relative to the executable path.
# Only lists .gb files, and it doesn't search for subfolders.
rom_folder = "roms"
# the path to the boot rom. If not set, the emulator will load a state equivalent to
# the one after the original boot rom is executed.
# boot_rom = "path/to/boot_rom.gb"
# the sorting that the rom list. Is formed by a direction (ascending `+` or descending `-`),
# and the collumn title (`File`, `Header Name`, `Size` or `Last played`).
sort_list = "+File"
# the initial size of the window in format WIDTHxHEIGHT
screen_size = "768x400"
# if true, the game screen will be scaled only by integer values, to keep
# perfect pixel sizes.
only_integer_scaling = true
# if rewiding is enabled. This causes a small performance hit and higher memory
# usge due to the constant doing of save states.
rewinding = true
# if interrupt prediction is enabled. Used for optimisation, no reason to
# disable it, unless when measuring the optimisation impact.
interrupt_prediction = true
# if the emulation will start running at max speed.
frame_skip = false
# if the Just-in-time compiler will be used, if avaliable.
jit = true
[keymap]
# KeyCode names came from this list: https://docs.rs/winit/0.26.1/winit/event/enum.VirtualKeyCode.html
left = "Left"
right = "Right"
up = "Up"
down = "Down"
a = "A"
b = "S"
select = "Back"
start = "Return"
# disable frame rate limit, and emulate as fast as possible.
speed = "LShift"
# start rewinding the emulation, going back in time (have a limit).
rewind = "R"
# save state to '<rom_file_name>.save_state' in the same folder as the 'rom_file'.
save_state = "F5"
# load the last saved state
load_state = "F6"
open_debugger = "F12"
debug_stepback = "F7"
debug_step = "F8"
debug_run = "F9"