avoid unnecessary logging
[picodrive.git] / pico / misc.c
index 4e344fc..f9e85cd 100644 (file)
@@ -1,10 +1,10 @@
-// This is part of Pico Library\r
-\r
-// (c) Copyright 2006 notaz, All rights reserved.\r
-// Free for non-commercial use.\r
-\r
-// For commercial use, separate licencing terms must be obtained.\r
-\r
+/*\r
+ * rarely used EEPROM code\r
+ * (C) notaz, 2006-2008\r
+ *\r
+ * This work is licensed under the terms of MAME license.\r
+ * See COPYING file in the top-level directory.\r
+ */\r
 \r
 #include "pico_int.h"\r
 \r
@@ -101,7 +101,7 @@ typedef struct
 \r
 PICO_INTERNAL_ASM void memcpy16(unsigned short *dest, unsigned short *src, int count)\r
 {\r
-       if ((((int)dest | (int)src) & 3) == 0)\r
+       if ((((long)dest | (long)src) & 3) == 0)\r
        {\r
                if (count >= 32) {\r
                        memcpy32((int *)dest, (int *)src, count/2);\r