mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-13 21:31:53 +00:00
CRYO: Change the version of cryo.dat to be a 32-bit integer (1/2)
Though it's unlikely that we'll ever have that many changes, it's better to provision for more space now, for versioning
This commit is contained in:
parent
a3f59d8433
commit
fefad640cd
@ -27,7 +27,7 @@
|
||||
#include "eden_rooms.h"
|
||||
#include "eden_static.h"
|
||||
|
||||
#define CRYO_DAT_VER 1 // 1 byte
|
||||
#define CRYO_DAT_VER 1 // 32-bit integer
|
||||
|
||||
template <typename T>
|
||||
static void writeLE(FILE *f, T value) {
|
||||
@ -192,7 +192,7 @@ static int emitData(char *outputFilename) {
|
||||
printf("Generating %s...\n", outputFilename);
|
||||
|
||||
fwrite("CRYODATA", 8, 1, f);
|
||||
writeLE<byte>(f, CRYO_DAT_VER);
|
||||
writeLE<uint32>(f, CRYO_DAT_VER);
|
||||
|
||||
emitIcons(f);
|
||||
emitRooms(f);
|
||||
|
Loading…
Reference in New Issue
Block a user