libretro: Fix #625.

This commit is contained in:
Stephen Anthony 2020-05-02 14:39:23 -02:30
parent 9e28e97a79
commit 1c8a52aaaf
1 changed files with 16 additions and 6 deletions

View File

@ -115,6 +115,21 @@ class FrameBufferLIBRETRO : public FrameBuffer
vector<Common::Size>& windowedRes,
VariantList& renderers) override;
/**
This method is called to query if the current window is not centered or fullscreen.
@return True, if the current window is positioned
*/
bool isCurrentWindowPositioned() const override { return true; }
/**
This method is called to query the video hardware for position of
the current window
@return The position of the currently displayed window
*/
Common::Point getCurrentWindowPos() const override { return Common::Point{}; }
/**
This method is called to query the video hardware for the index
of the display the current window is displayed on
@ -122,12 +137,7 @@ class FrameBufferLIBRETRO : public FrameBuffer
@return the current display index or a negative value if no
window is displayed
*/
Int32 getCurrentDisplayIndex() override { return 0; }
/**
This method is called to preserve the last current windowed position.
*/
void updateWindowedPos() override { }
Int32 getCurrentDisplayIndex() const override { return 0; }
/**
This method is called to change to the given video mode.