mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-21 12:17:35 +00:00
FatFs: Enable long file name support.
Lots of re-plumbing to make this work, including a bunch of Unicode stuff now in the binary. Bloat City, I'm sure. TODO: FatFs using unsigned (uint16_t) for UTF16 representation is kinda inconvenient. Lots of reinterpret_cast<>().
This commit is contained in:
@@ -50,7 +50,7 @@ static constexpr std::array<uint8_t, 12> png_iend { {
|
||||
} };
|
||||
|
||||
Optional<File::Error> PNGWriter::create(
|
||||
const std::string& filename
|
||||
const std::filesystem::path& filename
|
||||
) {
|
||||
const auto create_error = file.create(filename);
|
||||
if( create_error.is_valid() ) {
|
||||
|
Reference in New Issue
Block a user