diff --git a/main.go b/main.go index b02608e..d655c70 100644 --- a/main.go +++ b/main.go @@ -66,7 +66,7 @@ func init() { romCache.Cached = make(map[string]bool) for _, rom := range romCache.ROMs { - romCache.Cached[rom.ID] = true + romCache.Cached[rom.Filename] = true log.Printf("loaded cached file: %s", rom.Filename) }