mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2024-12-13 19:54:39 +00:00
File size + credits
This commit is contained in:
parent
f6b02c31b5
commit
5ce1b8fa60
@ -97,6 +97,10 @@ File::Result<File::Offset> File::seek(const Offset new_position) {
|
||||
return { static_cast<File::Offset>(old_position) };
|
||||
}
|
||||
|
||||
File::Size File::size() {
|
||||
return { static_cast<File::Size>(f_size(&f)) };
|
||||
}
|
||||
|
||||
Optional<File::Error> File::write_line(const std::string& s) {
|
||||
const auto result_s = write(s.c_str(), s.size());
|
||||
if( result_s.is_error() ) {
|
||||
|
@ -86,7 +86,7 @@ private:
|
||||
flags flag;
|
||||
} credits_t;
|
||||
|
||||
const credits_t credits[13] = { {"Portapack|HAVOC", "Git hash " GIT_REVISION, SECTION},
|
||||
const credits_t credits[14] = { {"Portapack|HAVOC", "Git hash " GIT_REVISION, SECTION},
|
||||
{"Gurus", "J. Boone", TITLE},
|
||||
{"M. Ossmann", "", MEMBER_LF},
|
||||
{"Immaturity", "Furrtek", TITLE_LF},
|
||||
@ -96,6 +96,7 @@ private:
|
||||
{"Xy. infos", "cLx", TITLE_LF},
|
||||
{"Thanks", "", SECTION},
|
||||
{"Rainer Matla", "Keld Norman", TITLE},
|
||||
{"Giorgio Campiotti", "DC1RDB", TITLE},
|
||||
{"Sigmounte", "Waax", TITLE},
|
||||
{"Windyoona", "Channels", TITLE_LF},
|
||||
{"", "MMXVII", END}
|
||||
|
Loading…
Reference in New Issue
Block a user