From 7139faaad618a5dc748cf2a711ca292a49d129d5 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Sat, 25 Feb 2023 21:38:25 +0100 Subject: [PATCH] Added support for the WASM-4 Fantasy Console (wasm4) game system. --- es-app/src/PlatformId.cpp | 1 + es-app/src/PlatformId.h | 1 + es-app/src/scrapers/ScreenScraper.cpp | 1 + resources/systems/macos/es_systems.xml | 9 +++++++++ resources/systems/unix/es_systems.xml | 9 +++++++++ resources/systems/windows/es_systems.xml | 9 +++++++++ 6 files changed, 30 insertions(+) diff --git a/es-app/src/PlatformId.cpp b/es-app/src/PlatformId.cpp index 055b07f6d..8096873c4 100644 --- a/es-app/src/PlatformId.cpp +++ b/es-app/src/PlatformId.cpp @@ -134,6 +134,7 @@ namespace PlatformIds "videopac", // Philips Videopac G7000 (Magnavox Odyssey2) "virtualboy", // Nintendo Virtual Boy "vsmile", // VTech V.Smile + "wasm4", // WASM-4 Fantasy Console "wii", // Nintendo Wii "wiiu", // Nintendo Wii U "wonderswan", // Bandai WonderSwan diff --git a/es-app/src/PlatformId.h b/es-app/src/PlatformId.h index cc53f4855..cec57d853 100644 --- a/es-app/src/PlatformId.h +++ b/es-app/src/PlatformId.h @@ -133,6 +133,7 @@ namespace PlatformIds PHILIPS_VIDEOPAC, NINTENDO_VIRTUAL_BOY, VTECH_VSMILE, + GAMEENGINE_WASM4, NINTENDO_WII, NINTENDO_WII_U, BANDAI_WONDERSWAN, diff --git a/es-app/src/scrapers/ScreenScraper.cpp b/es-app/src/scrapers/ScreenScraper.cpp index a0759996e..cf25d87ae 100644 --- a/es-app/src/scrapers/ScreenScraper.cpp +++ b/es-app/src/scrapers/ScreenScraper.cpp @@ -61,6 +61,7 @@ namespace {FUJITSU_FM_TOWNS, 253}, {INTELLIVISION, 115}, {GAMEENGINE_LUTRO, 206}, + {GAMEENGINE_WASM4, 262}, {APPLE_MACINTOSH, 146}, {GOOGLE_ANDROID, 63}, {LCD_GAMES, 75}, diff --git a/resources/systems/macos/es_systems.xml b/resources/systems/macos/es_systems.xml index 2d29eeb06..ec9fdae1e 100644 --- a/resources/systems/macos/es_systems.xml +++ b/resources/systems/macos/es_systems.xml @@ -1664,6 +1664,15 @@ vsmile vsmile + + wasm4 + WASM-4 Fantasy Console + %ROMPATH%/wasm4 + .wasm .WASM + %EMULATOR_RETROARCH% -L %CORE_RETROARCH%/wasm4_libretro.dylib %ROM% + wasm4 + wasm4 + wii Nintendo Wii diff --git a/resources/systems/unix/es_systems.xml b/resources/systems/unix/es_systems.xml index 733a91cab..c8c832138 100644 --- a/resources/systems/unix/es_systems.xml +++ b/resources/systems/unix/es_systems.xml @@ -1719,6 +1719,15 @@ vsmile vsmile + + wasm4 + WASM-4 Fantasy Console + %ROMPATH%/wasm4 + .wasm .WASM + %EMULATOR_RETROARCH% -L %CORE_RETROARCH%/wasm4_libretro.so %ROM% + wasm4 + wasm4 + wii Nintendo Wii diff --git a/resources/systems/windows/es_systems.xml b/resources/systems/windows/es_systems.xml index 1ab5c75a8..b5fa489bb 100644 --- a/resources/systems/windows/es_systems.xml +++ b/resources/systems/windows/es_systems.xml @@ -1721,6 +1721,15 @@ vsmile vsmile + + wasm4 + WASM-4 Fantasy Console + %ROMPATH%\wasm4 + .wasm .WASM + %EMULATOR_RETROARCH% -L %CORE_RETROARCH%\wasm4_libretro.dll %ROM% + wasm4 + wasm4 + wii Nintendo Wii