mirror of
https://github.com/mamedev/mame.git
synced 2024-11-16 07:48:32 +01:00
change astring in ldplayer (nw)
This commit is contained in:
parent
7e1f926b94
commit
f9462eb086
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue