| 1 | // Copyright 2017 Dolphin Emulator Project |
| 2 | // SPDX-License-Identifier: GPL-2.0-or-later |
| 3 | |
| 4 | // Stub implementation of the Host_* callbacks for DSPTool. These implementations |
| 5 | // do nothing except return default values when required. |
| 6 | |
| 7 | #include <string> |
| 8 | #include <vector> |
| 9 | |
| 10 | #include "Core/Host.h" |
| 11 | |
| 12 | std::vector<std::string> Host_GetPreferredLocales() |
| 13 | { |
| 14 | return {}; |
| 15 | } |
| 16 | void Host_PPCSymbolsChanged() |
| 17 | { |
| 18 | } |
| 19 | void Host_PPCBreakpointsChanged() |
| 20 | { |
| 21 | } |
| 22 | void Host_Message(HostMessageID) |
| 23 | { |
| 24 | } |
| 25 | void Host_UpdateTitle(const std::string&) |
| 26 | { |
| 27 | } |
| 28 | void Host_UpdateDiscordClientID(const std::string& client_id) |
| 29 | { |
| 30 | } |
| 31 | bool Host_UpdateDiscordPresenceRaw(const std::string& details, const std::string& state, |
| 32 | const std::string& large_image_key, |
| 33 | const std::string& large_image_text, |
| 34 | const std::string& small_image_key, |
| 35 | const std::string& small_image_text, |
| 36 | const int64_t start_timestamp, const int64_t end_timestamp, |
| 37 | const int party_size, const int party_max) |
| 38 | { |
| 39 | return false; |
| 40 | } |
| 41 | void Host_UpdateDisasmDialog() |
| 42 | { |
| 43 | } |
| 44 | void Host_JitCacheInvalidation() |
| 45 | { |
| 46 | } |
| 47 | void Host_JitProfileDataWiped() |
| 48 | { |
| 49 | } |
| 50 | void Host_RequestRenderWindowSize(int, int) |
| 51 | { |
| 52 | } |
| 53 | bool Host_RendererHasFocus() |
| 54 | { |
| 55 | return false; |
| 56 | } |
| 57 | bool Host_RendererHasFullFocus() |
| 58 | { |
| 59 | return false; |
| 60 | } |
| 61 | bool Host_RendererIsFullscreen() |
| 62 | { |
| 63 | return false; |
| 64 | } |
| 65 | bool Host_TASInputHasFocus() |
| 66 | { |
| 67 | return false; |
| 68 | } |
| 69 | void Host_YieldToUI() |
| 70 | { |
| 71 | } |
| 72 | void Host_TitleChanged() |
| 73 | { |
| 74 | } |
| 75 | std::unique_ptr<GBAHostInterface> Host_CreateGBAHost(std::weak_ptr<HW::GBA::Core> core) |
| 76 | { |
| 77 | return nullptr; |
| 78 | } |
| 79 | bool Host_UIBlocksControllerState() |
| 80 | { |
| 81 | return false; |
| 82 | } |