mirror of
https://github.com/vivier/EMILE.git
synced 2025-01-10 14:30:09 +00:00
Manage big endian/little endian
This commit is contained in:
parent
0b6dcf91f1
commit
b2e366a3c5
@ -7,8 +7,9 @@ static __attribute__((used)) char* rcsid = "$CVSHeader$";
|
|||||||
|
|
||||||
#include "partition.h"
|
#include "partition.h"
|
||||||
#include "libemile.h"
|
#include "libemile.h"
|
||||||
|
#include "emile.h"
|
||||||
|
|
||||||
int emile_map_partition_is_valid(emile_map_t *map)
|
int emile_map_partition_is_valid(emile_map_t *map)
|
||||||
{
|
{
|
||||||
return map->partition.Sig == MAP_SIGNATURE;
|
return read_short(&map->partition.Sig) == MAP_SIGNATURE;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user