mirror of
https://github.com/holub/mame
synced 2025-06-06 21:03:47 +03:00
Changed floppy_image_device::identify() to take std::string_view instead of std::string (#9616)
This commit is contained in:
parent
80c28ec7fe
commit
4c1c5cf946
@ -530,7 +530,7 @@ void floppy_image_device::device_timer(emu_timer &timer, device_timer_id id, int
|
||||
index_resync();
|
||||
}
|
||||
|
||||
const floppy_image_format_t *floppy_image_device::identify(std::string filename)
|
||||
const floppy_image_format_t *floppy_image_device::identify(std::string_view filename)
|
||||
{
|
||||
util::core_file::ptr fd;
|
||||
std::string revised_path;
|
||||
|
@ -82,7 +82,7 @@ public:
|
||||
const std::vector<const floppy_image_format_t *> &get_formats() const;
|
||||
const std::vector<fs_info> &get_fs() const { return m_fs; }
|
||||
const floppy_image_format_t *get_load_format() const;
|
||||
const floppy_image_format_t *identify(std::string filename);
|
||||
const floppy_image_format_t *identify(std::string_view filename);
|
||||
void set_rpm(float rpm);
|
||||
|
||||
void init_fs(const fs_info *fs, const fs::meta_data &meta);
|
||||
|
Loading…
Reference in New Issue
Block a user