From af0c4f4d25987f72649dac3d2f8ba07f7cb10a47 Mon Sep 17 00:00:00 2001 From: Aaron M Date: Sun, 2 Aug 2020 16:31:09 +1200 Subject: [PATCH] Added some new logging values for MAME --- DllMain.cpp | 1 - Game Files/MAMESupermodel.cpp | 8 ++++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/DllMain.cpp b/DllMain.cpp index cf526e1..37c2545 100644 --- a/DllMain.cpp +++ b/DllMain.cpp @@ -27,7 +27,6 @@ along with FFB Arcade Plugin.If not, see < https://www.gnu.org/licenses/>. #include #include #include - #include "Config/PersistentValues.h" // include all game header files here. diff --git a/Game Files/MAMESupermodel.cpp b/Game Files/MAMESupermodel.cpp index 4bba1c8..62b538a 100644 --- a/Game Files/MAMESupermodel.cpp +++ b/Game Files/MAMESupermodel.cpp @@ -2406,6 +2406,14 @@ void MAMESupermodel::FFBLoop(EffectConstants* constants, Helpers* helpers, Effec RunningFFB = "NamcoFFBActive"; } + char romnametext[256]; + sprintf(romnametext, "romname = %s", romname); + helpers->log(romnametext); + + char RunningFFBtext[256]; + sprintf(RunningFFBtext, "RunningFFB = %s", RunningFFB); + helpers->log(RunningFFBtext); + if ((RunningFFB != NULL) && (RunningFFB[0] != '\0')) { RomGameName = true;