chore: move window scale const to emu.zig
This commit is contained in:
		| @@ -8,12 +8,12 @@ const Scheduler = @import("core/scheduler.zig").Scheduler; | ||||
| const FpsTracker = @import("core/util.zig").FpsTracker; | ||||
|  | ||||
| const pitch = @import("core/ppu.zig").framebuf_pitch; | ||||
| const scale = @import("core/emu.zig").win_scale; | ||||
|  | ||||
| const emu = @import("core/emu.zig"); | ||||
| const asString = @import("core/util.zig").asString; | ||||
| const log = std.log.scoped(.GUI); | ||||
|  | ||||
| const scale = 4; | ||||
| const default_title: []const u8 = "ZBA"; | ||||
|  | ||||
| window: *SDL.SDL_Window, | ||||
|   | ||||
| @@ -12,9 +12,11 @@ const Thread = std.Thread; | ||||
| const Atomic = std.atomic.Atomic; | ||||
| const Allocator = std.mem.Allocator; | ||||
|  | ||||
| const sync_audio = false; | ||||
| const sync_video: RunKind = .UnlimitedFPS; | ||||
| pub const cpu_logging = false; | ||||
| // TODO: Move these to a TOML File | ||||
| const sync_audio = true; // Enable Audio Sync | ||||
| const sync_video: RunKind = .LimitedFPS; // Configure Video Sync | ||||
| pub const win_scale = 3; // 1x, 2x, 3x, etc. Window Scaling | ||||
| pub const cpu_logging = false; // Enable detailed CPU logging | ||||
|  | ||||
| // 228 Lines which consist of 308 dots (which are 4 cycles long) | ||||
| const cycles_per_frame: u64 = 228 * (308 * 4); //280896 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user