video_core: Allow changing background color while emulation is running

As @jroweboy stated, this is just one more atomic in VideoCore.
This commit is contained in:
zhupengfei 2018-08-04 15:11:51 +08:00
parent 6bc87cdf3e
commit 0c37140690
4 changed files with 10 additions and 0 deletions

View file

@ -31,6 +31,8 @@ void Apply() {
VideoCore::g_emu_window->UpdateCurrentFramebufferLayout(layout.width, layout.height);
}
VideoCore::g_renderer_bg_color_update_requested = true;
if (Core::System::GetInstance().IsPoweredOn()) {
Core::DSP().SetSink(values.sink_id, values.audio_device_id);
Core::DSP().EnableStretching(values.enable_audio_stretching);