[nostalgia] Change Palette converter color idx to be 0 based
All checks were successful
Build / build (push) Successful in 2m30s

This commit is contained in:
Gary Talent 2024-08-30 20:53:48 -05:00
parent bd2e88cd88
commit ab025e88da

View File

@ -29,7 +29,7 @@ ox::Error PaletteV2ToPaletteV3Converter::convert(
dst.pages = std::move(src.pages);
if (!dst.pages.empty()) {
for (size_t i = 0; i < dst.pages[0].size(); ++i) {
dst.colorInfo.emplace_back(ox::sfmt("Color {}", i));
dst.colorInfo.emplace_back(ox::sfmt("Color {}", i + 1));
}
}
return {};