Removing emunames, not needed here
1 files changed, 1 insertions(+), 2 deletions(-)

M web.go
M web.go +1 -2
@@ 2437,7 2437,7 @@ func emuinit() {
 		emunames, _ = dir.Readdirnames(0)
 		dir.Close()
 	}
-	for i, e := range emunames {
+	for _, e := range emunames {
 		if len(e) <= 4 {
 			continue
 		}

          
@@ 2448,7 2448,6 @@ func emuinit() {
 			Type: "image/" + ext[1:],
 		}
 		allemus = append(allemus, emu)
-		emunames[i] = e[:len(e)-4]
 	}
 	sort.Slice(allemus, func(i, j int) bool {
 		return allemus[i].Name < allemus[j].Name