mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-05 04:03:49 +01:00
Add "Take Screenshot" to Windows version. Writes to "screenshots" subdirectory. No smart file naming yet.
This commit is contained in:
1 parent
3034989300
commit
23ee9b8cd5
8 files changed
+57
-4
No files matched your search
@@ -47,7 +47,7 @@
|
||||
|
||||
BOOL g_bFullScreen = FALSE;
|
||||
static RECT g_normalRC = {0};
|
||||
|
||||
extern bool g_TakeScreenshot;
|
||||
extern InputState input_state;
|
||||
extern const char * getVirtualKeyName(unsigned char key);
|
||||
extern const char * getXinputButtonName(unsigned int button);
|
||||
@@ -771,6 +771,9 @@ namespace MainWindow
|
||||
DialogBox(hInst, (LPCTSTR)IDD_ABOUTBOX, hWnd, (DLGPROC)About);
|
||||
DialogManager::EnableAll(TRUE);
|
||||
break;
|
||||
case ID_DEBUG_TAKESCREENSHOT:
|
||||
g_TakeScreenshot = true;
|
||||
break;
|
||||
|
||||
default:
|
||||
MessageBox(hwndMain,"Unimplemented","Sorry",0);
|
||||
|
||||
Reference in new issue
Block a user