diff options
author | 2022-03-25 21:34:24 +0100 | |
---|---|---|
committer | 2022-03-30 15:45:35 +0200 | |
commit | 40033c809aed228af9b928747a882ee275482c38 (patch) | |
tree | f7a077f27632849849b4a8b2d4deea3638020dfb /src/osd/modules/debugger | |
parent | 33bdc1469b3bc84ab1b811329f05c75f4801a7de (diff) |
floppy: remove the intermediate allocator
Diffstat (limited to 'src/osd/modules/debugger')
-rw-r--r-- | src/osd/modules/debugger/debugimgui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/osd/modules/debugger/debugimgui.cpp b/src/osd/modules/debugger/debugimgui.cpp index ebaa320ea3a..944ed203b79 100644 --- a/src/osd/modules/debugger/debugimgui.cpp +++ b/src/osd/modules/debugger/debugimgui.cpp @@ -142,7 +142,7 @@ private: struct image_type_entry { - floppy_image_format_t* format; + const floppy_image_format_t* format; std::string shortname; std::string longname; }; @@ -1061,7 +1061,7 @@ void debug_imgui::refresh_typelist() if(fd == nullptr) return; - for(floppy_image_format_t* flist : fd->get_formats()) + for(const floppy_image_format_t* flist : fd->get_formats()) { if(flist->supports_save()) { |