From 9193ec0f14635bba6bec9542d3f345445b273373 Mon Sep 17 00:00:00 2001 From: tildearrow Date: Sun, 16 Jan 2022 01:47:19 -0500 Subject: [PATCH] add attribution for SAA1099 core --- src/gui/gui.cpp | 7 ++++--- src/main.cpp | 1 + 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp index 706dbb8c..cfec8c0a 100644 --- a/src/gui/gui.cpp +++ b/src/gui/gui.cpp @@ -1628,7 +1628,7 @@ void FurnaceGUI::drawPattern() { ImGui::End(); } -const char* aboutLine[54]={ +const char* aboutLine[55]={ "tildearrow", "is proud to present", "", @@ -1651,6 +1651,7 @@ const char* aboutLine[54]={ "ymfm by Aaron Giles", "MAME SN76496 by Nicola Salmoria", "MAME AY-3-8910 by Couriersud", + "MAME SAA1099 by Juergen Buchmueller and Manuel Abadia", "SameBoy by Lior Halphon", "Mednafen PCE", "puNES by FHorse", @@ -1734,7 +1735,7 @@ void FurnaceGUI::drawAbout() { } } - for (int i=0; i<54; i++) { + for (int i=0; i<55; i++) { double posX=(scrW*dpiScale/2.0)+(sin(double(i)*0.5+double(aboutScroll)/90.0)*120*dpiScale)-(ImGui::CalcTextSize(aboutLine[i]).x*0.5); double posY=(scrH-aboutScroll+42*i)*dpiScale; if (posY<-80*dpiScale || posY>scrH*dpiScale) continue; @@ -1757,7 +1758,7 @@ void FurnaceGUI::drawAbout() { ImGui::PopFont(); aboutScroll+=2; if (++aboutSin>=2400) aboutSin=0; - if (aboutScroll>(42*54+scrH)) aboutScroll=-20; + if (aboutScroll>(42*55+scrH)) aboutScroll=-20; } ImGui::End(); } diff --git a/src/main.cpp b/src/main.cpp index c84623fa..c1d2fdce 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -111,6 +111,7 @@ bool pVersion(String) { printf("- ymfm by Aaron Giles (BSD 3-clause)\n"); printf("- MAME SN76496 emulation core by Nicola Salmoria (BSD 3-clause)\n"); printf("- MAME AY-3-8910 emulation core by Couriersud (BSD 3-clause)\n"); + printf("- MAME SAA1099 emulation core by Juergen Buchmueller and Manuel Abadia (BSD 3-clause)\n"); printf("- SameBoy by Lior Halphon (MIT)\n"); printf("- Mednafen PCE by Mednafen Team (GPLv2)\n"); printf("- puNES by FHorse (GPLv2)\n");