mirror of
https://github.com/vivier/EMILE.git
synced 2024-11-14 22:04:43 +00:00
16 lines
228 B
C
16 lines
228 B
C
/*
|
|
*
|
|
* (c) 2004-2007 Laurent Vivier <Laurent@lvivier.info>
|
|
*
|
|
*/
|
|
|
|
#include "libmap.h"
|
|
|
|
int map_get_driver_number(map_t *map)
|
|
{
|
|
if (!map_is_valid(map))
|
|
return -1;
|
|
|
|
return read_short((u_int16_t*)&map->drivers.DrvrCount);
|
|
}
|