Panic("The fuck? Too many pages! (indx = 0x%x)", indx);
}
+ if( indx >= giPageCount ) {
+ Mutex_Release( &glPhysAlloc );
+ Log_Error("PMem", "MM_AllocPhys - indx(%i) > giPageCount(%i)", indx, giPageCount);
+ LEAVE('i', 0);
+ return 0;
+ }
+
// Mark page used
if(gaPageReferences)
gaPageReferences[ indx ] = 1;