mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-12-29 12:24:58 +00:00
Add the tiling toggle to core
This commit is contained in:
parent
061c10ea69
commit
09476fa6e5
@ -12,6 +12,13 @@ namespace rsx
|
|||||||
return {};
|
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)
|
for (const auto& tile : tiles)
|
||||||
{
|
{
|
||||||
if (!tile.bound || tile.location != CELL_GCM_LOCATION_MAIN)
|
if (!tile.bound || tile.location != CELL_GCM_LOCATION_MAIN)
|
||||||
|
@ -139,6 +139,7 @@ struct cfg_root : cfg::node
|
|||||||
cfg::_bool write_depth_buffer{ this, "Write Depth Buffer" };
|
cfg::_bool write_depth_buffer{ this, "Write Depth Buffer" };
|
||||||
cfg::_bool read_color_buffers{ this, "Read Color Buffers" };
|
cfg::_bool read_color_buffers{ this, "Read Color Buffers" };
|
||||||
cfg::_bool read_depth_buffer{ this, "Read Depth Buffer" };
|
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 log_programs{ this, "Log shader programs" };
|
||||||
cfg::_bool vsync{ this, "VSync" };
|
cfg::_bool vsync{ this, "VSync" };
|
||||||
cfg::_bool debug_output{ this, "Debug output" };
|
cfg::_bool debug_output{ this, "Debug output" };
|
||||||
|
Loading…
Reference in New Issue
Block a user