This commit is contained in:
Hamcha 2024-05-05 16:01:35 +02:00
parent b8af859517
commit 81a66e6dc7
Signed by: hamcha
GPG key ID: 1669C533B8CF6D89

View file

@ -283,7 +283,7 @@ pub fn writeDOL(map: DolMap, input: std.fs.File, output: std.fs.File) !void {
// Copy over data segments // Copy over data segments
for (0..map.data_cnt) |i| { for (0..map.data_cnt) |i| {
// Seek to text segment // Seek to data segment
try input.seekTo(map.data_elf_off[i]); try input.seekTo(map.data_elf_off[i]);
// Create limited reader to segment size // Create limited reader to segment size