fix windows filter dropdown
This commit is contained in:
parent
5a80a5783e
commit
04ff0f1ec5
6
main.c
6
main.c
|
@ -90,7 +90,11 @@ enum mColorFormat pixfmt_sdl_to_mgba(uint32_t sdl_fmt) {
|
|||
}
|
||||
}
|
||||
|
||||
const SDL_DialogFileFilter DIALOG_FILENAME_FILTER[1] = {{ "Gameboy Camera ROM", "gb" }};
|
||||
const SDL_DialogFileFilter DIALOG_FILENAME_FILTER[] = {
|
||||
{ "Gameboy Camera ROM (*.gb)", "gb" },
|
||||
{ "", "" },
|
||||
{ NULL, NULL },
|
||||
};
|
||||
|
||||
static void SDLCALL dialog_callback(void* userdata, const char* const* files, int filter) {
|
||||
struct AppState* st = (struct AppState*)userdata;
|
||||
|
|
Loading…
Reference in New Issue