diff --git a/source/Debugger/Debugger_Win32.cpp b/source/Debugger/Debugger_Win32.cpp index 35405702..f3f0e0c4 100644 --- a/source/Debugger/Debugger_Win32.cpp +++ b/source/Debugger/Debugger_Win32.cpp @@ -339,7 +339,8 @@ void DebuggerMouseClick(int x, int y) // do picking - const int nOffsetX = win32Frame.IsFullScreen() ? win32Frame.GetFullScreenOffsetX() : win32Frame.Get3DBorderWidth(); + // NB. Full-screen + VidHD isn't centred yet + const int nOffsetX = win32Frame.IsFullScreen() ? win32Frame.GetFullScreenOffsetX() : win32Frame.Get3DBorderWidth() + GetVideo().GetFrameBufferCentringOffsetX() * win32Frame.GetViewportScale(); const int nOffsetY = win32Frame.IsFullScreen() ? win32Frame.GetFullScreenOffsetY() : win32Frame.Get3DBorderHeight(); const int nOffsetInScreenX = x - nOffsetX;