Correct errors
This commit is contained in:
parent
e2218d4d8e
commit
ae4a6c280a
|
@ -115,10 +115,10 @@ fn process_system_area(system_area: &SystemArea, sec_writer: &mut dyn SectorWrit
|
|||
}
|
||||
|
||||
fn write_license_logo(sec_writer: &mut dyn SectorWriter, license_file: &mut BufferedInputFile) -> Result<(), Error> {
|
||||
const LICENSE_LOGO_START:u64 = 0x2488;
|
||||
const LICENSE_LOGO_START:u64 = 0x2DA8;
|
||||
|
||||
license_file.seek(SeekFrom::Start(LICENSE_LOGO_START))?;
|
||||
for _ in 0..4 {
|
||||
for _ in 0..7 {
|
||||
const LICENSE_SECTOR_REST:i64 = 0x120;
|
||||
|
||||
let mut license_logo_buffer = [0u8; Mode2Form1::DATA_SIZE];
|
||||
|
|
Loading…
Reference in New Issue