Small additions
This commit is contained in:
@@ -4,12 +4,16 @@ import emu "../machine"
|
|||||||
import rl "vendor:raylib"
|
import rl "vendor:raylib"
|
||||||
|
|
||||||
Simulator :: struct {
|
Simulator :: struct {
|
||||||
|
// Emulator
|
||||||
machine: ^emu.System,
|
machine: ^emu.System,
|
||||||
rom_loaded: bool,
|
rom_loaded: bool,
|
||||||
running: bool,
|
running: bool,
|
||||||
paused: bool,
|
paused: bool,
|
||||||
cycles_per_second: int,
|
cycles_per_second: int,
|
||||||
|
// GUI
|
||||||
font: rl.Font,
|
font: rl.Font,
|
||||||
|
active_tab: i32,
|
||||||
|
mem_scroll : rl.Vector2,
|
||||||
}
|
}
|
||||||
|
|
||||||
// Requires an initilized emulatore System Struct
|
// Requires an initilized emulatore System Struct
|
||||||
|
|||||||
Reference in New Issue
Block a user