the filename is used as the key, not the hash!
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
aaf0abd08e
commit
4e09ac34f2
2
main.go
2
main.go
@ -66,7 +66,7 @@ func init() {
|
|||||||
romCache.Cached = make(map[string]bool)
|
romCache.Cached = make(map[string]bool)
|
||||||
|
|
||||||
for _, rom := range romCache.ROMs {
|
for _, rom := range romCache.ROMs {
|
||||||
romCache.Cached[rom.ID] = true
|
romCache.Cached[rom.Filename] = true
|
||||||
log.Printf("loaded cached file: %s", rom.Filename)
|
log.Printf("loaded cached file: %s", rom.Filename)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user