summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/megadrive/md_slot.cpp
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-10-21 12:35:05 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2016-10-21 12:35:05 +0200
commitd2e8f6114903bd3f4841cec91bc77c1ca7e8dca4 (patch)
tree88327ab5fc2eda9fbd905f284584fe5879fbe0a1 /src/devices/bus/megadrive/md_slot.cpp
parenta291e77b2cfc4ce1b780db0d8fa664fb8094d365 (diff)
dynamic_buffer is just std::vector<UINT8> (nw)
Diffstat (limited to 'src/devices/bus/megadrive/md_slot.cpp')
-rw-r--r--src/devices/bus/megadrive/md_slot.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/bus/megadrive/md_slot.cpp b/src/devices/bus/megadrive/md_slot.cpp
index 1e796adb16b..246dc43cab8 100644
--- a/src/devices/bus/megadrive/md_slot.cpp
+++ b/src/devices/bus/megadrive/md_slot.cpp
@@ -471,7 +471,7 @@ image_init_result base_md_cart_slot_device::load_nonlist()
unsigned char *ROM;
bool is_smd, is_md;
UINT32 tmplen = length(), offset, len;
- dynamic_buffer tmpROM(tmplen);
+ std::vector<UINT8> tmpROM(tmplen);
// STEP 1: store a (possibly headered) copy of the file and determine its type (SMD? MD? BIN?)
fread(&tmpROM[0], tmplen);
@@ -919,7 +919,7 @@ std::string base_md_cart_slot_device::get_default_card_software()
{
const char *slot_string;
UINT32 len = m_file->size(), offset = 0;
- dynamic_buffer rom(len);
+ std::vector<UINT8> rom(len);
int type;
m_file->read(&rom[0], len);