Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debugger: show CIA in register view #13462

Merged
merged 3 commits into from Feb 27, 2023
Merged

Conversation

illusion0001
Copy link
Contributor

Copying CIA instead of typing it in is easier for later use

@@ -1192,7 +1192,7 @@ void ppu_thread::dump_regs(std::string& ret) const
}
}

fmt::append(ret, "CIA: 0x%08llx\n", cia);
fmt::append(ret, "CIA: 0x%08x\n", cia);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

0x%07x suffices. It's rarely above 256mb.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Won't it be ugly this way?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The always added 0 in logs looked odd there IMO. It's also how the debugger prints PPU instruction addresses now in which the added 0 looked odd there as well.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed 0s prefix

@Megamouse Megamouse merged commit f2155b4 into RPCS3:master Feb 27, 2023
@illusion0001 illusion0001 deleted the patch-1 branch February 27, 2023 23:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants