Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Simplify a few OSD::AddMessage calls now that this function accepts s…
…td::string objects
  • Loading branch information
delroth committed Aug 23, 2013
1 parent 367d6df commit 9deb63a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Source/Core/Core/Src/Core.cpp
Expand Up @@ -375,7 +375,7 @@ void EmuThread()
return;
}

OSD::AddMessage(("Dolphin " + g_video_backend->GetName() + " Video Backend.").c_str(), 5000);
OSD::AddMessage("Dolphin " + g_video_backend->GetName() + " Video Backend.", 5000);

if (!DSP::GetDSPEmulator()->Initialize(g_pWindowHandle,
_CoreParameter.bWii, _CoreParameter.bDSPThread))
Expand Down
4 changes: 2 additions & 2 deletions Source/Plugins/Plugin_VideoOGL/Src/Render.cpp
Expand Up @@ -519,7 +519,7 @@ Renderer::Renderer()
OSD::AddMessage(StringFromFormat("Video Info: %s, %s, %s",
g_ogl_config.gl_vendor,
g_ogl_config.gl_renderer,
g_ogl_config.gl_version).c_str(), 5000);
g_ogl_config.gl_version), 5000);

WARN_LOG(VIDEO,"Missing OGL Extensions: %s%s%s%s%s%s%s%s%s%s",
g_ActiveConfig.backend_info.bSupportsDualSourceBlend ? "" : "DualSourceBlend ",
Expand Down Expand Up @@ -1814,7 +1814,7 @@ void TakeScreenshot(ScrStrct* threadStruct)

// Show success messages
OSD::AddMessage(StringFromFormat("Saved %i x %i %s", (int)FloatW, (int)FloatH,
threadStruct->filename.c_str()).c_str(), 2000);
threadStruct->filename.c_str()), 2000);
delete threadStruct;
}
#endif
Expand Down

0 comments on commit 9deb63a

Please sign in to comment.