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