diff --git a/docs/directory_structure.md b/docs/directory_structure.md index c8b5c6a9d4..72a62eee42 100644 --- a/docs/directory_structure.md +++ b/docs/directory_structure.md @@ -19,14 +19,14 @@ your operating system: - Windows: - `C:\My Documents\OpenTTD` (95, 98, ME) - `C:\Documents and Settings\\My Documents\OpenTTD` (2000, XP) - - `C:\Users\\Documents\OpenTTD` (Vista, 7, 8.1, 10, 11) + - `C:\Users\\Documents\OpenTTD` (7, 8.1, 10, 11) - macOS: `~/Documents/OpenTTD` - Linux: `$XDG_DATA_HOME/openttd` which is usually `~/.local/share/openttd` when built with XDG base directory support, otherwise `~/.openttd` 3. The shared directory - Windows: - `C:\Documents and Settings\All Users\Shared Documents\OpenTTD` (2000, XP) - - `C:\Users\Public\Documents\OpenTTD` (Vista, 7, 8.1, 10, 11) + - `C:\Users\Public\Documents\OpenTTD` (7, 8.1, 10, 11) - macOS: `/Library/Application Support/OpenTTD` - Linux: not available 4. The binary directory (where the OpenTTD executable is) diff --git a/os/windows/openttd.manifest b/os/windows/openttd.manifest index cb536a819d..21fee42174 100644 --- a/os/windows/openttd.manifest +++ b/os/windows/openttd.manifest @@ -15,8 +15,6 @@ - - diff --git a/src/sound/win32_s.cpp b/src/sound/win32_s.cpp index b7220b7786..f50346e88c 100644 --- a/src/sound/win32_s.cpp +++ b/src/sound/win32_s.cpp @@ -70,7 +70,7 @@ const char *SoundDriver_Win32::Start(const StringList &parm) wfex.nAvgBytesPerSec = wfex.nSamplesPerSec * wfex.nBlockAlign; /* Limit buffer size to prevent overflows. */ - _bufsize = GetDriverParamInt(parm, "bufsize", IsWindowsVistaOrGreater() ? 8192 : 4096); + _bufsize = GetDriverParamInt(parm, "bufsize", 8192); _bufsize = std::min(_bufsize, UINT16_MAX); try { diff --git a/src/video/win32_v.cpp b/src/video/win32_v.cpp index c94e7b4145..60755944e1 100644 --- a/src/video/win32_v.cpp +++ b/src/video/win32_v.cpp @@ -1266,7 +1266,7 @@ static const char *SelectPixelFormat(HDC dc) 0, 0, 0, 0 // Ignored/reserved. }; - if (IsWindowsVistaOrGreater()) pfd.dwFlags |= PFD_SUPPORT_COMPOSITION; // Make OpenTTD compatible with Aero. + pfd.dwFlags |= PFD_SUPPORT_COMPOSITION; // Make OpenTTD compatible with Aero. /* Choose a suitable pixel format. */ int format = ChoosePixelFormat(dc, &pfd);