Revert 9273a88d and make it not freeze the GPU/LCD hardware.

This commit is contained in:
profi200
2017-08-13 03:05:32 +02:00
parent 49c0ab65df
commit cd194fa5b2
2 changed files with 8 additions and 3 deletions

View File

@@ -96,9 +96,6 @@ void initScreens(void)
if(needToSetup)
{
memcpy((void *)ARM11_PARAMETERS_ADDRESS, fbs, sizeof(fbs));
invokeArm11Function(SETUP_FRAMEBUFFERS);
if(!ARESCREENSINITIALIZED)
{
*(vu32 *)ARM11_PARAMETERS_ADDRESS = brightness[MULTICONFIG(BRIGHTNESS)];
@@ -109,6 +106,8 @@ void initScreens(void)
}
else updateBrightness(MULTICONFIG(BRIGHTNESS));
memcpy((void *)ARM11_PARAMETERS_ADDRESS, fbs, sizeof(fbs));
invokeArm11Function(SETUP_FRAMEBUFFERS);
clearScreens(true);
needToSetup = false;
}