diff options
author | 2024-02-10 07:38:40 -0500 | |
---|---|---|
committer | 2024-02-10 07:48:27 -0500 | |
commit | 94eaa918fc76dc3e2a472e1530706d5dd8d1ac5c (patch) | |
tree | 2d85643b5b1cde77f7864a7c1ba181366b450066 /src/lib/formats/fsblk.cpp | |
parent | 0def9d44ccf3cda3d5ce4dba50bb7ca709e84d1d (diff) |
formats/fs_fat.cpp: Various fixes
- Get the volume label from the root directory, rather than from the extended BPB (which is less reliable)
- Ignore long file name entries for now
* floptool: Add new line to error message report
Diffstat (limited to 'src/lib/formats/fsblk.cpp')
-rw-r--r-- | src/lib/formats/fsblk.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/formats/fsblk.cpp b/src/lib/formats/fsblk.cpp index d766e389bee..0201ca29092 100644 --- a/src/lib/formats/fsblk.cpp +++ b/src/lib/formats/fsblk.cpp @@ -63,7 +63,7 @@ u8 *fsblk_t::iblock_t::offset(const char *function, u32 off, u32 size) const u8 *fsblk_t::iblock_t::rooffset(const char *function, u32 off, u32 size) { if(off + size > m_size) - throw std::out_of_range(util::string_format("block_t::%s out-of-block read access, offset=%d, size=%d, block size=%d\n", function, off, size, m_size)); + throw std::out_of_range(util::string_format("block_t::%s out-of-block read access, offset=%d, size=%d, block size=%d", function, off, size, m_size)); return rodata() + off; } |