From 8c3328490166fe7bee095670bd24330b6b215763 Mon Sep 17 00:00:00 2001 From: sum2012 Date: Sun, 30 Mar 2014 09:29:11 +0800 Subject: [PATCH] Fix sceUtilityScreenshotUpdate Fix "After the developer/publisher screen and the age warning only a black screen." --- Core/Dialog/PSPDialog.h | 3 ++- Core/Dialog/PSPPlaceholderDialog.cpp | 3 ++- Core/HLE/sceUtility.cpp | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Core/Dialog/PSPDialog.h b/Core/Dialog/PSPDialog.h index 76eb19577f..db00f8a178 100644 --- a/Core/Dialog/PSPDialog.h +++ b/Core/Dialog/PSPDialog.h @@ -61,7 +61,8 @@ public: SCE_UTILITY_STATUS_INITIALIZE = 1, SCE_UTILITY_STATUS_RUNNING = 2, SCE_UTILITY_STATUS_FINISHED = 3, - SCE_UTILITY_STATUS_SHUTDOWN = 4 + SCE_UTILITY_STATUS_SHUTDOWN = 4, + SCE_UTILITY_STATUS_SCREENSHOT_UNKNOWN = 5, }; enum DialogStockButton diff --git a/Core/Dialog/PSPPlaceholderDialog.cpp b/Core/Dialog/PSPPlaceholderDialog.cpp index 51eff390d6..661a7d38d7 100644 --- a/Core/Dialog/PSPPlaceholderDialog.cpp +++ b/Core/Dialog/PSPPlaceholderDialog.cpp @@ -40,7 +40,8 @@ int PSPPlaceholderDialog::Update(int animSpeed) } else if (status == SCE_UTILITY_STATUS_RUNNING) { - status = SCE_UTILITY_STATUS_FINISHED; + //Check with JPCSPTrace log of Dream Club Portable + status = SCE_UTILITY_STATUS_SCREENSHOT_UNKNOWN; } else if (status == SCE_UTILITY_STATUS_FINISHED) { diff --git a/Core/HLE/sceUtility.cpp b/Core/HLE/sceUtility.cpp index e961d67fda..86188ca274 100644 --- a/Core/HLE/sceUtility.cpp +++ b/Core/HLE/sceUtility.cpp @@ -460,7 +460,7 @@ u32 sceUtilityScreenshotUpdate(u32 animSpeed) return SCE_ERROR_UTILITY_WRONG_TYPE; } int ret = screenshotDialog.Update(animSpeed); - ERROR_LOG(SCEUTILITY, "UNIMPL %08x=sceUtilityScreenshotUpdate(%d)",ret,animSpeed); + WARN_LOG(SCEUTILITY, " %08x=sceUtilityScreenshotUpdate(%d)", ret, animSpeed); return ret; }