diff options
| author | 2021-01-02 15:11:27 -0500 | |
|---|---|---|
| committer | 2021-01-02 15:18:15 -0500 | |
| commit | 60e518cc505ad5de6331a5da0d8291346757b9bd (patch) | |
| tree | 33e9ab6c897eacb273e6f9d41c5c0d1c9595c443 /src/tools/split.cpp | |
| parent | 78f93a270c2b8d013128a2a346bdf0b8f98700d9 (diff) | |
Low-level #include overhaul
- vecstream.h: Revert changes made in aa29519528cb3dbdbfac56819bea670ed8c56c5d. The std::string_view conversion has been made a non-member function (util::buf_to_string_view) and moved to coretmpl.h.
- strformat.h: Remove the using declaration importing util::string_format into the global namespace. It has been moved to emucore.h and a few tool sources; other references have been qualified.
- osdcore.h: Split out file, directory and path classes and methods to a new header (osdfile.h), Doxygenizing the documentation comments.
- Disaggregate many #includes that were including other standard or custom headers. emu.h now includes basically the same things that it did, but other headers have been streamlined; for instance, emucore.h no longer stealth-includes osdcore.h several ways.
Diffstat (limited to 'src/tools/split.cpp')
| -rw-r--r-- | src/tools/split.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/split.cpp b/src/tools/split.cpp index 1748edf7625..c3f4489f225 100644 --- a/src/tools/split.cpp +++ b/src/tools/split.cpp @@ -149,7 +149,7 @@ static int split_file(const char *filename, const char *basename, uint32_t split splitfile->printf("hash=%s file=%s.%03d\n", computedhash.c_str(), basefilename.c_str(), partnum); // compute the full filename for this guy - outfilename = string_format("%s.%03d", basename, partnum); + outfilename = util::string_format("%s.%03d", basename, partnum); // create it filerr = util::core_file::open(outfilename, OPEN_FLAG_WRITE | OPEN_FLAG_CREATE, outfile); |
