mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-07-11 01:25:07 +02:00
Rework the internal screenshot API, fix bug causing screenshotting to get stuck
This commit is contained in:
@@ -30,6 +30,7 @@
|
||||
#include "Core/ConfigValues.h"
|
||||
#include "Core/FileSystems/MetaFileSystem.h"
|
||||
#include "Core/KeyMap.h"
|
||||
#include "Core/Screenshot.h"
|
||||
#include "Windows/MainWindowMenu.h"
|
||||
#include "Windows/MainWindow.h"
|
||||
#include "Windows/W32Util/DialogManager.h"
|
||||
@@ -49,8 +50,6 @@
|
||||
#include "ext/rcheevos/include/rc_client_raintegration.h"
|
||||
#endif
|
||||
|
||||
extern bool g_TakeScreenshot;
|
||||
|
||||
namespace MainWindow {
|
||||
extern bool noFocusPause;
|
||||
std::vector<HMENU> g_topLevelMenus;
|
||||
@@ -955,7 +954,7 @@ namespace MainWindow {
|
||||
break;
|
||||
|
||||
case ID_DEBUG_TAKESCREENSHOT:
|
||||
g_TakeScreenshot = true;
|
||||
TakeUserScreenshot();
|
||||
break;
|
||||
|
||||
case ID_DEBUG_RESTARTGRAPHICS:
|
||||
|
||||
Reference in New Issue
Block a user