Correct errors
This commit is contained in:
parent
3d9e87a400
commit
9cb04e2380
|
@ -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