dolphin/Source/Core/DolphinQt
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
..
Config DolphinQt: Use qOverload where applicable 2020-04-28 16:54:19 +02:00
Debugger Debugger: Add a Network widget 2020-04-27 21:47:00 +04:00
FIFO DolphinQt: Use qOverload where applicable 2020-04-28 16:54:19 +02:00
GameList Merge pull request #8738 from JosJuice/convert-dialog 2020-04-28 12:37:17 -04:00
NetPlay DolphinQt: Use qOverload where applicable 2020-04-28 16:54:19 +02:00
QtUtils DolphinQt: Run tasks that use progress dialogs on separate threads 2020-04-03 12:53:38 +02:00
Settings Configurable MEM1 and MEM2 sizes at runtime via Dolphin.ini 2020-04-28 12:10:50 -05:00
TAS DolphinQt: Use qOverload where applicable 2020-04-28 16:54:19 +02:00
AboutDialog.cpp Qt/AboutDialog: Clean up code a bit 2019-10-13 16:11:19 +02:00
AboutDialog.h Move DolphinQt2 to DolphinQt 2018-07-07 00:48:38 +02:00
CheatsManager.cpp Configurable MEM1 and MEM2 sizes at runtime via Dolphin.ini 2020-04-28 12:10:50 -05:00
CheatsManager.h CheatsManager: Improve performance of searching & add input validation 2019-05-26 17:32:48 +02:00
CMakeLists.txt Merge pull request #8738 from JosJuice/convert-dialog 2020-04-28 12:37:17 -04:00
ConvertDialog.cpp DolphinQt: Add info about formats in convert dialog 2020-04-24 15:11:20 +02:00
ConvertDialog.h DolphinQt: Make block size configurable in convert dialog 2020-04-24 15:11:20 +02:00
DiscordHandler.cpp DiscordHandler: Don't delay shutdown by up to 2s 2019-06-13 23:34:25 +02:00
DiscordHandler.h DiscordHandler: Don't delay shutdown by up to 2s 2019-06-13 23:34:25 +02:00
DiscordJoinRequestDialog.cpp Connect numerous QPushButtons to use clicked signal instead of pressed. This unifies UI behaviour more. 2019-07-24 00:18:58 +02:00
DiscordJoinRequestDialog.h DolphinQt: clean up includes 2019-02-25 20:15:12 +00:00
DolphinQt.manifest Fix malformed manifests 2019-11-11 11:47:10 +01:00
DolphinQt.rc Move DolphinQt2 to DolphinQt 2018-07-07 00:48:38 +02:00
DolphinQt.vcxproj Merge pull request #8738 from JosJuice/convert-dialog 2020-04-28 12:37:17 -04:00
DolphinQt.vcxproj.user Move DolphinQt2 to DolphinQt 2018-07-07 00:48:38 +02:00
GCMemcardManager.cpp Cleanup warnings of -Wunused-variable 2020-03-23 14:24:27 +08:00
GCMemcardManager.h Merge pull request #8185 from Techjar/memcard-manager-auto 2019-11-09 23:06:57 +01:00
Host.cpp Merge pull request #8745 from AdmiralCurtiss/savestate-load-callback-qt 2020-04-27 15:29:55 +02:00
Host.h Merge pull request #8745 from AdmiralCurtiss/savestate-load-callback-qt 2020-04-27 15:29:55 +02:00
HotkeyScheduler.cpp Merge pull request #8597 from SirMangler/master 2020-03-15 22:40:51 +01:00
HotkeyScheduler.h NetPlay: Implement golf mode 2019-04-05 07:01:03 -04:00
Info.plist.in Qt: Re-enable Dark Mode support 2020-02-25 23:27:44 +01:00
Main.cpp DolphinQt: Fix the panic alert deadlock (a.k.a. "Question" issue) 2020-03-31 21:00:32 +02:00
MainWindow.cpp Debugger: Add a Network widget 2020-04-27 21:47:00 +04:00
MainWindow.h Debugger: Add a Network widget 2020-04-27 21:47:00 +04:00
MenuBar.cpp Configurable MEM1 and MEM2 sizes at runtime via Dolphin.ini 2020-04-28 12:10:50 -05:00
MenuBar.h Merge pull request #8668 from sepalani/rso-autodetect 2020-04-28 14:27:13 +02:00
qt.conf Move DolphinQt2 to DolphinQt 2018-07-07 00:48:38 +02:00
qt.conf.win DolphinQt/CMake: Building on Windows 2019-05-12 00:05:10 +02:00
RenderWidget.cpp Qt/RenderWidget: Remove fill background functionality 2020-03-11 23:13:45 +10:00
RenderWidget.h Qt/RenderWidget: Remove fill background functionality 2020-03-11 23:13:45 +10:00
resource.h Move DolphinQt2 to DolphinQt 2018-07-07 00:48:38 +02:00
ResourcePackManager.cpp DolphinQt: setTabKeyNavigation(false) on QTableWidget and QTableView. 2020-02-06 20:48:45 -06:00
ResourcePackManager.h ResourcePacks: Fix various bugs 2019-02-11 11:05:35 +01:00
Resources.cpp DolphinQt: Replace QStringLiteral with alternatives where applicable 2019-07-30 09:06:03 -04:00
Resources.h Reformat repo to clang-format 7.0 rules 2019-05-06 18:48:04 +00:00
SearchBar.cpp Connect numerous QPushButtons to use clicked signal instead of pressed. This unifies UI behaviour more. 2019-07-24 00:18:58 +02:00
SearchBar.h DolphinQt: Make Ctrl+F show the game list search and select the search text if already open. Escape closes. 2019-03-21 17:06:16 -05:00
Settings.cpp Debugger: Add a Network widget 2020-04-27 21:47:00 +04:00
Settings.h Debugger: Add a Network widget 2020-04-27 21:47:00 +04:00
ToolBar.cpp Add signals to enable/disable Refresh button 2019-10-19 23:15:38 +02:00
ToolBar.h DolphinQt: clean up includes 2019-02-25 20:15:12 +00:00
Translation.cpp Common/MsgHandler: Namespace code within the Common namespace 2019-06-19 16:03:55 -04:00
Translation.h Move DolphinQt2 to DolphinQt 2018-07-07 00:48:38 +02:00
Updater.cpp DolphinQt: Replace QStringLiteral with alternatives where applicable 2019-07-30 09:06:03 -04:00
Updater.h Move DolphinQt2 to DolphinQt 2018-07-07 00:48:38 +02:00
WiiUpdate.cpp Qt: Use ModalMessageBox everywhere 2019-03-04 21:53:02 +01:00
WiiUpdate.h Move DolphinQt2 to DolphinQt 2018-07-07 00:48:38 +02:00