mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-01-04 13:44:31 +01:00
General: Make parameter names from declarations and implementations consistent
Most of the time when this occurs, it's a bug. Thankfully this isn't the case. However, we can resolve these cases to make the codebase more consistent.
This commit is contained in:
parent
b301fcd520
commit
182ceb2807
8 changed files with 24 additions and 24 deletions
|
|
@ -10,12 +10,12 @@
|
|||
|
||||
namespace Dynarmic::A32 {
|
||||
|
||||
std::ostream& operator<<(std::ostream& o, const LocationDescriptor& loc) {
|
||||
std::ostream& operator<<(std::ostream& o, const LocationDescriptor& descriptor) {
|
||||
o << fmt::format("{{{:08x},{},{},{:08x}}}",
|
||||
loc.PC(),
|
||||
loc.TFlag() ? "T" : "!T",
|
||||
loc.EFlag() ? "E" : "!E",
|
||||
loc.FPSCR().Value());
|
||||
descriptor.PC(),
|
||||
descriptor.TFlag() ? "T" : "!T",
|
||||
descriptor.EFlag() ? "E" : "!E",
|
||||
descriptor.FPSCR().Value());
|
||||
return o;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -11,8 +11,8 @@
|
|||
|
||||
namespace Dynarmic::A64 {
|
||||
|
||||
std::ostream& operator<<(std::ostream& o, const LocationDescriptor& loc) {
|
||||
o << fmt::format("{{{}, {}}}", loc.PC(), loc.FPCR().Value());
|
||||
std::ostream& operator<<(std::ostream& o, const LocationDescriptor& descriptor) {
|
||||
o << fmt::format("{{{}, {}}}", descriptor.PC(), descriptor.FPCR().Value());
|
||||
return o;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ struct TranslatorVisitor final {
|
|||
u64 wmask, tmask;
|
||||
};
|
||||
|
||||
std::optional<BitMasks> DecodeBitMasks(bool N, Imm<6> immr, Imm<6> imms, bool immediate);
|
||||
std::optional<BitMasks> DecodeBitMasks(bool immN, Imm<6> imms, Imm<6> immr, bool immediate);
|
||||
u64 AdvSIMDExpandImm(bool op, Imm<4> cmode, Imm<8> imm8);
|
||||
|
||||
IR::UAny I(size_t bitsize, u64 value);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue