log: Initalize before appUtil so that we can log errors incase appUtil fails

This commit is contained in:
Joel16 2020-09-17 19:35:45 -04:00
parent 02bf1f8985
commit f658451397

View File

@ -77,20 +77,20 @@ namespace Services {
ImGui::StyleColorsDark();
ImGui_ImplVitaGL_GamepadUsage(true);
Config::Load();
Log::Init();
Textures::Init();
Utils::InitAppUtil();
SCE_CTRL_ENTER = Utils::GetEnterButton();
SCE_CTRL_CANCEL = Utils::GetCancelButton();
Config::Load();
Log::Init();
}
void Exit(void) {
// Clean up
Log::Exit();
Utils::EndAppUtil();
Textures::Exit();
Log::Exit();
ImGui_ImplVitaGL_Shutdown();
ImGui::DestroyContext();
vglEnd();