mirror of
https://github.com/AppleWin/AppleWin.git
synced 2024-12-23 00:30:17 +00:00
added: -printscreen command line to enable display of print screen filename
This commit is contained in:
parent
dc1001fe30
commit
3ed6912be6
@ -258,6 +258,7 @@ void DrawMonoLoResSource ();
|
||||
void DrawMonoTextSource (HDC dc);
|
||||
void DrawTextSource (HDC dc);
|
||||
|
||||
bool g_bDisplayPrintScreenFileName = false;
|
||||
void Util_MakeScreenShotFileName( char *pFinalFileName_ );
|
||||
bool Util_TestScreenShotFileName( const char *pFileName );
|
||||
void Video_TakeScreenShot();
|
||||
@ -2535,5 +2536,8 @@ void Video_SaveScreenShot( const char *pScreenShotFileName )
|
||||
fclose( pFile );
|
||||
}
|
||||
|
||||
MessageBox( NULL, pScreenShotFileName, "Screen Captured", MB_OK );
|
||||
if( g_bDisplayPrintScreenFileName )
|
||||
{
|
||||
MessageBox( NULL, pScreenShotFileName, "Screen Captured", MB_OK );
|
||||
}
|
||||
}
|
||||
|
@ -71,6 +71,7 @@ bool VideoGetSW80COL();
|
||||
DWORD VideoGetSnapshot(SS_IO_Video* pSS);
|
||||
DWORD VideoSetSnapshot(SS_IO_Video* pSS);
|
||||
|
||||
extern bool g_bDisplayPrintScreenFileName;
|
||||
void Video_TakeScreenShot();
|
||||
|
||||
BYTE __stdcall VideoCheckMode (WORD pc, WORD addr, BYTE bWrite, BYTE d, ULONG nCyclesLeft);
|
||||
|
Loading…
Reference in New Issue
Block a user