From 7cad3aca13976c0636fc57aa7d78a3ad2afadac5 Mon Sep 17 00:00:00 2001 From: Rekai Musuka Date: Fri, 21 Oct 2022 05:13:01 -0300 Subject: [PATCH] fix: Detect FRAM ROMs --- src/core/bus/backup.zig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/bus/backup.zig b/src/core/bus/backup.zig index 73a2580..123bb01 100644 --- a/src/core/bus/backup.zig +++ b/src/core/bus/backup.zig @@ -5,9 +5,10 @@ const log = std.log.scoped(.Backup); const escape = @import("../util.zig").escape; const span = @import("../util.zig").span; -const backup_kinds = [5]Needle{ +const backup_kinds = [6]Needle{ .{ .str = "EEPROM_V", .kind = .Eeprom }, .{ .str = "SRAM_V", .kind = .Sram }, + .{ .str = "SRAM_F_V", .kind = .Sram }, .{ .str = "FLASH_V", .kind = .Flash }, .{ .str = "FLASH512_V", .kind = .Flash }, .{ .str = "FLASH1M_V", .kind = .Flash1M },