diff --git a/src/duckstation-uwp/uwp_host_interface.cpp b/src/duckstation-uwp/uwp_host_interface.cpp index 147d2671d..8bf4f38ce 100644 --- a/src/duckstation-uwp/uwp_host_interface.cpp +++ b/src/duckstation-uwp/uwp_host_interface.cpp @@ -235,6 +235,10 @@ void UWPHostInterface::RequestExit() [this]() { winrt::Windows::ApplicationModel::Core::CoreApplication::Exit(); }); } +void UWPHostInterface::SetMouseMode(bool relative, bool hide_cursor) +{ +} + void UWPHostInterface::Run() { if (!Initialize()) @@ -383,6 +387,14 @@ void UWPHostInterface::RunLater(std::function callback) m_queued_callbacks.push_back(std::move(callback)); } +void UWPHostInterface::OnDisplayInvalidated() +{ +} + +void UWPHostInterface::OnSystemPerformanceCountersUpdated() +{ +} + bool UWPHostInterface::IsFullscreen() const { return m_appview.IsFullScreenMode(); diff --git a/src/duckstation-uwp/uwp_host_interface.h b/src/duckstation-uwp/uwp_host_interface.h index a0c2fc04b..399a14499 100644 --- a/src/duckstation-uwp/uwp_host_interface.h +++ b/src/duckstation-uwp/uwp_host_interface.h @@ -47,6 +47,9 @@ public: void RunLater(std::function callback) override; + void OnDisplayInvalidated() override; + void OnSystemPerformanceCountersUpdated() override; + bool IsFullscreen() const override; bool SetFullscreen(bool enabled) override; @@ -74,6 +77,8 @@ protected: void PollAndUpdate() override; void RequestExit() override; + void SetMouseMode(bool relative, bool hide_cursor) override; + bool CreateDisplay(bool fullscreen); void DestroyDisplay(); void RunCallbacks();