From c8cbebb7f9e829367fbf1e77ecfd985a8214e562 Mon Sep 17 00:00:00 2001 From: Steven Polley Date: Sun, 4 Jun 2023 12:35:27 -0600 Subject: [PATCH] initialize Cached map --- main.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.go b/main.go index 39f2135..fb41f9d 100644 --- a/main.go +++ b/main.go @@ -42,6 +42,8 @@ var ( // Preload cached list of files and hashes func init() { + romCache := ROMCache{} + romCache.Cached = make(map[string]bool) go updateROMCache("public") }