AY8930 code attribution

This commit is contained in:
tildearrow 2022-01-18 18:32:42 -05:00
parent 850e270f7d
commit 20bca9cce4
1 changed files with 4 additions and 3 deletions

View File

@ -1663,7 +1663,7 @@ void FurnaceGUI::drawPattern() {
ImGui::End(); ImGui::End();
} }
const char* aboutLine[55]={ const char* aboutLine[56]={
"tildearrow", "tildearrow",
"is proud to present", "is proud to present",
"", "",
@ -1686,6 +1686,7 @@ const char* aboutLine[55]={
"ymfm by Aaron Giles", "ymfm by Aaron Giles",
"MAME SN76496 by Nicola Salmoria", "MAME SN76496 by Nicola Salmoria",
"MAME AY-3-8910 by Couriersud", "MAME AY-3-8910 by Couriersud",
"with AY8930 fixes by Eulous",
"MAME SAA1099 by Juergen Buchmueller and Manuel Abadia", "MAME SAA1099 by Juergen Buchmueller and Manuel Abadia",
"SameBoy by Lior Halphon", "SameBoy by Lior Halphon",
"Mednafen PCE", "Mednafen PCE",
@ -1770,7 +1771,7 @@ void FurnaceGUI::drawAbout() {
} }
} }
for (int i=0; i<55; i++) { for (int i=0; i<56; 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 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; double posY=(scrH-aboutScroll+42*i)*dpiScale;
if (posY<-80*dpiScale || posY>scrH*dpiScale) continue; if (posY<-80*dpiScale || posY>scrH*dpiScale) continue;
@ -1793,7 +1794,7 @@ void FurnaceGUI::drawAbout() {
ImGui::PopFont(); ImGui::PopFont();
aboutScroll+=2; aboutScroll+=2;
if (++aboutSin>=2400) aboutSin=0; if (++aboutSin>=2400) aboutSin=0;
if (aboutScroll>(42*55+scrH)) aboutScroll=-20; if (aboutScroll>(42*56+scrH)) aboutScroll=-20;
} }
ImGui::End(); ImGui::End();
} }