mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 14:18:37 +00:00
Bugfix to the coroutine handling in CdDoChange
svn-id: r40140
This commit is contained in:
parent
fa191f251a
commit
d594211ab3
@ -636,11 +636,19 @@ static void CdChangeScene(SCNHANDLE hScene) {
|
||||
* CdDoChange
|
||||
*/
|
||||
void CdDoChange(CORO_PARAM) {
|
||||
CORO_BEGIN_CONTEXT;
|
||||
CORO_END_CONTEXT(_ctx);
|
||||
|
||||
CORO_BEGIN_CODE(_ctx);
|
||||
|
||||
if (!GotoCD())
|
||||
return;
|
||||
|
||||
CdCD(coroParam);
|
||||
CORO_INVOKE_0(CdCD);
|
||||
|
||||
CdHasChanged();
|
||||
|
||||
CORO_END_CODE;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user