dolphin/Source/Core/DolphinQt/Settings
Minty-Meeo cc858c63b8 Configurable MEM1 and MEM2 sizes at runtime via Dolphin.ini
Changed several enums from Memmap.h to be static vars and implemented Get functions to query them. This seems to have boosted speed a bit in some titles? The new variables and some previously statically initialized items are now initialized via Memory::Init() and the new AddressSpace::Init(). s_ram_size_real and the new s_exram_size_real in particular are initialized from new OnionConfig values "MAIN_MEM1_SIZE" and "MAIN_MEM2_SIZE", only if "MAIN_RAM_OVERRIDE_ENABLE" is true.

GUI features have been added to Config > Advanced to adjust the new OnionConfig values.

A check has been added to State::doState to ensure savestates with memory configurations different from the current settings aren't loaded. The STATE_VERSION is now 115.

FIFO Files have been updated from version 4 to version 5, now including the MEM1 and MEM2 sizes from the time of DFF creation. FIFO Logs not using the new features (OnionConfig MAIN_RAM_OVERRIDE_ENABLE is false) are still backwards compatible. FIFO Logs that do use the new features have a MIN_LOADER_VERSION of 5. Thanks to the order of function calls, FIFO logs are able to automatically configure the new OnionConfig settings to match what is needed. This is a bit hacky, though, so I also threw in a failsafe for if the conditions that allow this to work ever go away.

I took the liberty of adding a log message to explain why the core fails to initialize if the MIN_LOADER_VERSION is too great.

Some IOS code has had the function "RAMOverrideForIOSMemoryValues" appended to it to recalculate IOS Memory Values from retail IOSes/apploaders to fit the extended memory sizes. Worry not, if MAIN_RAM_OVERRIDE_ENABLE is false, this function does absolutely nothing.

A hotfix in DolphinQt/MenuBar.cpp has been implemented for RAM Override.
2020-04-28 12:10:50 -05:00
..
AdvancedPane.cpp Configurable MEM1 and MEM2 sizes at runtime via Dolphin.ini 2020-04-28 12:10:50 -05:00
AdvancedPane.h Configurable MEM1 and MEM2 sizes at runtime via Dolphin.ini 2020-04-28 12:10:50 -05:00
AudioPane.cpp DolphinQt: Use qOverload where applicable 2020-04-28 16:54:19 +02:00
AudioPane.h DSP must be set to LLE to select the decoder 2019-10-22 22:55:59 -03:00
GameCubePane.cpp DolphinQt: Use qOverload where applicable 2020-04-28 16:54:19 +02:00
GameCubePane.h Replace "Override Language on NTSC Games" with "Allow Mismatched Region Settings" 2019-08-09 17:33:05 +02:00
GeneralPane.cpp DolphinQt: Use qOverload where applicable 2020-04-28 16:54:19 +02:00
GeneralPane.h Moved CPU Emulation Engine options to the Advanced tab 2019-10-16 12:41:13 -04:00
InterfacePane.cpp DolphinQt: Use qOverload where applicable 2020-04-28 16:54:19 +02:00
InterfacePane.h DolphinQt: Give hotkeys their own "background input" setting. 2020-02-10 20:06:29 -06:00
PathPane.cpp Qt: Display default Paths 2020-03-30 06:06:38 -04:00
PathPane.h DolphinQt: Add way to override "ResourcePack" folder that controls the location of resource packs 2019-11-02 13:42:40 -05:00
USBDeviceAddToWhitelistDialog.cpp DolphinQt: Fix whitelisting USB devices 2019-08-23 13:22:33 +02:00
USBDeviceAddToWhitelistDialog.h
WiiPane.cpp DolphinQt: Use qOverload where applicable 2020-04-28 16:54:19 +02:00
WiiPane.h DolphinQt: Make WiiPane connect itself to EmulationStateChanged 2019-10-27 21:26:35 +01:00