mirror of
https://github.com/holub/mame
synced 2025-05-05 13:54:42 +03:00
more clang and Linux compilation fixes (nw)
This commit is contained in:
parent
7f6756ef15
commit
d965157fcc
@ -78,6 +78,7 @@ static void output_exit(running_machine &machine);
|
|||||||
INLINE FUNCTIONS
|
INLINE FUNCTIONS
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
#if 0
|
||||||
/*-------------------------------------------------
|
/*-------------------------------------------------
|
||||||
copy_string - make a copy of a string
|
copy_string - make a copy of a string
|
||||||
-------------------------------------------------*/
|
-------------------------------------------------*/
|
||||||
@ -88,6 +89,7 @@ INLINE const char *copy_string(const char *string)
|
|||||||
strcpy(newstring, string);
|
strcpy(newstring, string);
|
||||||
return newstring;
|
return newstring;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/*-------------------------------------------------
|
/*-------------------------------------------------
|
||||||
|
@ -1254,7 +1254,7 @@ void softlist_parser::parse_data_start(const char *tagname, const char **attribu
|
|||||||
|
|
||||||
add_rom_entry(name, hashdata, 0, 0, ROMENTRYTYPE_ROM | (writeable ? DISK_READWRITE : DISK_READONLY));
|
add_rom_entry(name, hashdata, 0, 0, ROMENTRYTYPE_ROM | (writeable ? DISK_READWRITE : DISK_READONLY));
|
||||||
}
|
}
|
||||||
else if (status == NULL || strcmp(status, "nodump") != NULL) // a no_dump chd is not an incomplete entry
|
else if (status == NULL || !strcmp(status, "nodump")) // a no_dump chd is not an incomplete entry
|
||||||
parse_error("Incomplete disk definition");
|
parse_error("Incomplete disk definition");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -17,12 +17,6 @@
|
|||||||
#include "pmlinux.h"
|
#include "pmlinux.h"
|
||||||
#include "osdcomm.h"
|
#include "osdcomm.h"
|
||||||
|
|
||||||
#ifdef PTR64
|
|
||||||
typedef UINT64 FPTR;
|
|
||||||
#else
|
|
||||||
typedef UINT32 FPTR;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <alsa/asoundlib.h>
|
#include <alsa/asoundlib.h>
|
||||||
|
|
||||||
/* I used many print statements to debug this code. I left them in the
|
/* I used many print statements to debug this code. I left them in the
|
||||||
|
Loading…
Reference in New Issue
Block a user