Put the declaration of dasmmips3() in a header file

This commit is contained in:
Nathan Woods 2016-11-16 07:33:32 -05:00
parent 0d17e0ff72
commit c68d5ad9bf
4 changed files with 8 additions and 4 deletions

View File

@ -965,7 +965,6 @@ bool mips3_device::memory_translate(address_spacenum spacenum, int intention, of
offs_t mips3_device::disasm_disassemble(char *buffer, offs_t pc, const uint8_t *oprom, const uint8_t *opram, uint32_t options)
{
extern unsigned dasmmips3(char *, unsigned, uint32_t);
uint32_t op = *(uint32_t *)oprom;
if (m_bigendian)
op = big_endianize_int32(op);

View File

@ -766,4 +766,12 @@ private:
#define MIPS3DRC_FASTEST_OPTIONS (0)
/***************************************************************************
DISASSEMBLING
***************************************************************************/
unsigned dasmmips3(std::ostream &stream, unsigned pc, uint32_t op);
unsigned dasmmips3(char *buffer, unsigned pc, uint32_t op);
#endif /* __MIPS3_H__ */

View File

@ -31,8 +31,6 @@
#include "cpu/drcuml.h"
#include "cpu/drcumlsh.h"
extern unsigned dasmmips3(char *buffer, unsigned pc, uint32_t op);
using namespace uml;

View File

@ -11,7 +11,6 @@
#include "psx.h"
extern CPU_DISASSEMBLE( r3000le );
extern unsigned dasmmips3(char *,unsigned, uint32_t);
static struct
{