gsdx option: use CaptureWidth/CaptureHeight on linux too

This commit is contained in:
Gregory Hainaut 2016-05-26 18:43:11 +02:00
parent a9c18c57e4
commit 453ac88dce
3 changed files with 4 additions and 8 deletions

View File

@ -488,8 +488,8 @@ bool GSCapture::BeginCapture(float fps, GSVector2i recomendedResolution, float a
// Really cheap recording
m_frame = 0;
// Add option !!!
m_size.x = theApp.GetConfigI("capture_resx");
m_size.y = theApp.GetConfigI("capture_resy");
m_size.x = theApp.GetConfigI("CaptureWidth");
m_size.y = theApp.GetConfigI("CaptureHeight");
for(int i = 0; i < m_threads; i++) {
m_workers.push_back(new GSPng::Worker());

View File

@ -417,8 +417,8 @@ void populate_record_table(GtkWidget* record_table)
{
GtkWidget* capture_check = CreateCheckBox("Enable Recording (with F12)", "capture_enabled");
GtkWidget* resxy_label = left_label("Resolution:");
GtkWidget* resx_spin = CreateSpinButton(256, 8192, "capture_resx");
GtkWidget* resy_spin = CreateSpinButton(256, 8192, "capture_resy");
GtkWidget* resx_spin = CreateSpinButton(256, 8192, "CaptureWidth");
GtkWidget* resy_spin = CreateSpinButton(256, 8192, "CaptureHeight");
GtkWidget* threads_label = left_label("Saving Threads:");
GtkWidget* threads_spin = CreateSpinButton(1, 32, "capture_threads");
GtkWidget* out_dir_label = left_label("Output Directory:");

View File

@ -258,10 +258,6 @@ GSdxApp::GSdxApp()
m_default_configuration["fba"] = "1";
m_default_configuration["logz"] = "0";
#else
// FIXME use above option
m_default_configuration["capture_resx"] = "1280";
m_default_configuration["capture_resy"] = "1024";
//
m_default_configuration["linux_replay"] = "1";
#endif