dolphin/Source/Core/Core
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
..
Boot Configurable MEM1 and MEM2 sizes at runtime via Dolphin.ini 2020-04-28 12:10:50 -05:00
Config Configurable MEM1 and MEM2 sizes at runtime via Dolphin.ini 2020-04-28 12:10:50 -05:00
ConfigLoaders Configurable MEM1 and MEM2 sizes at runtime via Dolphin.ini 2020-04-28 12:10:50 -05:00
Debugger
DSP Source/Core/Core/DSP/DSPTables.cpp: include <cstdio> for sprintf 2020-03-05 21:20:34 +00:00
FifoPlayer Configurable MEM1 and MEM2 sizes at runtime via Dolphin.ini 2020-04-28 12:10:50 -05:00
HLE HLE: Add more debug functions 2020-03-30 17:46:50 +04:00
HW Configurable MEM1 and MEM2 sizes at runtime via Dolphin.ini 2020-04-28 12:10:50 -05:00
IOS Configurable MEM1 and MEM2 sizes at runtime via Dolphin.ini 2020-04-28 12:10:50 -05:00
PowerPC Configurable MEM1 and MEM2 sizes at runtime via Dolphin.ini 2020-04-28 12:10:50 -05:00
ActionReplay.cpp
ActionReplay.h
Analytics.cpp Analytics: Add quirk for mismatched xf/bp texgens/colors 2020-04-02 12:52:16 +10:00
Analytics.h Analytics: Add quirk for mismatched xf/bp texgens/colors 2020-04-02 12:52:16 +10:00
ARDecrypt.cpp
ARDecrypt.h
BootManager.cpp Back up Wii setting.txt and SYSCONF while emulating 2020-03-16 21:04:19 +01:00
BootManager.h
CMakeLists.txt
CommonTitles.h
ConfigManager.cpp Set Insert SD Card default value to true 2020-03-30 06:15:17 -04:00
ConfigManager.h Add path to File Name column of game grid 2020-03-02 17:38:28 +13:00
Core.cpp Core: Skip duplicate frames when using frame advance 2020-04-09 11:39:29 +02:00
Core.h Core: Clarify Callback_VideoCopiedToXFB and FrameUpdate 2020-04-09 00:21:04 +02:00
Core.vcxproj
Core.vcxproj.filters
CoreTiming.cpp
CoreTiming.h
DSPEmulator.cpp
DSPEmulator.h
GeckoCode.cpp
GeckoCode.h
GeckoCodeConfig.cpp Core/GeckoCodeConfig : Fix Gecko codes formatting 2020-02-14 11:51:36 +01:00
GeckoCodeConfig.h
Host.h Remove unused function Host_UpdateProgressDialog 2020-04-03 12:53:38 +02:00
HotkeyManager.cpp Fix Hotkey Controller Profile display with boxes for each Wiimote 2020-04-28 15:55:53 +02:00
HotkeyManager.h Fix Hotkey Controller Profile display with boxes for each Wiimote 2020-04-28 15:55:53 +02:00
LibusbUtils.cpp
LibusbUtils.h
MachineContext.h
MemoryWatcher.cpp
MemoryWatcher.h
MemTools.cpp
MemTools.h
Movie.cpp Remove outdated comment from Movie::FrameUpdate 2020-04-10 00:18:53 +02:00
Movie.h
NetPlayClient.cpp Core/NetPlayClient: Add documentation for SendPadHostPoll 2020-02-06 07:24:00 -05:00
NetPlayClient.h
NetPlayProto.h
NetPlayServer.cpp Core/NetPlayServer: Fix session not being added to index on direct connection type 2020-02-17 21:05:32 -05:00
NetPlayServer.h Core/NetPlayServer: Fix session not being added to index on direct connection type 2020-02-17 21:05:32 -05:00
PatchEngine.cpp
PatchEngine.h
State.cpp Configurable MEM1 and MEM2 sizes at runtime via Dolphin.ini 2020-04-28 12:10:50 -05:00
State.h
SysConf.cpp
SysConf.h
TitleDatabase.cpp
TitleDatabase.h
WiiRoot.cpp Core: Call CreateFullPath before using Backup directory 2020-04-28 17:53:12 +02:00
WiiRoot.h Back up Wii setting.txt and SYSCONF while emulating 2020-03-16 21:04:19 +01:00
WiiUtils.cpp
WiiUtils.h