add TIA platform
currently there is a desync bug which remains to be fixed...
This commit is contained in:
parent
8c7e58b3d5
commit
573ce69dc7
10 changed files with 1088 additions and 5 deletions
|
|
@ -1543,7 +1543,7 @@ void FurnaceGUI::drawPattern() {
|
|||
ImGui::End();
|
||||
}
|
||||
|
||||
const char* aboutLine[54]={
|
||||
const char* aboutLine[55]={
|
||||
"tildearrow",
|
||||
"is proud to present",
|
||||
"",
|
||||
|
|
@ -1571,6 +1571,7 @@ const char* aboutLine[54]={
|
|||
"Mednafen PCE",
|
||||
"puNES by FHorse",
|
||||
"reSID by Dag Lem",
|
||||
"Stella by Stella Team",
|
||||
"",
|
||||
"greetings to:",
|
||||
"Delek",
|
||||
|
|
@ -1649,7 +1650,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;
|
||||
|
|
@ -1672,7 +1673,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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue