Skip to content

Commit

Permalink
Added offset to partial load
Browse files Browse the repository at this point in the history
  • Loading branch information
gusmanb committed Jan 16, 2024
1 parent 565739b commit e52a00b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@ private bool BuildDiskAndCode(string buildPath, ZXBuildType BuildType, TextWrite

sb.AppendLine($"#define Load{file.Name}From{diskName}(Dest) LoadRamData({file.Name}Bank, {file.Name}Address, Dest, {file.Name}Size)");

sb.AppendLine($"#define LoadPartial{file.Name}From{diskName}(Dest, Size) LoadRamData({file.Name}Bank, {file.Name}Address, Dest, Size)");
sb.AppendLine($"#define LoadPartial{file.Name}From{diskName}(Offset, Dest, Size) LoadRamData({file.Name}Bank, {file.Name}Address + Offset, Dest, Size)");
}

outputLog.WriteLine($"Writting binary bank {(int)bank.Bank}...");
Expand Down

0 comments on commit e52a00b

Please sign in to comment.