2 Commits

Author SHA1 Message Date
Claudio Matsuoka
79d3ee1e37 Refactor common code from module loaders
The module loading code in  functions xmp_load_module() and
xmp_load_module_from_memory() were essentially the same, extract them to
a common function.

Additionally, don't set the module name to the file name if the name is
empty, it's up to the application to decide what to do with empty names.

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
2013-12-25 11:57:07 -02:00
Claudio Matsuoka
718bf984f9 [test] Add STIM loader test
Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
2013-10-01 21:23:50 -03:00