Enable RomFS for NROs plus some minor formatting.
This commit is contained in:
@@ -132,16 +132,14 @@ std::unique_ptr<Dynarmic::A64::Jit> ARM_Dynarmic::MakeJit() const {
|
||||
void ARM_Dynarmic::Run() {
|
||||
ASSERT(Memory::GetCurrentPageTable() == current_page_table);
|
||||
|
||||
if(!GDBStub::GetInstCacheValidity())
|
||||
{
|
||||
if (!GDBStub::GetInstCacheValidity()) {
|
||||
ClearInstructionCache();
|
||||
}
|
||||
jit->Run();
|
||||
}
|
||||
|
||||
void ARM_Dynarmic::Step() {
|
||||
if(!GDBStub::GetInstCacheValidity())
|
||||
{
|
||||
if (!GDBStub::GetInstCacheValidity()) {
|
||||
ClearInstructionCache();
|
||||
}
|
||||
cb->InterpreterFallback(jit->GetPC(), 1);
|
||||
|
||||
@@ -78,8 +78,7 @@ System::ResultStatus System::RunLoop(bool tight_loop) {
|
||||
}
|
||||
}
|
||||
|
||||
if(GDBStub::IsServerEnabled())
|
||||
{
|
||||
if (GDBStub::IsServerEnabled()) {
|
||||
GDBStub::SetCpuStepFlag(false);
|
||||
GDBStub::SetInstCacheValidity(true);
|
||||
}
|
||||
|
||||
@@ -294,6 +294,10 @@ void RegisterFileSystems() {
|
||||
|
||||
auto sdcard = std::make_unique<FileSys::SDMCFactory>(std::move(sd_directory));
|
||||
sdmc_factory = std::move(sdcard);
|
||||
|
||||
auto romfs =
|
||||
std::make_unique<FileSys::RomFSFactory>(Core::System::GetInstance().GetAppLoader());
|
||||
romfs_factory = std::move(romfs);
|
||||
}
|
||||
|
||||
void InstallInterfaces(SM::ServiceManager& service_manager) {
|
||||
|
||||
Reference in New Issue
Block a user