BACKENDS: Display messages on OSD takes in U32Strings for modular backend.

This commit is contained in:
aryanrawlani28 2020-08-26 01:28:20 +05:30 committed by Eugene Sandulenko
parent 984e7fae99
commit a089fe47e7
2 changed files with 2 additions and 2 deletions

View File

@ -243,7 +243,7 @@ void ModularGraphicsBackend::setCursorPalette(const byte *colors, uint start, ui
_graphicsManager->setCursorPalette(colors, start, num);
}
void ModularGraphicsBackend::displayMessageOnOSD(const char *msg) {
void ModularGraphicsBackend::displayMessageOnOSD(const Common::U32String &msg) {
_graphicsManager->displayMessageOnOSD(msg);
}

View File

@ -119,7 +119,7 @@ public:
/** @name Miscellaneous */
//@{
virtual void displayMessageOnOSD(const char *msg) override final;
virtual void displayMessageOnOSD(const Common::U32String &msg) override final;
virtual void displayActivityIconOnOSD(const Graphics::Surface *icon) override final;
//@}