mirror of https://github.com/PCSX2/pcsx2.git
gsdx-linux: add a new gui entry for the previous hack
This commit is contained in:
parent
0d25a0592a
commit
bb15e54438
|
@ -351,6 +351,7 @@ void populate_hack_table(GtkWidget* hack_table)
|
|||
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_unsafe_fbmask = CreateCheckBox("Fast Accurate Blending", "UserHacks_unsafe_fbmask");
|
||||
|
||||
GtkWidget* hack_sprite_box = CreateComboBoxFromVector(theApp.m_gs_hack, "UserHacks_SpriteHack");
|
||||
GtkWidget* hack_sprite_label = left_label("Alpha-Sprite Hack:");
|
||||
|
@ -375,6 +376,7 @@ void populate_hack_table(GtkWidget* hack_table)
|
|||
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_unsafe_fbmask);
|
||||
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);
|
||||
|
|
|
@ -102,6 +102,11 @@ const char* dialog_message(int ID, bool* updateText) {
|
|||
"High:\nExtend it to destination alpha blending and color wrapping. (help shadow and fog effect). A good CPU is required.\n\n"
|
||||
"Full:\nExcept few cases, the blending unit will be fully emulated by the shader. It is ultra slow! It is intended for debug.\n\n"
|
||||
"Ultra:\nThe blending unit will be completely emulated by the shader. It is ultra slow! It is intended for debug.";
|
||||
#ifdef __linux__
|
||||
case IDC_UNSAFE_FBMASK:
|
||||
return "Relies on undefined hardware behavior to accelerate accurate blending operation.\n\n"
|
||||
"It provides a major boost on the Xenosaga Series.\n";
|
||||
#endif
|
||||
case IDC_TC_DEPTH:
|
||||
return "Allows the conversion of Depth buffer from/to Color buffer. It is used for blur & depth of field effects";
|
||||
case IDC_AFCOMBO:
|
||||
|
|
|
@ -60,6 +60,7 @@ enum {
|
|||
IDC_TCOFFSETY2,
|
||||
IDC_PALTEX,
|
||||
IDC_ACCURATE_BLEND_UNIT,
|
||||
IDC_UNSAFE_FBMASK,
|
||||
IDC_ACCURATE_DATE,
|
||||
IDC_TC_DEPTH,
|
||||
IDC_CRC_LEVEL,
|
||||
|
|
Loading…
Reference in New Issue