change astring in ldplayer (nw)

This commit is contained in:
Miodrag Milanovic 2015-04-19 15:12:22 +02:00
parent 7e1f926b94
commit f9462eb086

View file

@ -137,7 +137,7 @@ protected:
};
// internal state
astring m_filename;
std::string m_filename;
ioport_value m_last_controls;
bool m_playing;
};
@ -229,14 +229,14 @@ chd_file *ldplayer_state::get_disc()
file_error filerr = image_file.open(dir->name);
if (filerr == FILERR_NONE)
{
astring fullpath(image_file.fullpath());
std::string fullpath(image_file.fullpath());
image_file.close();
// try to open the CHD
if (set_disk_handle(machine(), "laserdisc", fullpath.c_str()) == CHDERR_NONE)
{
m_filename.cpy(dir->name);
m_filename.assign(dir->name);
found = TRUE;
break;
}