From 7fb6734febca76eec75bbb682dbdbf89680de4a5 Mon Sep 17 00:00:00 2001
From: Leon Styhre <leon@leonstyhre.com>
Date: Thu, 12 May 2022 22:45:52 +0200
Subject: [PATCH] Added scraper support for the astrocde (Bally Astrocade)
 system.

Also renamed astrocade to astrocde.
---
 es-app/src/PlatformId.cpp                  | 2 +-
 es-app/src/scrapers/GamesDBJSONScraper.cpp | 1 +
 es-app/src/scrapers/ScreenScraper.cpp      | 1 +
 3 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/es-app/src/PlatformId.cpp b/es-app/src/PlatformId.cpp
index 860993052..f32c338a0 100644
--- a/es-app/src/PlatformId.cpp
+++ b/es-app/src/PlatformId.cpp
@@ -26,7 +26,7 @@ namespace PlatformIds
         "apple2",               // Apple II
         "apple2gs",             // Apple IIGS
         "arcade",               // Arcade
-        "astrocade",            // Bally Astrocade
+        "astrocde",             // Bally Astrocade
         "atari2600",            // Atari 2600
         "atari5200",            // Atari 5200
         "atari7800",            // Atari 7800
diff --git a/es-app/src/scrapers/GamesDBJSONScraper.cpp b/es-app/src/scrapers/GamesDBJSONScraper.cpp
index d74652ab5..ba9c10420 100644
--- a/es-app/src/scrapers/GamesDBJSONScraper.cpp
+++ b/es-app/src/scrapers/GamesDBJSONScraper.cpp
@@ -44,6 +44,7 @@ namespace
         {AMSTRAD_CPC, "4914"},
         {APPLE_II, "4942"},
         {ARCADE, "23"},
+        {BALLY_ASTROCADE, "4968"},
         {ATARI_800, "4943"},
         {ATARI_2600, "22"},
         {ATARI_5200, "26"},
diff --git a/es-app/src/scrapers/ScreenScraper.cpp b/es-app/src/scrapers/ScreenScraper.cpp
index 174549950..74789fd60 100644
--- a/es-app/src/scrapers/ScreenScraper.cpp
+++ b/es-app/src/scrapers/ScreenScraper.cpp
@@ -36,6 +36,7 @@ namespace
         {APPLE_II, 86},
         {APPLE_IIGS, 217},
         {ARCADE, 75},
+        {BALLY_ASTROCADE, 44},
         {ATARI_800, 43},
         {ATARI_2600, 26},
         {ATARI_5200, 40},