mirror of
https://github.com/libretro/scummvm.git
synced 2025-04-02 06:41:51 +00:00
SAGA: properly remove the save reminder callback on engine exit
This fixes an error when exiting to the launcher and restarting a game
This commit is contained in:
parent
ed9cf01c78
commit
b71123ef4f
@ -324,6 +324,7 @@ Interface::Interface(SagaEngine *vm) : _vm(vm) {
|
||||
}
|
||||
|
||||
Interface::~Interface() {
|
||||
_vm->getTimerManager()->removeTimerProc(&saveReminderCallback);
|
||||
}
|
||||
|
||||
void Interface::saveReminderCallback(void *refCon) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user