summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/formats/flopimg.cpp
diff options
context:
space:
mode:
author Nathan Woods <npwoods@mess.org>2016-09-02 23:52:30 -0400
committer Nathan Woods <npwoods@mess.org>2016-09-02 23:52:30 -0400
commit965fb61f95c4f788278b9a338c02586dc2fb04ed (patch)
tree65d570833400d3d251899816c73df4fcc316cb10 /src/lib/formats/flopimg.cpp
parent2c9e00b96d89b78203c0b11b7bdcfd28f3792d96 (diff)
Attempting to make option_guide and option_guide::entry POD types; need to figure out a better way to do OPTION_GUIDE_EXTERN
Diffstat (limited to 'src/lib/formats/flopimg.cpp')
-rw-r--r--src/lib/formats/flopimg.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/formats/flopimg.cpp b/src/lib/formats/flopimg.cpp
index 9fb487ba971..e05bd54cf26 100644
--- a/src/lib/formats/flopimg.cpp
+++ b/src/lib/formats/flopimg.cpp
@@ -58,7 +58,7 @@ struct floppy_params
static floperr_t floppy_track_unload(floppy_image_legacy *floppy);
-OPTION_GUIDE_START(floppy_option_guide)
+OPTION_GUIDE_START(floppy_option_guide_actual)
OPTION_INT('H', "heads", "Heads")
OPTION_INT('T', "tracks", "Tracks")
OPTION_INT('S', "sectors", "Sectors")
@@ -66,6 +66,7 @@ OPTION_GUIDE_START(floppy_option_guide)
OPTION_INT('I', "interleave", "Interleave")
OPTION_INT('F', "firstsectorid", "First Sector")
OPTION_GUIDE_END
+const util::option_guide &floppy_option_guide = floppy_option_guide_actual;
static void floppy_close_internal(floppy_image_legacy *floppy, int close_file);