include .sgb, avoid double-browser-prompt on osx (???)
This commit is contained in:
parent
04ff0f1ec5
commit
492f1bf7b2
3
main.c
3
main.c
|
@ -91,7 +91,7 @@ enum mColorFormat pixfmt_sdl_to_mgba(uint32_t sdl_fmt) {
|
|||
}
|
||||
|
||||
const SDL_DialogFileFilter DIALOG_FILENAME_FILTER[] = {
|
||||
{ "Gameboy Camera ROM (*.gb)", "gb" },
|
||||
{ "Gameboy Camera ROM (*.gb, *.sgb)", "gb;sgb" },
|
||||
{ "", "" },
|
||||
{ NULL, NULL },
|
||||
};
|
||||
|
@ -578,6 +578,7 @@ SDL_AppResult SDL_AppIterate(void* appstate) {
|
|||
SDL_SetTextureColorMod(st->textures[0], 255, 0, 0);
|
||||
SDL_SetTextureColorMod(st->textures[1], 0, 255, 0);
|
||||
SDL_SetTextureColorMod(st->textures[2], 0, 0, 255);
|
||||
return SDL_APP_CONTINUE;
|
||||
}
|
||||
|
||||
if (st->camera == NULL) {
|
||||
|
|
Loading…
Reference in New Issue