Skip to content

Commit

Permalink
Update scanner.go (#536)
Browse files Browse the repository at this point in the history
Add support for Nintendo 64 z64 format.
  • Loading branch information
LoROM CHIPSUM authored Mar 16, 2024
1 parent 2140a68 commit 57d55be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scanner/scanner.go
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit 57d55be

Please sign in to comment.