mirror of
https://github.com/holub/mame
synced 2025-04-22 16:31:49 +03:00
imagedev/floppy.cpp: Delete unused getter that leaked details
* util/options.h: Use forwarding header
This commit is contained in:
parent
2995e59d50
commit
f4acecb453
@ -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
|
||||
//
|
||||
|
@ -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; }
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user