Arreglada la clase Screen. Había un lio de conceptos con varias variables

This commit is contained in:
2022-11-18 20:09:03 +01:00
parent 90bdad7d51
commit fdc8797d2b
20 changed files with 708 additions and 128 deletions

View File

@@ -251,6 +251,9 @@ void Intro::update()
// Gestiona el contador de carga
updateLoad();
// Actualiza las notificaciones
screen->updateNotifier();
// Comprueba si ha terminado la intro
if (loadCounter >= 768)
{
@@ -281,7 +284,7 @@ void Intro::render()
section_t Intro::run()
{
// Inicia el sonido de carga
JA_SetVolume(64);
JA_SetVolume(64);
JA_PlayMusic(loadingSound1);
while (section.name == SECTION_PROG_INTRO)
@@ -290,7 +293,7 @@ section_t Intro::run()
render();
}
JA_SetVolume(128);
JA_SetVolume(128);
return section;
}