Skip to content

Commit

Permalink
GS: add tex in rt hw hack in GUI.
Browse files Browse the repository at this point in the history
  • Loading branch information
iMineLink committed Jan 16, 2022
1 parent d9fb4b4 commit 531d267
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pcsx2/GS/Window/GSSetting.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 1 addition & 0 deletions pcsx2/GS/Window/GSSetting.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ enum
IDC_SKIPDRAWHACKEDIT,
IDC_SKIPDRAWOFFSET,
IDC_SKIPDRAWOFFSETEDIT,
IDC_TEX_IN_RT,
// Upscaling Hacks
IDC_ALIGN_SPRITE,
IDC_MERGE_PP_SPRITE,
Expand Down
1 change: 1 addition & 0 deletions pcsx2/GS/Window/GSwxDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 531d267

Please sign in to comment.