(svn r1737) Add DEBUG category "map" and use it to print the map size when allocating the map

This commit is contained in:
tron
2005-01-30 18:12:37 +00:00
parent 5f05703206
commit 7526afdae0
3 changed files with 5 additions and 0 deletions

2
map.c
View File

@@ -21,6 +21,8 @@ void InitMap(uint log_x, uint log_y)
assert(log_x <= 15 && log_y <= 15);
DEBUG(map, 1)("Allocating map of size %dx%d", log_x, log_y);
_map_log_x = log_x;
_map_log_y = log_y;