diff -ruN ../../OLD/xmame-0.30.1/./src/cheat.c ./src/cheat.c
--- ../../OLD/xmame-0.30.1/./src/cheat.c	Thu Jan 22 02:54:49 1998
+++ ./src/cheat.c	Fri Jan 30 19:54:07 1998
@@ -192,7 +192,11 @@
 
 /* Load the cheats for that game */
 /* Ex.: pacman:0:4e14:6:0:Infinite Lives  */
+#ifdef UNIX
+  if ((f = fopen("/usr/local/lib/mame/cheat.dat","r")) != 0){
+#else
   if ((f = fopen("CHEAT.DAT","r")) != 0){
+#endif
     for(;;){
 
       if(fgets(str,80,f) == NULL)
