From fe891812d3cd857db583079c9ab174f3d5e29b98 Mon Sep 17 00:00:00 2001
From: Leon Styhre <leon@leonstyhre.com>
Date: Tue, 28 Jul 2020 21:12:35 +0200
Subject: [PATCH] Fixed incorrect RetroArch DOSBox core in the es_systems.cfg
 templates.

---
 resources/templates/es_systems.cfg_unix    | 2 +-
 resources/templates/es_systems.cfg_windows | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/resources/templates/es_systems.cfg_unix b/resources/templates/es_systems.cfg_unix
index f1b52985a..1b43f878b 100644
--- a/resources/templates/es_systems.cfg_unix
+++ b/resources/templates/es_systems.cfg_unix
@@ -573,7 +573,7 @@
     <fullname>PC (DOS)</fullname>
     <path>%ROMPATH%/pc</path>
     <extension>.bat .BAT .com .COM .dos .DOS .exe .EXE .pc .PC .7z .7Z .zip .ZIP</extension>
-    <command>retroarch -L ~/.config/retroarch/cores/dosbox_libretro %ROM%</command>
+    <command>retroarch -L ~/.config/retroarch/cores/dosbox_core_libretro.so %ROM%</command>
     <platform>pc</platform>
     <theme>pc</theme>
   </system>
diff --git a/resources/templates/es_systems.cfg_windows b/resources/templates/es_systems.cfg_windows
index 957d5f51c..a1e7101be 100644
--- a/resources/templates/es_systems.cfg_windows
+++ b/resources/templates/es_systems.cfg_windows
@@ -573,7 +573,7 @@
     <fullname>PC (DOS)</fullname>
     <path>%ROMPATH%\pc</path>
     <extension>.bat .BAT .com .COM .dos .DOS .exe .EXE .pc .PC .7z .7Z .zip .ZIP</extension>
-    <command>retroarch.exe -L "%EMUPATH%\cores\dosbox_libretro %ROM%</command>
+    <command>retroarch.exe -L "%EMUPATH%\cores\dosbox_core_libretro.dll" %ROM%</command>
     <platform>pc</platform>
     <theme>pc</theme>
   </system>