mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-01 16:35:20 +00:00
WINTERMUTE: Make the mainloop run after initialization.
This commit is contained in:
parent
620b45e517
commit
e31f23d75d
@ -104,8 +104,14 @@ namespace WinterMute {
|
||||
debugC(3, kWinterMuteDebugExample | kWinterMuteDebugExample2, "Example debug call two");
|
||||
|
||||
CAdGame *game = new CAdGame;
|
||||
CBPlatform::Initialize(game, NULL, 0);
|
||||
|
||||
int ret = 1;
|
||||
|
||||
ret = CBPlatform::Initialize(game, NULL, 0);
|
||||
|
||||
if (ret == 0) {
|
||||
ret = CBPlatform::MessageLoop();
|
||||
}
|
||||
return Common::kNoError;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user