mirror of
https://github.com/RKX1209/nsemu.git
synced 2024-06-22 14:12:34 -04:00
17 lines
215 B
C
17 lines
215 B
C
#include<libtransistor/nx.h>
|
|
#include<malloc.h>
|
|
|
|
int main() {
|
|
svcSleepThread(100000000);
|
|
|
|
void *buf = malloc(4);
|
|
|
|
dbg_printf("malloc returned %p", buf);
|
|
|
|
if(buf == NULL) {
|
|
return 1;
|
|
}
|
|
|
|
return 0;
|
|
}
|