From 85dfd8672dde40be4b293ad4c502e55b969af071 Mon Sep 17 00:00:00 2001 From: Oliver Bult <110042204+Legomountain14@users.noreply.github.com> Date: Sat, 24 Feb 2024 01:43:46 -0600 Subject: [PATCH] Fixed Atari 2600 ROM Scanning (#520) Co-authored-by: Legomountain13 <110042204+Legomountain13@users.noreply.github.com> --- scanner/scanner.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scanner/scanner.go b/scanner/scanner.go index 4c70bbf3..ecd3cc29 100644 --- a/scanner/scanner.go +++ b/scanner/scanner.go @@ -135,7 +135,7 @@ func Scan(dir string, roms []string, games chan (dat.Game), n *ntf.Notification) // Look for a matching game entry in the database state.DB.FindByROMName(f, filepath.Base(f), 0, games) n.Update(ntf.Info, strconv.Itoa(i)+"/"+strconv.Itoa(len(roms))+" "+f) - case ".32x", "a52", ".a78", ".col", ".crt", ".d64", ".pce", ".fds", ".gb", ".gba", ".gbc", ".gen", ".gg", ".ipf", ".j64", ".jag", ".lnx", ".md", ".n64", ".nes", ".ngc", ".nds", ".rom", ".sfc", ".sg", ".smc", ".smd", ".sms", ".ws", ".wsc": + case ".32x", ".a26", "a52", ".a78", ".col", ".crt", ".d64", ".pce", ".fds", ".gb", ".gba", ".gbc", ".gen", ".gg", ".ipf", ".j64", ".jag", ".lnx", ".md", ".n64", ".nes", ".ngc", ".nds", ".rom", ".sfc", ".sg", ".smc", ".smd", ".sms", ".ws", ".wsc": bytes, err := ioutil.ReadFile(f) if err != nil { n.Update(ntf.Error, err.Error())