mirror of
https://github.com/holub/mame
synced 2025-07-01 16:19:38 +03:00
cpu/mipsx/mipsxdasm.cpp: fix compilation on Clang
This commit is contained in:
parent
d77c0ae185
commit
a005bf3023
@ -45,7 +45,7 @@ constexpr int get_compute_compfunc(u32 opcode)
|
||||
return BIT(opcode, 0, 12);
|
||||
}
|
||||
|
||||
constexpr int get_offset(u32 opcode)
|
||||
[[maybe_unused]] constexpr int get_offset(u32 opcode)
|
||||
{
|
||||
return BIT(opcode, 0, 17);
|
||||
}
|
||||
|
@ -14,20 +14,6 @@ public:
|
||||
|
||||
virtual u32 opcode_alignment() const override;
|
||||
virtual offs_t disassemble(std::ostream &stream, offs_t pc, const data_buffer &opcodes, const data_buffer ¶ms) override;
|
||||
|
||||
private:
|
||||
int get_ty(u32 opcode);
|
||||
int get_op(u32 opcode);
|
||||
int get_src1(u32 opcode);
|
||||
int get_src2_dest(u32 opcode);
|
||||
int get_offset(u32 opcode);
|
||||
int get_sq(u32 opcode);
|
||||
int get_compute_dest(u32 opcode);
|
||||
int get_compute_compfunc(u32 opcode);
|
||||
int get_asr_amount(int shift);
|
||||
int get_sh_amount(int shift);
|
||||
|
||||
const char *get_regname(u8 reg);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user