diff --git a/plugins/GSdx/GSLinuxDialog.cpp b/plugins/GSdx/GSLinuxDialog.cpp index 94b381971d..3ed58089c8 100644 --- a/plugins/GSdx/GSLinuxDialog.cpp +++ b/plugins/GSdx/GSLinuxDialog.cpp @@ -399,6 +399,7 @@ void populate_hack_table(GtkWidget* hack_table) GtkWidget* hack_tco_label = gtk_label_new("Texture Offset: 0x"); GtkWidget* hack_tco_entry = CreateTextBox("UserHacks_TCOffset"); GtkWidget* align_sprite_check = CreateCheckBox("Align sprite hack", "UserHacks_align_sprite_X"); + GtkWidget* preload_gs_check = CreateCheckBox("Preload Frame", "preload_frame_with_gs_data"); GtkWidget* hack_sprite_box = CreateComboBoxFromVector(theApp.m_gs_hack, "UserHacks_SpriteHack"); GtkWidget* hack_sprite_label = gtk_label_new("Alpha-Sprite Hack:"); @@ -416,15 +417,16 @@ void populate_hack_table(GtkWidget* hack_table) AddTooltip(hack_tco_entry, IDC_TCOFFSETX); AddTooltip(align_sprite_check, IDC_ALIGN_SPRITE); AddTooltip(stretch_hack_label, stretch_hack_box, IDC_ROUND_SPRITE); + AddTooltip(preload_gs_check, IDC_PRELOAD_GS); s_table_line = 0; InsertWidgetInTable(hack_table , hack_enble_check); InsertWidgetInTable(hack_table , hack_wild_check , align_sprite_check); + InsertWidgetInTable(hack_table , hack_offset_check , preload_gs_check); InsertWidgetInTable(hack_table , hack_sprite_label , hack_sprite_box ); InsertWidgetInTable(hack_table , stretch_hack_label , stretch_hack_box ); InsertWidgetInTable(hack_table , hack_skipdraw_label , hack_skipdraw_spin); - InsertWidgetInTable(hack_table , hack_offset_check); InsertWidgetInTable(hack_table , hack_tco_label , hack_tco_entry); } diff --git a/plugins/GSdx/GSSetting.cpp b/plugins/GSdx/GSSetting.cpp index 0c977ac423..5adcb89f0a 100644 --- a/plugins/GSdx/GSSetting.cpp +++ b/plugins/GSdx/GSSetting.cpp @@ -123,10 +123,10 @@ const char* dialog_message(int ID, bool* updateText) { return "Makes textures partially or fully transparent as required by emulation. May cause unusual slowdowns for some games."; case IDC_LOGZ: return "Treat depth as logarithmic instead of linear. Recommended setting is on unless it causes graphical glitches."; +#endif // Exclusive for Hardware Renderer case IDC_PRELOAD_GS: return "Uploads GS data when rendering a new frame to reproduce some effects accurately. Fixes black screen issues in games like Armored Core: Last Raven."; -#endif case IDC_MIPMAP: return "Enables mipmapping, which some games require to render correctly. Turn off only for debug purposes."; default: diff --git a/plugins/GSdx/GSSetting.h b/plugins/GSdx/GSSetting.h index 86673b0d74..1bb045e9a6 100644 --- a/plugins/GSdx/GSSetting.h +++ b/plugins/GSdx/GSSetting.h @@ -70,6 +70,7 @@ enum { IDC_SHADEBOOST, IDC_SHADER_FX, IDC_FXAA, - IDC_MIPMAP + IDC_MIPMAP, + IDC_PRELOAD_GS }; #endif