diff --git a/rpcs3/Emu/RSX/Overlays/overlays.h b/rpcs3/Emu/RSX/Overlays/overlays.h index a874641156..cf80e16af1 100644 --- a/rpcs3/Emu/RSX/Overlays/overlays.h +++ b/rpcs3/Emu/RSX/Overlays/overlays.h @@ -1090,10 +1090,13 @@ namespace rsx shader_compile_notification() { + const u16 pos_x = g_cfg.video.shader_compilation_hint.pos_x; + const u16 pos_y = g_cfg.video.shader_compilation_hint.pos_y; + m_text.set_font("Arial", 16); m_text.set_text("Compiling shaders"); m_text.auto_resize(); - m_text.set_pos(20, 690); + m_text.set_pos(pos_x, pos_y); m_text.back_color.a = 0.f; @@ -1101,7 +1104,7 @@ namespace rsx { dots[n].set_size(2, 2); dots[n].back_color = color4f(1.f, 1.f, 1.f, 1.f); - dots[n].set_pos( m_text.w + 25 + (6 * n), 710); + dots[n].set_pos(m_text.w + pos_x + 5 + (6 * n), pos_y + 20); } creation_time = get_system_time(); diff --git a/rpcs3/Emu/System.h b/rpcs3/Emu/System.h index 97ee375bc4..237c5af967 100644 --- a/rpcs3/Emu/System.h +++ b/rpcs3/Emu/System.h @@ -462,6 +462,15 @@ struct cfg_root : cfg::node } perf_overlay{this}; + struct node_shader_compilation_hint : cfg::node + { + node_shader_compilation_hint(cfg::node* _this) : cfg::node(_this, "Shader Compilation Hint") {} + + cfg::_int<0, 1280> pos_x{this, "Position X (px)", 20}; // horizontal position starting from the upper border in px + cfg::_int<0, 720> pos_y{this, "Position Y (px)", 690}; // vertical position starting from the left border in px + + } shader_compilation_hint{this}; + } video{this}; struct node_audio : cfg::node