Since a DialogBox stops the emulator, we need to reset the speed.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
This commit is contained in:
parent
83ab755144
commit
825cb59e62
1 changed files with 1 additions and 0 deletions
|
@ -219,6 +219,7 @@ namespace sa2
|
|||
std::string s(lpText);
|
||||
std::replace(s.begin(), s.end(), '\t', ' ');
|
||||
SDL_ShowSimpleMessageBox(SDL_MESSAGEBOX_INFORMATION, lpCaption, s.c_str(), nullptr);
|
||||
ResetSpeed();
|
||||
return IDOK;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue