GS: add tex in rt hw hack in GUI.

This commit is contained in:
iMineLink authored and refractionpcsx2 committed 2022-01-29 00:03:10 +00:00
1 parent b7899d0c8c
commit 0055fcf489
3 files changed
+5

No files matched your search

+3
View File
@@ -196,6 +196,9 @@ const char* dialog_message(int ID, bool* updateText)
case IDC_PRELOAD_TEXTURES:
return cvtString("Uploads entire textures at once instead of small pieces, avoiding redundant uploads when possible.\n"
"Improves performance in most games, but can make a small selection slower.");
case IDC_TEX_IN_RT:
return cvtString("Allows the texture cache to reuse as an input texture the inner portion of a previous framebuffer.\n"
"By default this is enabled only in Jak games.");
default:
if (updateText)
*updateText = false;
+1
View File
@@ -66,6 +66,7 @@ enum
IDC_SKIPDRAWHACKEDIT,
IDC_SKIPDRAWOFFSET,
IDC_SKIPDRAWOFFSETEDIT,
IDC_TEX_IN_RT,
// Upscaling Hacks
IDC_ALIGN_SPRITE,
IDC_MERGE_PP_SPRITE,
+1
View File
@@ -346,6 +346,7 @@ HacksTab::HacksTab(wxWindow* parent)
m_ui.addCheckBox(rend_hacks_grid, "Disable Safe Features", "UserHacks_Disable_Safe_Features", IDC_SAFE_FEATURES, hacks_prereq);
m_ui.addCheckBox(rend_hacks_grid, "Preload Frame Data", "preload_frame_with_gs_data", IDC_PRELOAD_GS, hacks_prereq);
m_ui.addCheckBox(rend_hacks_grid, "Fast Texture Invalidation", "UserHacks_DisablePartialInvalidation", IDC_FAST_TC_INV, hacks_prereq);
m_ui.addCheckBox(rend_hacks_grid, "Texture Inside RT", "UserHacks_TextureInsideRt", IDC_TEX_IN_RT, hacks_prereq);
// Upscale
m_ui.addCheckBox(upscale_hacks_grid, "Align Sprite", "UserHacks_align_sprite_X", IDC_ALIGN_SPRITE, upscale_hacks_prereq);