mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-12-30 20:20:52 +01:00
8417c78b7a
This allows us to update the rich presence description if a channel is launched from the Wii Menu. It also handles other PPC title launches, e.g. Smash Bros. Masterpieces. Host.h: Added Host_TitleChanged(). DolphinNoGUI/MainNoGUI.cpp: Implemented Host_TitleChanged(). DolphinQt/Host.cpp: Implemented Host_TitleChanged(). Android/jni/MainAndroid.cpp: Stubbed Host_TitleChanged(). DSPTool/StubHost.cpp: Stubbed Host_TitleChanged(). UnitTests/StubHost.cpp: Stubbed Host_TitleChanged().
59 lines
932 B
C++
59 lines
932 B
C++
// Copyright 2014 Dolphin Emulator Project
|
|
// Licensed under GPLv2+
|
|
// Refer to the license.txt file included.
|
|
|
|
// Stub implementation of the Host_* callbacks for tests. These implementations
|
|
// do nothing except return default values when required.
|
|
|
|
#include <memory>
|
|
#include <string>
|
|
|
|
#include "Core/Host.h"
|
|
|
|
void Host_NotifyMapLoaded()
|
|
{
|
|
}
|
|
void Host_RefreshDSPDebuggerWindow()
|
|
{
|
|
}
|
|
void Host_Message(HostMessageID)
|
|
{
|
|
}
|
|
void Host_UpdateTitle(const std::string&)
|
|
{
|
|
}
|
|
void Host_UpdateDisasmDialog()
|
|
{
|
|
}
|
|
void Host_UpdateMainFrame()
|
|
{
|
|
}
|
|
void Host_RequestRenderWindowSize(int, int)
|
|
{
|
|
}
|
|
bool Host_UINeedsControllerState()
|
|
{
|
|
return false;
|
|
}
|
|
bool Host_UIBlocksControllerState()
|
|
{
|
|
return false;
|
|
}
|
|
bool Host_RendererHasFocus()
|
|
{
|
|
return false;
|
|
}
|
|
bool Host_RendererIsFullscreen()
|
|
{
|
|
return false;
|
|
}
|
|
void Host_YieldToUI()
|
|
{
|
|
}
|
|
void Host_UpdateProgressDialog(const char* caption, int position, int total)
|
|
{
|
|
}
|
|
void Host_TitleChanged()
|
|
{
|
|
}
|