ToolHeadlessPlatform.cpp 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. // Copyright 2021 Dolphin Emulator Project
  2. // SPDX-License-Identifier: GPL-2.0-or-later
  3. #include <cstdio>
  4. #include <thread>
  5. #include <memory>
  6. #include <string>
  7. #include "Common/Flag.h"
  8. #include "Common/WindowSystemInfo.h"
  9. #include "Core/Core.h"
  10. #include "Core/DolphinAnalytics.h"
  11. #include "Core/Host.h"
  12. // Begin stubs needed to satisfy Core dependencies
  13. std::vector<std::string> Host_GetPreferredLocales()
  14. {
  15. return {};
  16. }
  17. void Host_PPCSymbolsChanged()
  18. {
  19. }
  20. void Host_PPCBreakpointsChanged()
  21. {
  22. }
  23. void Host_RefreshDSPDebuggerWindow()
  24. {
  25. }
  26. bool Host_UIBlocksControllerState()
  27. {
  28. return false;
  29. }
  30. void Host_Message(HostMessageID id)
  31. {
  32. }
  33. void Host_UpdateTitle(const std::string& title)
  34. {
  35. }
  36. void Host_UpdateDiscordClientID(const std::string& client_id)
  37. {
  38. }
  39. bool Host_UpdateDiscordPresenceRaw(const std::string& details, const std::string& state,
  40. const std::string& large_image_key,
  41. const std::string& large_image_text,
  42. const std::string& small_image_key,
  43. const std::string& small_image_text,
  44. const int64_t start_timestamp, const int64_t end_timestamp,
  45. const int party_size, const int party_max)
  46. {
  47. return false;
  48. }
  49. void Host_UpdateDisasmDialog()
  50. {
  51. }
  52. void Host_JitCacheInvalidation()
  53. {
  54. }
  55. void Host_JitProfileDataWiped()
  56. {
  57. }
  58. void Host_UpdateMainFrame()
  59. {
  60. }
  61. void Host_RequestRenderWindowSize(int width, int height)
  62. {
  63. }
  64. bool Host_RendererHasFocus()
  65. {
  66. return false;
  67. }
  68. bool Host_RendererHasFullFocus()
  69. {
  70. return false;
  71. }
  72. bool Host_RendererIsFullscreen()
  73. {
  74. return false;
  75. }
  76. bool Host_TASInputHasFocus()
  77. {
  78. return false;
  79. }
  80. void Host_YieldToUI()
  81. {
  82. }
  83. void Host_TitleChanged()
  84. {
  85. }
  86. std::unique_ptr<GBAHostInterface> Host_CreateGBAHost(std::weak_ptr<HW::GBA::Core> core)
  87. {
  88. return nullptr;
  89. }
  90. // End stubs to satisfy Core dependencies