mirror of
https://github.com/kichikuou/system3-sdl2.git
synced 2026-10-08 06:48:05 +03:00
AGS: Refactor CG loading functions to take std::vector<uint8_t>&
This commit is contained in:
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user