spu2-x: It'd help if we actually check the value of OutputModules.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2641 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
arcum42 2010-02-26 06:04:16 +00:00
parent 59459a5df5
commit 7a254b5308
1 changed files with 5 additions and 1 deletions

View File

@ -165,7 +165,11 @@ void displayDialog()
mod_box = gtk_combo_box_new_text (); mod_box = gtk_combo_box_new_text ();
gtk_combo_box_append_text(GTK_COMBO_BOX(mod_box), "0 - No Sound (emulate SPU2 only)"); gtk_combo_box_append_text(GTK_COMBO_BOX(mod_box), "0 - No Sound (emulate SPU2 only)");
gtk_combo_box_append_text(GTK_COMBO_BOX(mod_box), "1 - PortAudio (cross-platform)"); gtk_combo_box_append_text(GTK_COMBO_BOX(mod_box), "1 - PortAudio (cross-platform)");
gtk_combo_box_set_active(GTK_COMBO_BOX(mod_box), 1); if (OutputModule == 0)
gtk_combo_box_set_active(GTK_COMBO_BOX(mod_box), 0);
else
gtk_combo_box_set_active(GTK_COMBO_BOX(mod_box), 1);
// latency slider // latency slider
latency_slide = gtk_hscale_new_with_range(LATENCY_MIN, LATENCY_MAX, 5); latency_slide = gtk_hscale_new_with_range(LATENCY_MIN, LATENCY_MAX, 5);