diff --git a/src/core/arm/dynarmic/arm_dynarmic.cpp b/src/core/arm/dynarmic/arm_dynarmic.cpp index 0352d17692..84fe915205 100644 --- a/src/core/arm/dynarmic/arm_dynarmic.cpp +++ b/src/core/arm/dynarmic/arm_dynarmic.cpp @@ -132,16 +132,14 @@ std::unique_ptr 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); diff --git a/src/core/core.cpp b/src/core/core.cpp index b3245b49b9..828e8795a0 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp @@ -78,8 +78,7 @@ System::ResultStatus System::RunLoop(bool tight_loop) { } } - if(GDBStub::IsServerEnabled()) - { + if (GDBStub::IsServerEnabled()) { GDBStub::SetCpuStepFlag(false); GDBStub::SetInstCacheValidity(true); } diff --git a/src/core/hle/service/filesystem/filesystem.cpp b/src/core/hle/service/filesystem/filesystem.cpp index fdd2fda182..b5babee139 100644 --- a/src/core/hle/service/filesystem/filesystem.cpp +++ b/src/core/hle/service/filesystem/filesystem.cpp @@ -294,6 +294,10 @@ void RegisterFileSystems() { auto sdcard = std::make_unique(std::move(sd_directory)); sdmc_factory = std::move(sdcard); + + auto romfs = + std::make_unique(Core::System::GetInstance().GetAppLoader()); + romfs_factory = std::move(romfs); } void InstallInterfaces(SM::ServiceManager& service_manager) {