AY8930 code attribution

This commit is contained in:
tildearrow 2022-01-18 18:32:42 -05:00
parent 850e270f7d
commit 20bca9cce4

View file

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