mirror of
https://github.com/holub/mame
synced 2025-05-19 20:29:09 +03:00
Comment
------- Revert of: r8912 - A workaround for the warnings in Visual Srudio when compiling unidasm It was breaking the GCC compile of unidasm. If anyone else has a better fix who uses VS2008/2010, please feel free to reapply a proper fix
This commit is contained in:
parent
9fb8636bd9
commit
8896bf2e01
@ -37,18 +37,6 @@
|
|||||||
|
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
void *malloc_file_line(size_t size, const char *file, int line)
|
|
||||||
{
|
|
||||||
void *result = malloc(size);
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
void free_file_line(void *memory, const char *file, int line)
|
|
||||||
{
|
|
||||||
free(memory);
|
|
||||||
}
|
|
||||||
|
|
||||||
#include "emu.h"
|
#include "emu.h"
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
|
||||||
@ -345,6 +333,17 @@ static const dasm_table_entry dasm_table[] =
|
|||||||
{ "z8", _8bit, 0, CPU_DISASSEMBLE_NAME(z8) },
|
{ "z8", _8bit, 0, CPU_DISASSEMBLE_NAME(z8) },
|
||||||
};
|
};
|
||||||
|
|
||||||
|
void *malloc_file_line(size_t size, const char *file, int line)
|
||||||
|
{
|
||||||
|
void *result = malloc(size);
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void free_file_line(void *memory, const char *file, int line)
|
||||||
|
{
|
||||||
|
free(memory);
|
||||||
|
}
|
||||||
|
|
||||||
void CLIB_DECL logerror(const char *format, ...)
|
void CLIB_DECL logerror(const char *format, ...)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user