Merge pull request #6 from ksherlock/sdl_dnd

Adds code to, theoretically, insert a drag-n-drop disk image.
This commit is contained in:
Dagen Brock 2017-01-20 10:34:39 -06:00 committed by GitHub
commit a7302310c5

View File

@ -385,6 +385,14 @@ check_input_events_sdl()
SDL_Quit();
my_exit(1);
break;
case SDL_DROPFILE:
{
char *file = event.drop.file;
cfg_inspect_maybe_insert_file(file, 0);
SDL_free(file);
}
break;
default:
break;
}