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

Match and link cpu.c #199

Merged
merged 3 commits into from
Oct 24, 2024
Merged

Match and link cpu.c #199

merged 3 commits into from
Oct 24, 2024

Conversation

cadmic
Copy link
Collaborator

@cadmic cadmic commented Oct 24, 2024

I created _cpuGCN.c and _cpuDecodePPC.c, based on debug info and oot-vc function order, since apparently including other source files changes function ordering but not data ordering. I also fixed a few things that weren't actually matching.

Some things I'm unsure about:

  • There's some unused strings which I think are part of the (stripped) treePrint, so I created a dummy function for these, but I forgot if there's another way to do it
  • cpuCountTLB seems like it should return a boolean but I can't get that to match while using it in cpuExecuteOpcode. Maybe there's a different inline here?

Copy link
Collaborator

@Yanis002 Yanis002 left a comment

Choose a reason for hiding this comment

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

congrats on this cpu work, it's really nice to see all the cleanup it brings

docs/c_cpp_properties.json Outdated Show resolved Hide resolved
@cadmic cadmic merged commit d5cf366 into zeldaret:main Oct 24, 2024
3 checks passed
@cadmic cadmic deleted the cpu-file-split branch October 24, 2024 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants