mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Don't save the console position when it is minimized.
This commit is contained in:
parent
7059efd6b2
commit
db44c4c478
1 changed files with 1 additions and 1 deletions
|
@ -277,7 +277,7 @@ void WindowsHost::UpdateConsolePosition()
|
|||
{
|
||||
RECT rc;
|
||||
HWND console = GetConsoleWindow();
|
||||
if (console != NULL && GetWindowRect(console, &rc))
|
||||
if (console != NULL && GetWindowRect(console, &rc) && !IsIconic(console))
|
||||
{
|
||||
g_Config.iConsoleWindowX = rc.left;
|
||||
g_Config.iConsoleWindowY = rc.top;
|
||||
|
|
Loading…
Add table
Reference in a new issue