early-access version 3627
This commit is contained in:
parent
a8ad9662f0
commit
8e874ed498
@ -1,7 +1,7 @@
|
|||||||
yuzu emulator early access
|
yuzu emulator early access
|
||||||
=============
|
=============
|
||||||
|
|
||||||
This is the source code for early-access 3626.
|
This is the source code for early-access 3627.
|
||||||
|
|
||||||
## Legal Notice
|
## Legal Notice
|
||||||
|
|
||||||
|
@ -64,7 +64,7 @@ void SyncpointManager::FreeSyncpoint(u32 id) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool SyncpointManager::IsSyncpointAllocated(u32 id) const {
|
bool SyncpointManager::IsSyncpointAllocated(u32 id) const {
|
||||||
return (id <= SyncpointCount) && syncpoints[id].reserved;
|
return (id < SyncpointCount) && syncpoints[id].reserved;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool SyncpointManager::HasSyncpointExpired(u32 id, u32 threshold) const {
|
bool SyncpointManager::HasSyncpointExpired(u32 id, u32 threshold) const {
|
||||||
|
@ -1893,6 +1893,7 @@ void GMainWindow::BootGame(const QString& filename, u64 program_id, std::size_t
|
|||||||
}
|
}
|
||||||
|
|
||||||
system->SetShuttingDown(false);
|
system->SetShuttingDown(false);
|
||||||
|
game_list->setDisabled(true);
|
||||||
|
|
||||||
// Create and start the emulation thread
|
// Create and start the emulation thread
|
||||||
emu_thread = std::make_unique<EmuThread>(*system);
|
emu_thread = std::make_unique<EmuThread>(*system);
|
||||||
@ -2088,6 +2089,9 @@ void GMainWindow::OnEmulationStopped() {
|
|||||||
// When closing the game, destroy the GLWindow to clear the context after the game is closed
|
// When closing the game, destroy the GLWindow to clear the context after the game is closed
|
||||||
render_window->ReleaseRenderTarget();
|
render_window->ReleaseRenderTarget();
|
||||||
|
|
||||||
|
// Enable game list
|
||||||
|
game_list->setEnabled(true);
|
||||||
|
|
||||||
Settings::RestoreGlobalState(system->IsPoweredOn());
|
Settings::RestoreGlobalState(system->IsPoweredOn());
|
||||||
system->HIDCore().ReloadInputDevices();
|
system->HIDCore().ReloadInputDevices();
|
||||||
UpdateStatusButtons();
|
UpdateStatusButtons();
|
||||||
|
Loading…
Reference in New Issue
Block a user