AGS: Refactor CG loading functions to take std::vector<uint8_t>&

This commit is contained in:
kichikuou
2025-06-06 07:32:56 +09:00
parent 734a77c1f0
commit 073da3464b
7 changed files with 22 additions and 22 deletions
+1 -1
View File
@@ -8,7 +8,7 @@
#include "game_id.h"
#include <string.h>
void AGS::load_pms(uint8* data, bool set_palette, int transparent)
void AGS::load_pms(const std::vector<uint8_t>& data, bool set_palette, int transparent)
{
// ヘッダ取得
int sx = data[0x0] | (data[0x1] << 8);