mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-06 10:58:01 +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);
|
initGraphics(width, height, defaultTo1xScaler, &format);
|
||||||
}
|
}
|
||||||
|
|
||||||
void GUIErrorMessage(const Common::String msg) {
|
void GUIErrorMessage(const Common::String &msg) {
|
||||||
g_system->setWindowCaption("Error");
|
g_system->setWindowCaption("Error");
|
||||||
g_system->beginGFXTransaction();
|
g_system->beginGFXTransaction();
|
||||||
initCommonGFX(false);
|
initCommonGFX(false);
|
||||||
|
@ -47,7 +47,7 @@ namespace GUI {
|
|||||||
/**
|
/**
|
||||||
* Initializes graphics and shows error message.
|
* Initializes graphics and shows error message.
|
||||||
*/
|
*/
|
||||||
void GUIErrorMessage(const Common::String msg);
|
void GUIErrorMessage(const Common::String &msg);
|
||||||
|
|
||||||
|
|
||||||
class Engine {
|
class Engine {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user