mirror of https://github.com/PCSX2/pcsx2.git
gsdx-linux: add the preload gs hack option
This commit is contained in:
parent
ef3aa17025
commit
9b2b024721
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -70,6 +70,7 @@ enum {
|
|||
IDC_SHADEBOOST,
|
||||
IDC_SHADER_FX,
|
||||
IDC_FXAA,
|
||||
IDC_MIPMAP
|
||||
IDC_MIPMAP,
|
||||
IDC_PRELOAD_GS
|
||||
};
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue