diff options
author | 2021-06-27 13:34:50 +1000 | |
---|---|---|
committer | 2021-06-27 13:34:50 +1000 | |
commit | 4b075a2c6f8b3825c3cf766a4b3002c461f3c800 (patch) | |
tree | e03a40998b71e23eb6dc116be4332cff30339c62 /src/lib/formats/fs_vtech.cpp | |
parent | 322eb2a2b20b5edabd658540fcb06253594c964d (diff) |
srcclean in preparation for release
Diffstat (limited to 'src/lib/formats/fs_vtech.cpp')
-rw-r--r-- | src/lib/formats/fs_vtech.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/formats/fs_vtech.cpp b/src/lib/formats/fs_vtech.cpp index cf432baa218..c23e4db3a9d 100644 --- a/src/lib/formats/fs_vtech.cpp +++ b/src/lib/formats/fs_vtech.cpp @@ -189,7 +189,7 @@ std::vector<u8> fs_vtech::impl::file::read_all() u8 track = m_entry[0xa]; u8 sector = m_entry[0xb]; int len = ((r16l(m_entry + 0xe) - r16l(m_entry + 0xc)) & 0xffff) + 1; - + std::vector<u8> data(len, 0); int pos = 0; while(pos < len) { @@ -219,7 +219,7 @@ fs_vtech::impl::file_t fs_vtech::impl::root_dir::file_create(const fs_meta_data if(type != 'T' && type != 'B') { std::string fname = info.get_string(fs_meta_name::name, ""); fname.resize(8, ' '); - + bdir.w8 (off+0x0, info.get_flag(fs_meta_name::basic, true) ? 'T' : 'B'); bdir.w8 (off+0x1, ':'); bdir.wstr(off+0x2, fname); |