initial commit

This commit is contained in:
2026-07-15 15:02:54 +10:00
commit 8e26d3e19d
8 changed files with 168 additions and 0 deletions

14
src/main.c Normal file
View File

@@ -0,0 +1,14 @@
#include <stdio.h>
#include "emu.h"
int main() {
Emulator* emu = initEmulator(0x00010FFF);
if (!emu) {
fprintf(stderr, "emu: error: failed to allocate memory for emulator\n");
return 1;
}
free(emu);
return 0;
}