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
@@ -7,7 +7,7 @@
#include "ags.h"
#include <string.h>
void AGS::load_gm3(uint8* data, int transparent)
void AGS::load_gm3(const std::vector<uint8_t>& data, int transparent)
{
// ヘッダ取得
uint16 tmp = (data[0x30] | (data[0x31] << 8)) - 0x8000;