Commit Graph

12 Commits

Author SHA1 Message Date
Asnivor 166edd7cba Added mds to file filters 2017-10-25 17:10:26 +01:00
Asnivor 6d87be1396 Experiemental MDS/MDF Support 2017-10-25 17:06:16 +01:00
adelikat bb1afe059e add the .32x extension to various lists of extensions that should probably not exists in the first place, fixes file chooser from opening up on unknown .32x roms, and auto-picking a .32x rom if it is the only file in an archive 2017-07-24 12:28:49 -05:00
adelikat 618951403d drag & drop - default unknown file extensions to rom 2017-05-14 10:13:22 -05:00
adelikat 9a936ec2d6 developer builds - allow drag and drop of roms only support in developer builds, this code perpetuates a bad approach 2017-05-10 15:19:09 -05:00
adelikat 2c537ba6d2 oops, nothing to see here 2017-05-10 15:08:05 -05:00
adelikat eef79d25e0 Drag and Drop - check if CDL is available when dropping a cdl file, instead of hardcoding what platforms has it, also some cleanup in relevant file 2017-05-10 15:06:00 -05:00
nattthebear ebe789eed2 heh 2017-05-10 07:45:23 -04:00
J.D. Purcell ed3bf0e62b Fix mixed line endings. 2017-04-15 15:53:02 -04:00
zeromus edc3cea302 use gizmo to load roms from drag&drop and commandline (file>open already magically worked, due to explorer I guess) 2017-03-15 22:50:35 -05:00
Adam Michaud 19a7408c6d More ROM Extensions
Fixes the issue reported by feos
(http://tasvideos.org/forum/viewtopic.php?p=430806#430806) where some
ROM extensions were not being recognized.  I had generated the list of
ROM extensions based on the cases in RomLoader->LoadRom(), but am now
using the non-developer build list in MainForm->RomFilter().
Unfortunately, this means that if someone adds a file extension in the
future (by, say, adding a new core), this list will need updating as
well.

Also, spaces were replaced by tabs where appropriate.
2016-03-21 05:34:32 -04:00
Adam Michaud 2db8f7e14c Expanded drag and drop
Allows dragging-and-dropping of multiple files onto a running BizHawk
window.

Currently, dragging-and-dropping multiple files of the same
classification is disabled.  Classifications are listed in the
LoadOrdering Enum, and include the order in which those types of files
should be loaded (no state before ROM, etc.)
The current ordering is ROM, state, watch, CDL file, Lua session, Lua
script, cheat file, [movie file and legacy movie file].

The next thing to do is allow dropping archives and extracting the
relevant files from it, but the current hurdle is that any such loaded
file would have to be read-only, as re-saving into the archive could be
problematic.  Furthermore, all of the existing functions (copied and
split into the Loaders region) accept filenames and not streams, which
means that much of the rest of the code needs refactoring to allow
archive loading.
2016-03-02 23:09:44 -05:00