mirror of
https://github.com/XorTroll/vax.git
synced 2024-11-30 04:50:23 +00:00
Be able to inject more than once ;)
This commit is contained in:
parent
b99663b5fa
commit
03aeab5a1f
@ -82,9 +82,9 @@ namespace vax {
|
||||
|
||||
}
|
||||
|
||||
namespace {
|
||||
bool g_InBootProcess = false;
|
||||
|
||||
bool g_InBootProcess = false;
|
||||
namespace {
|
||||
|
||||
void InjectProcess(const svc::Handle debug_h, const u64 program_id, const u64 thread_id) {
|
||||
AMS_UNUSED(program_id);
|
||||
|
@ -4,6 +4,8 @@
|
||||
|
||||
using namespace ams;
|
||||
|
||||
extern bool g_InBootProcess;
|
||||
|
||||
namespace vax::sf {
|
||||
|
||||
ams::Result LoaderService::NotifyBootFinished(const ams::sf::ClientProcessId &client_pid) {
|
||||
@ -11,6 +13,7 @@ namespace vax::sf {
|
||||
|
||||
R_TRY(mod::RestoreBootRegionBackup(static_cast<u64>(client_pid.GetValue())));
|
||||
|
||||
g_InBootProcess = false;
|
||||
return ResultSuccess();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user