mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 22:29:39 -06:00
DolphinQt: Add ability to start a game with Riivolution patches from the GUI.
This commit is contained in:
@ -57,6 +57,7 @@ namespace fs = std::filesystem;
|
||||
#include "Core/PowerPC/PowerPC.h"
|
||||
|
||||
#include "DiscIO/Enums.h"
|
||||
#include "DiscIO/RiivolutionPatcher.h"
|
||||
#include "DiscIO/VolumeDisc.h"
|
||||
#include "DiscIO/VolumeWad.h"
|
||||
|
||||
@ -547,6 +548,8 @@ bool CBoot::BootUp(std::unique_ptr<BootParameters> boot)
|
||||
if (!std::visit(BootTitle(), boot->parameters))
|
||||
return false;
|
||||
|
||||
DiscIO::Riivolution::ApplyPatchesToMemory(boot->riivolution_patches);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user