mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-21 13:25:45 +00:00
Bootmanager/CPU_Manager: Correct shader caches and sync GPU on OpenGL.
This commit is contained in:
parent
b2109333c6
commit
1146679de6
2 changed files with 13 additions and 6 deletions
|
@ -56,6 +56,8 @@ void EmuThread::run() {
|
|||
|
||||
Core::System::GetInstance().RegisterHostThread();
|
||||
|
||||
context.MakeCurrent();
|
||||
|
||||
Core::System::GetInstance().Renderer().Rasterizer().LoadDiskResources(
|
||||
stop_run, [this](VideoCore::LoadCallbackStage stage, std::size_t value, std::size_t total) {
|
||||
emit LoadProgress(stage, value, total);
|
||||
|
@ -63,6 +65,8 @@ void EmuThread::run() {
|
|||
|
||||
emit LoadProgress(VideoCore::LoadCallbackStage::Complete, 0, 0);
|
||||
|
||||
context.DoneCurrent();
|
||||
|
||||
// Holds whether the cpu was running during the last iteration,
|
||||
// so that the DebugModeLeft signal can be emitted before the
|
||||
// next execution step
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue