strat: use ams::Main() instead of main(argc, argv)
This commit is contained in:
@@ -75,7 +75,9 @@ namespace ams::erpt::srv {
|
||||
g_heap_handle = lmem::CreateExpHeap(mem, mem_size, lmem::CreateOption_ThreadSafe);
|
||||
AMS_ABORT_UNLESS(g_heap_handle != nullptr);
|
||||
|
||||
fs::InitializeForSystem();
|
||||
fs::SetAllocator(Allocate, DeallocateWithSize);
|
||||
fs::SetEnabledAutoAbort(false);
|
||||
|
||||
R_ABORT_UNLESS(fs::MountSdCardErrorReportDirectoryForAtmosphere(ReportOnSdStoragePath));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user