Moved the declaration for ppc_dasm_one() to a header file

This commit is contained in:
Nathan Woods 2016-11-16 18:47:49 -05:00
parent da1c0c867b
commit be110a64f3
3 changed files with 2 additions and 3 deletions

View File

@ -1234,7 +1234,6 @@ void ppc_device::device_reset()
offs_t ppc_device::disasm_disassemble(char *buffer, offs_t pc, const uint8_t *oprom, const uint8_t *opram, uint32_t options)
{
extern offs_t ppc_dasm_one(char *buffer, uint32_t pc, uint32_t op);
uint32_t op = *(uint32_t *)oprom;
op = big_endianize_int32(op);
return ppc_dasm_one(buffer, pc, op);

View File

@ -475,6 +475,8 @@ enum
#define G_TO(op) ((op & M_TO) >> (31 - 10))
#define G_XO(op) ((op & M_XO) >> (31 - 30))
extern offs_t ppc_dasm_one(char *buffer, uint32_t pc, uint32_t op);
#endif /* __PPCCOM_H__ */

View File

@ -25,8 +25,6 @@
using namespace uml;
extern offs_t ppc_dasm_one(char *buffer, uint32_t pc, uint32_t op);
/***************************************************************************