mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 13:20:27 -06:00
DSPTool: Fix build
Stub implementations of Host functions are required, as DSPTool links against Core (which makes use of Host).
This commit is contained in:
60
Source/DSPTool/StubHost.cpp
Normal file
60
Source/DSPTool/StubHost.cpp
Normal file
@ -0,0 +1,60 @@
|
||||
// Copyright 2017 Dolphin Emulator Project
|
||||
// Licensed under GPLv2+
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
// Stub implementation of the Host_* callbacks for DSPTool. These implementations
|
||||
// do nothing except return default values when required.
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "Core/Host.h"
|
||||
|
||||
void Host_NotifyMapLoaded()
|
||||
{
|
||||
}
|
||||
void Host_RefreshDSPDebuggerWindow()
|
||||
{
|
||||
}
|
||||
void Host_Message(int)
|
||||
{
|
||||
}
|
||||
void* Host_GetRenderHandle()
|
||||
{
|
||||
return nullptr;
|
||||
}
|
||||
void Host_UpdateTitle(const std::string&)
|
||||
{
|
||||
}
|
||||
void Host_UpdateDisasmDialog()
|
||||
{
|
||||
}
|
||||
void Host_UpdateMainFrame()
|
||||
{
|
||||
}
|
||||
void Host_RequestRenderWindowSize(int, int)
|
||||
{
|
||||
}
|
||||
void Host_SetStartupDebuggingParameters()
|
||||
{
|
||||
}
|
||||
bool Host_UINeedsControllerState()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
bool Host_RendererHasFocus()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
bool Host_RendererIsFullscreen()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
void Host_ShowVideoConfig(void*, const std::string&)
|
||||
{
|
||||
}
|
||||
void Host_YieldToUI()
|
||||
{
|
||||
}
|
||||
void Host_UpdateProgressDialog(const char* caption, int position, int total)
|
||||
{
|
||||
}
|
Reference in New Issue
Block a user