aboutsummaryrefslogtreecommitdiff
path: root/src/get_image_for_rom.h
blob: 2fe26b557a5faf0f1b7fd37754413054f80f3ebf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef get_image_for_rom_h
#define get_image_for_rom_h
#include <stdint.h>
#include <stdbool.h>

extern unsigned int duration;

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