Disable SHM stuff in Maps

develop
Petr Mrázek 2010-04-04 15:12:06 +02:00
parent 1d513256fd
commit e42bf92654
1 changed files with 2 additions and 1 deletions

@ -57,6 +57,7 @@ bool API::InitMap()
/* /*
* --> SHM initialization (if possible) <-- * --> SHM initialization (if possible) <--
*/ */
/*
g_pProcess->getModuleIndex("Maps2010",1,d->maps_module); g_pProcess->getModuleIndex("Maps2010",1,d->maps_module);
if(d->maps_module) if(d->maps_module)
@ -77,7 +78,7 @@ bool API::InitMap()
g_pProcess->SetAndWait(cmd); g_pProcess->SetAndWait(cmd);
//cerr << "Map acceleration enabled!" << endl; //cerr << "Map acceleration enabled!" << endl;
} }
*/
// get the map pointer // get the map pointer
uint32_t x_array_loc = g_pProcess->readDWord (map_offset); uint32_t x_array_loc = g_pProcess->readDWord (map_offset);
if (!x_array_loc) if (!x_array_loc)