Make dev node count correct, since for example Mac Virtual PC BIOS reports slightly wrong number which must be &0xFF.
This patch removes "Memory allocation failed: Out of memory" error while booting Freeldr.
Modified: trunk/reactos/boot/freeldr/freeldr/arch/i386/hardware.c

Modified: trunk/reactos/boot/freeldr/freeldr/arch/i386/hardware.c
--- trunk/reactos/boot/freeldr/freeldr/arch/i386/hardware.c	2005-02-01 21:21:33 UTC (rev 13386)
+++ trunk/reactos/boot/freeldr/freeldr/arch/i386/hardware.c	2005-02-02 15:42:48 UTC (rev 13387)
@@ -351,6 +351,9 @@
 
 
   x = PnpBiosGetDeviceNodeCount(&NodeSize, &NodeCount);
+  NodeCount &= 0xFF; // needed since some fscked up BIOSes return
+                     // wrong info (e.g. Mac Virtual PC)
+                     // e.g. look: http://my.execpc.com/~geezer/osd/pnp/pnp16.c
   if (x != 0 || NodeSize == 0 || NodeCount == 0)
     {
       DbgPrint((DPRINT_HWDETECT, "PnP-BIOS failed to enumerate device nodes\n"));