mirror of
https://github.com/AppleWin/AppleWin.git
synced 2026-04-20 00:17:16 +00:00
Merged in Nick's new native resolution full-screen
- old 640x480 full-screen deprecated Fixes for: . Logo & Debug window scaled/positioned correctly . Buttons & disk activity (on RHS) drawn in correct position . Crosshairs for mouse (and when using mouse as joystick)drawn in correct position
This commit is contained in:
@@ -562,10 +562,15 @@ void StretchBltMemToFrameDC(void)
|
||||
int nViewportCX, nViewportCY;
|
||||
GetViewportCXCY(nViewportCX, nViewportCY);
|
||||
|
||||
FULLSCREEN_SCALE_TYPE xdest = g_win_fullscreen_offsetx;
|
||||
FULLSCREEN_SCALE_TYPE ydest = g_win_fullscreen_offsety;
|
||||
FULLSCREEN_SCALE_TYPE wdest = nViewportCX;
|
||||
FULLSCREEN_SCALE_TYPE hdest = nViewportCY;
|
||||
|
||||
BOOL bRes = StretchBlt(
|
||||
FrameGetDC(), // HDC hdcDest,
|
||||
0, 0, // int nXOriginDest, int nYOriginDest,
|
||||
nViewportCX, nViewportCY, // int nWidthDest, int nHeightDest,
|
||||
(int)xdest, (int)(ydest), // int nXOriginDest, int nYOriginDest,
|
||||
(int)wdest, (int)(hdest), // int nWidthDest, int nHeightDest,
|
||||
GetDebuggerMemDC(), // HDC hdcSrc,
|
||||
0, 0, // int nXOriginSrc, int nYOriginSrc,
|
||||
FRAMEBUFFER_BORDERLESS_W, FRAMEBUFFER_BORDERLESS_H, // int nWidthSrc, int nHeightSrc,
|
||||
|
||||
Reference in New Issue
Block a user