mirror of https://github.com/OpenRCT2/OpenRCT2.git
Enable Large address awareness for 32-bit builds (#19549)
* Enable large address awareness for 32 bit builds allowing 4GiB memory * Fix debug builds failing for 32 bit * Update changelog.txt
This commit is contained in:
parent
6f7af78642
commit
b8966a83e3
|
@ -26,6 +26,7 @@
|
|||
- Improved: [#19272] Scenery window now allows filtering similarly to Object Selection.
|
||||
- Improved: [#19447] The control key now enables word jumping in text input fields.
|
||||
- Improved: [#19463] Added ‘W’ and ‘Y’ with circumflex to sprite font (for Welsh).
|
||||
- Improved: [#19549] Enable large address awareness for 32 bit Windows builds allowing to use 4 GiB of virtual memory.
|
||||
- Change: [#19018] Renamed actions to fit the naming scheme.
|
||||
- Change: [#19091] [Plugin] Add game action information to callback arguments of custom actions.
|
||||
- Change: [#19233] Reduce lift speed minimum and maximum values for “Classic Wooden Coaster”.
|
||||
|
|
|
@ -64,6 +64,7 @@
|
|||
<AdditionalOptions>/utf-8 /std:c++17 /permissive- /Zc:externConstexpr</AdditionalOptions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<LargeAddressAware Condition="'$(Platform)'=='Win32'">true</LargeAddressAware>
|
||||
<AdditionalDependencies>wininet.lib;imm32.lib;version.lib;winmm.lib;crypt32.lib;wldap32.lib;shlwapi.lib;setupapi.lib;bcrypt.lib;winhttp.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<AdditionalDependencies Condition="'$(Platform)'=='Win32' or '$(Platform)'=='x64'">fribidi.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<AdditionalOptions>/OPT:NOLBR /ignore:4099 %(AdditionalOptions)</AdditionalOptions>
|
||||
|
|
|
@ -900,7 +900,7 @@ private:
|
|||
|
||||
void RestoreScrollPositionForCurrentTab()
|
||||
{
|
||||
assert(_currentTab < std::size(_windowNewRideTabScroll));
|
||||
assert(static_cast<size_t>(_currentTab) < std::size(_windowNewRideTabScroll));
|
||||
auto& currentTabScroll = _windowNewRideTabScroll[_currentTab];
|
||||
|
||||
// Get maximum scroll height
|
||||
|
|
Loading…
Reference in New Issue