mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-03 03:03:50 +01:00
Logging improvements
This commit is contained in:
1 parent
f83b9c511d
commit
b813a6c30f
5 files changed
+50
-28
No files matched your search
+5
-4
@@ -953,7 +953,7 @@ bool CreateGlobalPipelines() {
|
||||
}
|
||||
|
||||
void NativeShutdownGraphics() {
|
||||
INFO_LOG(Log::System, "NativeShutdownGraphics");
|
||||
INFO_LOG(Log::System, "NativeShutdownGraphics begin");
|
||||
|
||||
if (g_screenManager) {
|
||||
g_screenManager->deviceLost();
|
||||
@@ -1001,7 +1001,7 @@ void NativeShutdownGraphics() {
|
||||
texColorPipeline = nullptr;
|
||||
}
|
||||
|
||||
INFO_LOG(Log::System, "NativeShutdownGraphics done");
|
||||
INFO_LOG(Log::System, "NativeShutdownGraphics end");
|
||||
}
|
||||
|
||||
static void TakeScreenshot(Draw::DrawContext *draw) {
|
||||
@@ -1536,6 +1536,8 @@ bool NativeIsRestarting() {
|
||||
}
|
||||
|
||||
void NativeShutdown() {
|
||||
INFO_LOG(Log::System, "NativeShutdown begin");
|
||||
|
||||
Achievements::Shutdown();
|
||||
|
||||
if (g_Config.bAchievementsEnable) {
|
||||
@@ -1554,8 +1556,6 @@ void NativeShutdown() {
|
||||
|
||||
g_Config.Save("NativeShutdown");
|
||||
|
||||
INFO_LOG(Log::System, "NativeShutdown called");
|
||||
|
||||
g_i18nrepo.LogMissingKeys();
|
||||
|
||||
ShutdownWebServer();
|
||||
@@ -1587,6 +1587,7 @@ void NativeShutdown() {
|
||||
|
||||
// Previously we did exit() here on Android but that makes it hard to do things like restart on backend change.
|
||||
// I think we handle most globals correctly or correct-enough now.
|
||||
INFO_LOG(Log::System, "NativeShutdown end");
|
||||
}
|
||||
|
||||
// In the future, we might make this more sophisticated, such as storing in the app private directory on Android.
|
||||
|
||||
Reference in new issue
Block a user