the filename is used as the key, not the hash!
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Steven Polley 2023-06-26 10:45:55 -06:00
parent aaf0abd08e
commit 4e09ac34f2

View File

@ -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)
}