mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-27 13:14:15 -04:00
set.mitm: Parse settings from SD card (closes #268)
This commit is contained in:
parent
4711d0565d
commit
18ee6eb2e6
9 changed files with 834 additions and 5 deletions
|
@ -24,13 +24,14 @@
|
|||
#include <stratosphere.hpp>
|
||||
|
||||
#include "setsys_mitm_service.hpp"
|
||||
#include "setsys_settings_items.hpp"
|
||||
|
||||
extern "C" {
|
||||
extern u32 __start__;
|
||||
|
||||
u32 __nx_applet_type = AppletType_None;
|
||||
|
||||
#define INNER_HEAP_SIZE 0x20000
|
||||
#define INNER_HEAP_SIZE 0x40000
|
||||
size_t nx_inner_heap_size = INNER_HEAP_SIZE;
|
||||
char nx_inner_heap[INNER_HEAP_SIZE];
|
||||
|
||||
|
@ -80,6 +81,9 @@ using SetMitmManager = WaitableManager<SetSysManagerOptions>;
|
|||
int main(int argc, char **argv)
|
||||
{
|
||||
consoleDebugInit(debugDevice_SVC);
|
||||
|
||||
/* Load settings from SD card. */
|
||||
SettingsItemManager::RefreshConfiguration();
|
||||
|
||||
/* TODO: What's a good timeout value to use here? */
|
||||
auto server_manager = new SetMitmManager(1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue