aboutsummaryrefslogtreecommitdiff
path: root/src/get_image_for_rom.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/get_image_for_rom.h')
-rw-r--r--src/get_image_for_rom.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/get_image_for_rom.h b/src/get_image_for_rom.h
new file mode 100644
index 0000000..da9c8bf
--- /dev/null
+++ b/src/get_image_for_rom.h
@@ -0,0 +1,12 @@
+#ifndef get_image_for_rom_h
+#define get_image_for_rom_h
+#include <stdint.h>
+#include <stdbool.h>
+
+typedef bool (*cancel_callback_t)(void*);
+
+int get_image_for_rom_alt(const char *filename, const unsigned char *buffer, size_t size, uint32_t *output, uint8_t *cgb_flag);
+int get_image_for_rom(const char *filename, const char *boot_path, uint32_t *output, uint8_t *cgb_flag);
+
+
+#endif