2017-09-01 15:10:47 +00:00
|
|
|
// Copyright 2017 Dolphin Emulator Project
|
2021-07-05 01:22:19 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
2017-09-01 15:10:47 +00:00
|
|
|
|
|
|
|
// Stub implementation of the Host_* callbacks for DSPTool. These implementations
|
|
|
|
// do nothing except return default values when required.
|
|
|
|
|
|
|
|
#include <string>
|
2020-12-27 22:11:22 +00:00
|
|
|
#include <vector>
|
2017-09-01 15:10:47 +00:00
|
|
|
|
|
|
|
#include "Core/Host.h"
|
|
|
|
|
2020-12-27 22:11:22 +00:00
|
|
|
std::vector<std::string> Host_GetPreferredLocales()
|
|
|
|
{
|
|
|
|
return {};
|
|
|
|
}
|
2024-03-17 06:05:56 +00:00
|
|
|
void Host_PPCSymbolsChanged()
|
2017-09-01 15:10:47 +00:00
|
|
|
{
|
|
|
|
}
|
|
|
|
void Host_RefreshDSPDebuggerWindow()
|
|
|
|
{
|
|
|
|
}
|
2018-05-28 17:03:29 +00:00
|
|
|
void Host_Message(HostMessageID)
|
2017-09-01 15:10:47 +00:00
|
|
|
{
|
|
|
|
}
|
|
|
|
void Host_UpdateTitle(const std::string&)
|
|
|
|
{
|
|
|
|
}
|
2022-08-03 04:46:11 +00:00
|
|
|
void Host_UpdateDiscordClientID(const std::string& client_id)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
bool Host_UpdateDiscordPresenceRaw(const std::string& details, const std::string& state,
|
|
|
|
const std::string& large_image_key,
|
|
|
|
const std::string& large_image_text,
|
|
|
|
const std::string& small_image_key,
|
|
|
|
const std::string& small_image_text,
|
|
|
|
const int64_t start_timestamp, const int64_t end_timestamp,
|
|
|
|
const int party_size, const int party_max)
|
|
|
|
{
|
|
|
|
return false;
|
|
|
|
}
|
2017-09-01 15:10:47 +00:00
|
|
|
void Host_UpdateDisasmDialog()
|
|
|
|
{
|
|
|
|
}
|
2024-04-16 04:52:40 +00:00
|
|
|
void Host_JitCacheCleared()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
void Host_JitProfileDataWiped()
|
|
|
|
{
|
|
|
|
}
|
2017-09-01 15:10:47 +00:00
|
|
|
void Host_UpdateMainFrame()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
void Host_RequestRenderWindowSize(int, int)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
bool Host_RendererHasFocus()
|
|
|
|
{
|
|
|
|
return false;
|
|
|
|
}
|
2021-05-09 10:28:04 +00:00
|
|
|
bool Host_RendererHasFullFocus()
|
|
|
|
{
|
|
|
|
return false;
|
|
|
|
}
|
2017-09-01 15:10:47 +00:00
|
|
|
bool Host_RendererIsFullscreen()
|
|
|
|
{
|
|
|
|
return false;
|
|
|
|
}
|
2024-05-26 23:50:12 +00:00
|
|
|
bool Host_TASInputHasFocus()
|
|
|
|
{
|
|
|
|
return false;
|
|
|
|
}
|
2017-09-01 15:10:47 +00:00
|
|
|
void Host_YieldToUI()
|
|
|
|
{
|
|
|
|
}
|
2019-02-14 02:31:31 +00:00
|
|
|
void Host_TitleChanged()
|
|
|
|
{
|
|
|
|
}
|
2021-07-04 11:09:46 +00:00
|
|
|
std::unique_ptr<GBAHostInterface> Host_CreateGBAHost(std::weak_ptr<HW::GBA::Core> core)
|
|
|
|
{
|
|
|
|
return nullptr;
|
|
|
|
}
|
2020-05-10 04:34:47 +00:00
|
|
|
bool Host_UIBlocksControllerState()
|
|
|
|
{
|
|
|
|
return false;
|
|
|
|
}
|