summaryrefslogtreecommitdiffstats
path: root/src/lib/formats/fs_vtech.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Changed the constructor of fs::dir_entry to take 'std::string &&name' ↵ npwoods2022-06-111-1/+1
| | | | instead of 'const std::string &name' (#9913)
* Fixed some issues involving fs::meta_description construction (#9546) npwoods2022-04-121-4/+4
| | | | | | | | | | | * Fixed some issues involving fs::meta_description constructing With the recent change to use std::variant more closely, I noticed a problem where meta_descriptions of type meta_type::String got defaults of type 't'. This was because the templated ctor for meta_description would convert 'const char *' to 'bool'. This change adds another overload to catch 'const char *', along with asserts to catch problems. In the process I corrected a few meta_description ctors It is possible that this change does not go far enough. Perhaps the meta_type argument should be removed, and we should instead create distinct ctor types (rather than relying on templates) and specify the precise meta_type in the overload. Or even go further and remove m_type from meta_description, and instead create an overload that calculates meta_type based on calling std::visit on the variant * Taking this change a bit further, and removing m_type from fs::meta_description; it was superfluous. Also doing some minor C++-ifications
* Move filesystem library into separate namespace and use shorter uX type ↵ AJR2021-12-311-95/+99
| | | | names there
* Filesystem code cleanup AJR2021-12-141-45/+46
| | | | | | | - Eliminate dependencies on emu.h, replacing most fatalerror calls and floptool's ersatz emu_fatalerror class with standard exception classes - Use range-based std::string constructors in some methods - Move filesystem metadata handling to a separate source file - Eliminate src/emu as an include path for libformats (necessitates kludge in ti99_dsk.cpp)
* srcclean in preparation for release Vas Crabb2021-06-271-2/+2
|
* vtech: Add floppy formats and fs Olivier Galibert2021-05-261-0/+366