GS: add tex in rt hw hack in GUI.

This commit is contained in:
iMineLink 2021-09-25 16:26:50 +02:00 committed by refractionpcsx2
parent b7899d0c8c
commit 0055fcf489
3 changed files with 5 additions and 0 deletions

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;

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,

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);