Skip to content

Commit 85dfd86

Browse files
Fixed Atari 2600 ROM Scanning (#520)
Co-authored-by: Legomountain13 <110042204+Legomountain13@users.noreply.github.com>
1 parent 41f11eb commit 85dfd86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scanner/scanner.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ func Scan(dir string, roms []string, games chan (dat.Game), n *ntf.Notification)
135135
// Look for a matching game entry in the database
136136
state.DB.FindByROMName(f, filepath.Base(f), 0, games)
137137
n.Update(ntf.Info, strconv.Itoa(i)+"/"+strconv.Itoa(len(roms))+" "+f)
138-
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":
138+
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":
139139
bytes, err := ioutil.ReadFile(f)
140140
if err != nil {
141141
n.Update(ntf.Error, err.Error())

0 commit comments

Comments
 (0)