mirror of
https://github.com/holub/mame
synced 2025-04-23 00:39:36 +03:00
Moved the declaration for ppc_dasm_one() to a header file
This commit is contained in:
parent
da1c0c867b
commit
be110a64f3
@ -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);
|
||||
|
@ -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__ */
|
||||
|
@ -25,8 +25,6 @@
|
||||
|
||||
using namespace uml;
|
||||
|
||||
extern offs_t ppc_dasm_one(char *buffer, uint32_t pc, uint32_t op);
|
||||
|
||||
|
||||
|
||||
/***************************************************************************
|
||||
|
Loading…
Reference in New Issue
Block a user