From 57d55be99430bf05244f91fa733cde4cabc507db Mon Sep 17 00:00:00 2001 From: LoROM CHIPSUM <37517008+Chipsum@users.noreply.github.com> Date: Sat, 16 Mar 2024 16:01:17 +0100 Subject: [PATCH] Update scanner.go (#536) Add support for Nintendo 64 z64 format. --- scanner/scanner.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scanner/scanner.go b/scanner/scanner.go index 30b3c793..df8c274c 100644 --- a/scanner/scanner.go +++ b/scanner/scanner.go @@ -136,7 +136,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", ".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": + 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", ".z64": bytes, err := ioutil.ReadFile(f) if err != nil { n.Update(ntf.Error, err.Error())