summaryrefslogtreecommitdiffstatshomepage
path: root/src/tools/imgtool/imghd.cpp
diff options
context:
space:
mode:
author Nathan Woods <npwoods@mess.org>2016-09-03 16:11:58 -0400
committer Nathan Woods <npwoods@mess.org>2016-09-03 16:11:58 -0400
commit4251194fe5b9f4d7551c362326e7ca20bc7da99b (patch)
treeb82bba2120de1fbfd16631b91ba8b479e2ccf9fe /src/tools/imgtool/imghd.cpp
parentbe3c18302e117049c0f4c75f719afc3d3d69aa08 (diff)
Worked around the OPTION_GUIDE_EXTERN issue by using a crazy trick involving namespaces
Caveats: 1. Because of how this trick works, it is no longer possible to declare an option guide as static, so I had to make a bunch of changes 2. I'm going to want the hardcore C++ guys (i.e. - Vas) to review this with a fine toothed comb
Diffstat (limited to 'src/tools/imgtool/imghd.cpp')
-rw-r--r--src/tools/imgtool/imghd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/imgtool/imghd.cpp b/src/tools/imgtool/imghd.cpp
index 38f26bfaabb..89f543d8185 100644
--- a/src/tools/imgtool/imghd.cpp
+++ b/src/tools/imgtool/imghd.cpp
@@ -226,7 +226,7 @@ enum
mess_hd_createopts_seclen = 'F'
};
-static OPTION_GUIDE_START( mess_hd_create_optionguide )
+OPTION_GUIDE_START( mess_hd_create_optionguide )
OPTION_INT(mess_hd_createopts_blocksize, "blocksize", "Sectors Per Block" )
OPTION_INT(mess_hd_createopts_cylinders, "cylinders", "Cylinders" )
OPTION_INT(mess_hd_createopts_heads, "heads", "Heads" )