mirror of https://github.com/PCSX2/pcsx2.git
gsdx linux: add a gui check box to control previous hack
This commit is contained in:
parent
029d74f855
commit
aba0c733cd
|
@ -355,6 +355,7 @@ void populate_hack_table(GtkWidget* hack_table)
|
||||||
GtkWidget* hack_safe_fbmask = CreateCheckBox("Safe Accurate Blending", "UserHacks_safe_fbmask");
|
GtkWidget* hack_safe_fbmask = CreateCheckBox("Safe Accurate Blending", "UserHacks_safe_fbmask");
|
||||||
GtkWidget* hack_fast_inv = CreateCheckBox("Fast Texture Invalidation", "UserHacks_DisablePartialInvalidation");
|
GtkWidget* hack_fast_inv = CreateCheckBox("Fast Texture Invalidation", "UserHacks_DisablePartialInvalidation");
|
||||||
GtkWidget* hack_depth_check = CreateCheckBox("Disable Depth Emulation", "UserHacks_DisableDepthSupport");
|
GtkWidget* hack_depth_check = CreateCheckBox("Disable Depth Emulation", "UserHacks_DisableDepthSupport");
|
||||||
|
GtkWidget* hack_auto_flush = CreateCheckBox("Auto Flush Primitives", "UserHacks_AutoFlush");
|
||||||
|
|
||||||
GtkWidget* hack_sprite_box = CreateComboBoxFromVector(theApp.m_gs_hack, "UserHacks_SpriteHack");
|
GtkWidget* hack_sprite_box = CreateComboBoxFromVector(theApp.m_gs_hack, "UserHacks_SpriteHack");
|
||||||
GtkWidget* hack_sprite_label = left_label("Alpha-Sprite Hack:");
|
GtkWidget* hack_sprite_label = left_label("Alpha-Sprite Hack:");
|
||||||
|
@ -375,13 +376,14 @@ void populate_hack_table(GtkWidget* hack_table)
|
||||||
AddTooltip(hack_safe_fbmask, IDC_SAFE_FBMASK);
|
AddTooltip(hack_safe_fbmask, IDC_SAFE_FBMASK);
|
||||||
AddTooltip(hack_fast_inv, IDC_FAST_TC_INV);
|
AddTooltip(hack_fast_inv, IDC_FAST_TC_INV);
|
||||||
AddTooltip(hack_depth_check, IDC_TC_DEPTH);
|
AddTooltip(hack_depth_check, IDC_TC_DEPTH);
|
||||||
|
AddTooltip(hack_auto_flush, IDC_AUTO_FLUSH);
|
||||||
|
|
||||||
|
|
||||||
s_table_line = 0;
|
s_table_line = 0;
|
||||||
InsertWidgetInTable(hack_table , hack_wild_check , align_sprite_check);
|
InsertWidgetInTable(hack_table , hack_wild_check , align_sprite_check);
|
||||||
InsertWidgetInTable(hack_table , hack_offset_check , preload_gs_check);
|
InsertWidgetInTable(hack_table , hack_offset_check , preload_gs_check);
|
||||||
InsertWidgetInTable(hack_table , hack_safe_fbmask , hack_fast_inv);
|
InsertWidgetInTable(hack_table , hack_safe_fbmask , hack_fast_inv);
|
||||||
InsertWidgetInTable(hack_table , hack_depth_check);
|
InsertWidgetInTable(hack_table , hack_depth_check , hack_auto_flush);
|
||||||
InsertWidgetInTable(hack_table , hack_sprite_label , hack_sprite_box );
|
InsertWidgetInTable(hack_table , hack_sprite_label , hack_sprite_box );
|
||||||
InsertWidgetInTable(hack_table , stretch_hack_label , stretch_hack_box );
|
InsertWidgetInTable(hack_table , stretch_hack_label , stretch_hack_box );
|
||||||
InsertWidgetInTable(hack_table , hack_skipdraw_label , hack_skipdraw_spin);
|
InsertWidgetInTable(hack_table , hack_skipdraw_label , hack_skipdraw_spin);
|
||||||
|
|
|
@ -131,6 +131,8 @@ const char* dialog_message(int ID, bool* updateText) {
|
||||||
#ifdef __linux__
|
#ifdef __linux__
|
||||||
case IDC_LINEAR_PRESENT:
|
case IDC_LINEAR_PRESENT:
|
||||||
return "Use bilinear filtering when Upscaling/Downscaling the image to the screen. Disable it if you want a sharper/pixelated output.";
|
return "Use bilinear filtering when Upscaling/Downscaling the image to the screen. Disable it if you want a sharper/pixelated output.";
|
||||||
|
case IDC_AUTO_FLUSH:
|
||||||
|
return "Force a primitive flush when framebuffer is also an input texture. Warning: it is very costly on the performances. Help to fix some processing effects such as Jak shadows, GTA radiosity...";
|
||||||
#endif
|
#endif
|
||||||
// Exclusive for Hardware Renderer
|
// Exclusive for Hardware Renderer
|
||||||
case IDC_PRELOAD_GS:
|
case IDC_PRELOAD_GS:
|
||||||
|
|
|
@ -76,5 +76,6 @@ enum {
|
||||||
IDC_FAST_TC_INV,
|
IDC_FAST_TC_INV,
|
||||||
IDC_LARGE_FB,
|
IDC_LARGE_FB,
|
||||||
IDC_LINEAR_PRESENT,
|
IDC_LINEAR_PRESENT,
|
||||||
|
IDC_AUTO_FLUSH,
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue