From 2fd8c7aacea7e4514c250265938d6abfc1059f0c Mon Sep 17 00:00:00 2001 From: Aurora Date: Mon, 9 May 2016 14:38:20 +0200 Subject: [PATCH] Moved GPU register clearing to the config only, as it causes artifacts --- source/config.c | 1 + source/screeninit.c | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/source/config.c b/source/config.c index 2adec0d..969bb33 100644 --- a/source/config.c +++ b/source/config.c @@ -183,6 +183,7 @@ void configureCFW(const char *configPath) //Turn off backlight i2cWriteRegister(I2C_DEV_MCU, 0x22, 0x16); deinitScreens(); + PDN_GPU_CNT = 1; } delay(0x1400000); diff --git a/source/screeninit.c b/source/screeninit.c index 49cfedc..86f1390 100644 --- a/source/screeninit.c +++ b/source/screeninit.c @@ -40,8 +40,6 @@ void deinitScreens(void) { *arm11Entry = (u32)ARM11; while(*arm11Entry); - - PDN_GPU_CNT = 1; } }