summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2024-02-11 12:51:19 -0500
committer AJR <ajrhacker@users.noreply.github.com>2024-02-11 12:52:24 -0500
commitf4acecb45347904ac8319726cd518829afe5904f (patch)
treeab1b706f8199407a251fbdb39df1c5f143778fda /src
parent2995e59d5061f5ab0f84dd56510d42e8944827a6 (diff)
imagedev/floppy.cpp: Delete unused getter that leaked details
* util/options.h: Use forwarding header
Diffstat (limited to 'src')
-rw-r--r--src/devices/imagedev/floppy.cpp5
-rw-r--r--src/devices/imagedev/floppy.h1
-rw-r--r--src/lib/util/options.h2
3 files changed, 1 insertions, 7 deletions
diff --git a/src/devices/imagedev/floppy.cpp b/src/devices/imagedev/floppy.cpp
index b0a520a078f..617d40ac463 100644
--- a/src/devices/imagedev/floppy.cpp
+++ b/src/devices/imagedev/floppy.cpp
@@ -1418,11 +1418,6 @@ uint32_t floppy_image_device::get_variant() const
return m_image ? m_image->get_variant() : 0;
}
-std::vector<uint32_t> &floppy_image_device::get_buffer()
-{
- return m_image->get_buffer(m_cyl, m_ss, m_subcyl);
-}
-
//===================================================================
// Floppy sound
//
diff --git a/src/devices/imagedev/floppy.h b/src/devices/imagedev/floppy.h
index 6131d3b82b8..55572333726 100644
--- a/src/devices/imagedev/floppy.h
+++ b/src/devices/imagedev/floppy.h
@@ -115,7 +115,6 @@ public:
void setup_wpt_cb(wpt_cb cb);
void setup_led_cb(led_cb cb);
- std::vector<uint32_t> &get_buffer();
int get_cyl() const { return m_cyl; }
bool on_track() const { return !m_subcyl; }
diff --git a/src/lib/util/options.h b/src/lib/util/options.h
index 99db519a5e5..8b85b9f58e6 100644
--- a/src/lib/util/options.h
+++ b/src/lib/util/options.h
@@ -12,6 +12,7 @@
#define MAME_LIB_UTIL_OPTIONS_H
#include "strformat.h"
+#include "utilfwd.h"
#include <algorithm>
#include <exception>
@@ -43,7 +44,6 @@ const int OPTION_PRIORITY_MAXIMUM = 255; // maximum priority
//**************************************************************************
struct options_entry;
-namespace util { class core_file; }
// exception thrown by core_options when an illegal request is made
class options_exception : public std::exception