summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/imagedev
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2018-09-20 11:42:37 +1000
committer Vas Crabb <vas@vastheman.com>2018-09-20 11:42:37 +1000
commit2993e850bbe44f8e7992877bd1e5a767f762b1ac (patch)
tree46c40ac34c66782ce6441ddab959c2461230c4bb /src/devices/imagedev
parent82a3d44cbe6d013a8e878cafc01e4b5caea03b38 (diff)
(nw) fix lots of inadverently mutable static pointers
Diffstat (limited to 'src/devices/imagedev')
-rw-r--r--src/devices/imagedev/cassette.cpp2
-rw-r--r--src/devices/imagedev/diablo.cpp2
-rw-r--r--src/devices/imagedev/harddriv.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/imagedev/cassette.cpp b/src/devices/imagedev/cassette.cpp
index c68a6546316..d94812ba860 100644
--- a/src/devices/imagedev/cassette.cpp
+++ b/src/devices/imagedev/cassette.cpp
@@ -379,7 +379,7 @@ std::string cassette_image_device::call_display()
int n;
double position, length;
cassette_state uistate;
- static const char *shapes[] = { u8"\u2500", u8"\u2572", u8"\u2502", u8"\u2571" };
+ static char const *const shapes[] = { u8"\u2500", u8"\u2572", u8"\u2502", u8"\u2571" };
// figure out where we are in the cassette
position = get_position();
diff --git a/src/devices/imagedev/diablo.cpp b/src/devices/imagedev/diablo.cpp
index 82da0a417ab..56c90e0c66f 100644
--- a/src/devices/imagedev/diablo.cpp
+++ b/src/devices/imagedev/diablo.cpp
@@ -20,7 +20,7 @@ OPTION_GUIDE_START(dsk_option_guide)
OPTION_INT('K', "hunksize", "Hunk Bytes")
OPTION_GUIDE_END
-static const char *dsk_option_spec =
+static char const *const dsk_option_spec =
"C1-[203]-1024;H1/[2]/4/8;S1-[12]-64;L267;K6408";
diff --git a/src/devices/imagedev/harddriv.cpp b/src/devices/imagedev/harddriv.cpp
index a3d567de33f..c3d2e9ca50c 100644
--- a/src/devices/imagedev/harddriv.cpp
+++ b/src/devices/imagedev/harddriv.cpp
@@ -29,7 +29,7 @@ OPTION_GUIDE_START(hd_option_guide)
OPTION_INT('K', "hunksize", "Hunk Bytes")
OPTION_GUIDE_END
-static const char *hd_option_spec =
+static char const *const hd_option_spec =
"C1-[512]-1024;H1/2/[4]/8;S1-[16]-64;L128/256/[512]/1024;K512/1024/2048/[4096]";