mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-23 03:06:52 -04:00
fs.mitm: Implement basic passthrough framework for input commands.
This commit is contained in:
parent
28d630a23e
commit
c1c211f542
13 changed files with 855 additions and 0 deletions
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) {
|
||||
/* ... */
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue