returns the boost::filesystem stem of our path - e.g. for "/foo/bar.rom" returns "bar"
| 132 | |
| 133 | //returns the boost::filesystem stem of our path - e.g. for "/foo/bar.rom" returns "bar" |
| 134 | std::string GameData::getBaseName() const |
| 135 | { |
| 136 | boost::filesystem::path path(mPath); |
| 137 | return path.stem().string(); |
| 138 | } |