diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2015-04-19 15:12:22 +0200 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2015-04-19 15:12:22 +0200 |
commit | f9462eb086d1832237f44e52941e55d56db51ca7 (patch) | |
tree | b1a5b162c02c745d9c2e4b77c288ab71e148ca18 /src/ldplayer/ldplayer.c | |
parent | 7e1f926b941b4e5a571093e2202caeaa72009708 (diff) |
change astring in ldplayer (nw)
Diffstat (limited to 'src/ldplayer/ldplayer.c')
-rw-r--r-- | src/ldplayer/ldplayer.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ldplayer/ldplayer.c b/src/ldplayer/ldplayer.c index da94f8331bf..2c954ef4b75 100644 --- a/src/ldplayer/ldplayer.c +++ b/src/ldplayer/ldplayer.c @@ -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; } |