imagedev/floppy.cpp: Delete unused getter that leaked details

* util/options.h: Use forwarding header
This commit is contained in:
AJR 2024-02-11 12:51:19 -05:00
parent 2995e59d50
commit f4acecb453
3 changed files with 1 additions and 7 deletions

View File

@ -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
//

View File

@ -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; }

View File

@ -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