initial commit
This commit is contained in:
14
src/main.c
Normal file
14
src/main.c
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user