diff options
author | Cameron Cawley | 2018-12-19 06:31:26 +0000 |
---|---|---|
committer | Filippos Karapetis | 2018-12-19 08:31:26 +0200 |
commit | f6015086e18360659552ec4f7ca898f20fad1d16 (patch) | |
tree | 3f132ccbeb663e74d6b408c2ce2d608d3e2b27d8 /engines/glk/glk.cpp | |
parent | e94ccdbe6b0d650e04872ee3cc68fe13272f81a4 (diff) | |
download | scummvm-rg350-f6015086e18360659552ec4f7ca898f20fad1d16.tar.gz scummvm-rg350-f6015086e18360659552ec4f7ca898f20fad1d16.tar.bz2 scummvm-rg350-f6015086e18360659552ec4f7ca898f20fad1d16.zip |
ENGINES: Add GUIErrorMessageFormat to replace duplicated functions (#1455)
Diffstat (limited to 'engines/glk/glk.cpp')
-rw-r--r-- | engines/glk/glk.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/engines/glk/glk.cpp b/engines/glk/glk.cpp index d3e715a7fe..2525c0b1fa 100644 --- a/engines/glk/glk.cpp +++ b/engines/glk/glk.cpp @@ -145,18 +145,6 @@ Common::Error GlkEngine::run() { return Common::kNoError; } -void GlkEngine::GUIError(const char *msg, ...) { - char buffer[STRINGBUFLEN]; - va_list va; - - // Generate the full error message - va_start(va, msg); - vsnprintf(buffer, STRINGBUFLEN, msg, va); - va_end(va); - - GUIErrorMessage(buffer); -} - Common::Error GlkEngine::loadGame() { frefid_t ref = _streams->createByPrompt(fileusage_BinaryMode | fileusage_SavedGame, filemode_Read, 0); |