mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Android: Invalidate Picasso screenshot cache every time a screenshot is displayed.
This commit is contained in:
@ -678,10 +678,10 @@ void SaveScreenShot(std::string name)
|
||||
SetState(CORE_PAUSE);
|
||||
|
||||
const std::string& gameId = SConfig::GetInstance().GetUniqueID();
|
||||
std::string path = File::GetUserPath(D_SCREENSHOTS_IDX) + gameId + DIR_SEP_CHR;
|
||||
|
||||
name = StringFromFormat("%s%s.png", path.c_str(), name.c_str());
|
||||
g_video_backend->Video_Screenshot(name);
|
||||
std::string filePath = File::GetUserPath(D_SCREENSHOTS_IDX) + gameId + DIR_SEP_CHR + name + ".png";
|
||||
|
||||
g_video_backend->Video_Screenshot(filePath);
|
||||
|
||||
if (!bPaused)
|
||||
SetState(CORE_RUN);
|
||||
|
Reference in New Issue
Block a user