Add the tiling toggle to core

This commit is contained in:
kd-11 2023-09-27 03:04:48 +03:00 committed by kd-11
parent 061c10ea69
commit 09476fa6e5
2 changed files with 8 additions and 0 deletions

View File

@ -12,6 +12,13 @@ namespace rsx
return {};
}
if (!g_cfg.video.handle_tiled_memory)
{
// Tiled memory sections will simply be ignored if the option is disabled.
// TODO: This option should never be needed.
return {};
}
for (const auto& tile : tiles)
{
if (!tile.bound || tile.location != CELL_GCM_LOCATION_MAIN)

View File

@ -139,6 +139,7 @@ struct cfg_root : cfg::node
cfg::_bool write_depth_buffer{ this, "Write Depth Buffer" };
cfg::_bool read_color_buffers{ this, "Read Color Buffers" };
cfg::_bool read_depth_buffer{ this, "Read Depth Buffer" };
cfg::_bool handle_tiled_memory{ this, "Handle Tiled Memory", false, true };
cfg::_bool log_programs{ this, "Log shader programs" };
cfg::_bool vsync{ this, "VSync" };
cfg::_bool debug_output{ this, "Debug output" };