-printscreen command line

This commit is contained in:
mpohoreski 2008-08-25 01:24:20 +00:00
parent dce8f19fff
commit 8685d9a67e

View File

@ -571,7 +571,7 @@ void AppleWin_RegisterHotKeys()
g_hFrameWindow , // HWND hWnd
VK_SNAPSHOT , // int id (user/custom id)
0 , // UINT fsModifiers
VK_SNAPSHOT // UINT vk
VK_SNAPSHOT // UINT vk = PrintScreen
);
if (! bStatus)
@ -694,6 +694,10 @@ int APIENTRY WinMain (HINSTANCE passinstance, HINSTANCE, LPSTR lpCmdLine, int)
if ((g_hCustomRomF8 == INVALID_HANDLE_VALUE) || (GetFileSize(g_hCustomRomF8, NULL) != 0x800))
g_bCustomRomF8Failed = true;
}
else if(strcmp(lpCmdLine, "-printscreen") == 0) // turn on dispay of the last filename print screen was saved to
{
g_bDisplayPrintScreenFileName = true;
}
lpCmdLine = lpNextArg;
}