From c8e6cfcb640c01ed6563558ec9ab49775c88e9b6 Mon Sep 17 00:00:00 2001 From: giongto35 Date: Mon, 18 May 2020 02:00:00 +0800 Subject: [PATCH] Feature: Add pgm bios + quit reload to the main page (#183) --- pkg/util/gamelist/games.go | 2 +- web/js/controller.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/util/gamelist/games.go b/pkg/util/gamelist/games.go index 66c5793b..aac513d1 100644 --- a/pkg/util/gamelist/games.go +++ b/pkg/util/gamelist/games.go @@ -17,7 +17,7 @@ type GameInfo struct { const gamePath = "assets/games" -var excludeFiles = []string{"neogeo"} +var excludeFiles = []string{"neogeo", "pgm"} var GameList []GameInfo diff --git a/web/js/controller.js b/web/js/controller.js index 0bf08614..94edce1a 100644 --- a/web/js/controller.js +++ b/web/js/controller.js @@ -333,7 +333,7 @@ popup('Quit!'); - location.reload(); + window.location = window.location.pathname; break; case KEY.STATS: