diff --git a/developer-handbook.md b/developer-handbook.md index 1e72f909..1bb1097c 100644 --- a/developer-handbook.md +++ b/developer-handbook.md @@ -562,7 +562,7 @@ ox::Result loadPalette2(ox::BufferView const&buff) noexcept { ```cpp #include -ox::Result writeSpritePalette1(NostalgiaPalette *pal) noexcept { +ox::Result writeSpritePalette1(NostalgiaPalette const&pal) noexcept { ox::Buffer buffer(ox::units::MB); std::size_t sz = 0; oxReturnError(ox::writeMC(buffer.data(), buffer.size(), pal, &sz)); @@ -570,7 +570,7 @@ ox::Result writeSpritePalette1(NostalgiaPalette *pal) noexcept { return buffer; } -ox::Result writeSpritePalette2(NostalgiaPalette *pal) noexcept { +ox::Result writeSpritePalette2(NostalgiaPalette const&pal) noexcept { return ox::writeMC(pal); } ```