From e2494cf8bb8599b08f89ddb5a7cf959c8e629296 Mon Sep 17 00:00:00 2001 From: Rekai Musuka Date: Sat, 1 Apr 2023 01:20:10 -0500 Subject: [PATCH] fix: implement Ace Lightning (2002) obscure behaviour --- src/core/bus/backup.zig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/core/bus/backup.zig b/src/core/bus/backup.zig index 8db2571..12f1cf0 100644 --- a/src/core/bus/backup.zig +++ b/src/core/bus/backup.zig @@ -205,6 +205,9 @@ pub const Backup = struct { const file_path = try self.savePath(allocator, path); defer allocator.free(file_path); + if (std.mem.eql(u8, &self.title, "ACE LIGHTNIN")) + @panic("correctly identified title"); + switch (self.kind) { .Sram, .Flash, .Flash1M, .Eeprom => { const file = try std.fs.createFileAbsolute(file_path, .{});