mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-29 14:42:26 +00:00
ENGINES: Change GUIErrorMessage to take param by ref, not by copy
This commit is contained in:
parent
4130f66af2
commit
90c3ae2493
@ -281,7 +281,7 @@ void initGraphics(int width, int height, bool defaultTo1xScaler) {
|
||||
initGraphics(width, height, defaultTo1xScaler, &format);
|
||||
}
|
||||
|
||||
void GUIErrorMessage(const Common::String msg) {
|
||||
void GUIErrorMessage(const Common::String &msg) {
|
||||
g_system->setWindowCaption("Error");
|
||||
g_system->beginGFXTransaction();
|
||||
initCommonGFX(false);
|
||||
|
@ -47,7 +47,7 @@ namespace GUI {
|
||||
/**
|
||||
* Initializes graphics and shows error message.
|
||||
*/
|
||||
void GUIErrorMessage(const Common::String msg);
|
||||
void GUIErrorMessage(const Common::String &msg);
|
||||
|
||||
|
||||
class Engine {
|
||||
|
Loading…
x
Reference in New Issue
Block a user