fs.mitm: Implement basic passthrough framework for input commands.
This commit is contained in:
17
stratosphere/fs_mitm/source/debug.cpp
Normal file
17
stratosphere/fs_mitm/source/debug.cpp
Normal file
@@ -0,0 +1,17 @@
|
||||
#include <switch.h>
|
||||
#include <cstring>
|
||||
#include "debug.hpp"
|
||||
|
||||
static u64 g_num_logged = 0;
|
||||
|
||||
#define MAX_LOGS U64_MAX
|
||||
|
||||
void Reboot() {
|
||||
while (1) {
|
||||
/* ... */
|
||||
}
|
||||
}
|
||||
|
||||
void Log(const void *data, int size) {
|
||||
/* ... */
|
||||
}
|
||||
Reference in New Issue
Block a user