Added default "screenshots" directory.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@775 a31d4220-a93d-0410-bf67-fe4944624d44
This commit is contained in:
parent
83a3996168
commit
cba3c9dc1c
|
@ -102,7 +102,7 @@ BOOL Directories::OnInitDialog()
|
|||
if(!p.IsEmpty())
|
||||
GetDlgItem(IDC_SAVE_PATH)->SetWindowText(p);
|
||||
|
||||
p = regQueryStringValue("captureDir", NULL);
|
||||
p = regQueryStringValue("captureDir", DEFAULT_SCREENSHOTS_DIR);
|
||||
if(!p.IsEmpty())
|
||||
GetDlgItem(IDC_CAPTURE_PATH)->SetWindowText(p);
|
||||
|
||||
|
|
|
@ -1083,7 +1083,7 @@ void MainWnd::screenCapture(int captureNumber)
|
|||
{
|
||||
CString buffer;
|
||||
|
||||
CString captureDir = regQueryStringValue("captureDir", "");
|
||||
CString captureDir = regQueryStringValue("captureDir", DEFAULT_SCREENSHOTS_DIR);
|
||||
treatRelativePath( captureDir );
|
||||
|
||||
int index = theApp.filename.ReverseFind('\\');
|
||||
|
|
|
@ -564,7 +564,7 @@ void MainWnd::OnFileScreencapture()
|
|||
else
|
||||
name = theApp.filename;
|
||||
|
||||
CString capdir = regQueryStringValue("captureDir", "");
|
||||
CString capdir = regQueryStringValue("captureDir", DEFAULT_SCREENSHOTS_DIR);
|
||||
treatRelativePath( capdir );
|
||||
|
||||
if(capdir.IsEmpty())
|
||||
|
|
|
@ -66,6 +66,7 @@ enum pixelFilterType
|
|||
|
||||
#define DEFAULT_BATTERY_DIR ".\\battery"
|
||||
#define DEFAULT_SAVESTATES_DIR ".\\savestates"
|
||||
#define DEFAULT_SCREENSHOTS_DIR ".\\screenshots"
|
||||
|
||||
class AVIWrite;
|
||||
class WavWriter;
|
||||
|
|
Loading…
Reference in New Issue