optimisation (crash fix)

This commit is contained in:
2026-01-09 21:29:10 +01:00
parent 2025e78654
commit 4d0f380d25
2 changed files with 4 additions and 4 deletions

View File

@@ -25,10 +25,10 @@ enum Color : u32 {
A4, // tested
};
CTRFF_API void EncodeImage(std::vector<ctrff::u8>& ret,
std::vector<ctrff::u8> rgba, int w, int h,
const std::vector<ctrff::u8>& rgba, int w, int h,
Color dst);
CTRFF_API void DecodeImage(std::vector<ctrff::u8>& ret,
std::vector<ctrff::u8> pixels, int w, int h,
const std::vector<ctrff::u8>& pixels, int w, int h,
Color src);
} // namespace Pica
} // namespace ctrff