mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-21 05:17:37 +00:00
Change File::open to File::open_for_writing.
Not thrilled about the File API right now...
This commit is contained in:
@@ -53,7 +53,7 @@ PNGWriter::PNGWriter(
|
||||
const std::string& filename
|
||||
)
|
||||
{
|
||||
file.open(filename);
|
||||
file.open_for_writing(filename);
|
||||
file.write(png_file_header);
|
||||
file.write(png_ihdr_screen_capture);
|
||||
|
||||
|
Reference in New Issue
Block a user