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

decompile MI_dma_card #340

Merged
merged 3 commits into from
Oct 3, 2024
Merged

decompile MI_dma_card #340

merged 3 commits into from
Oct 3, 2024

Conversation

red031000
Copy link
Member

also change m2ctx to not include global.h by default (this should be included in each file)

@@ -1,12 +1,13 @@
#ifndef NITRO_MI_H_
#define NITRO_MI_H_
#ifndef POKEHEARTGOLD_MI_H
Copy link
Collaborator

Choose a reason for hiding this comment

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

revert

Copy link
Member Author

Choose a reason for hiding this comment

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

why?

Copy link
Collaborator

Choose a reason for hiding this comment

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

because these are not gamefreak headers

Copy link
Member Author

@red031000 red031000 Oct 2, 2024

Choose a reason for hiding this comment

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

I am aware of that, but as far as I know GF didn't use the POKEHEARTGOLD_<file>_H scheme either, we use it for every other file in the repo, I'm unsure why not here

Copy link
Member Author

Choose a reason for hiding this comment

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

if strictly necessary I can go through and change it to NITRO_MI_H (or NITROSDK_MI_H) but I'd need to change the headers in diamond too

@@ -1,34 +1,43 @@
#ifndef NITRO_MI_DMA_H_
#define NITRO_MI_DMA_H_
#ifndef POKEHEARTGOLD_MI_DMA_H
Copy link
Collaborator

Choose a reason for hiding this comment

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

revert

lib/include/nitro/mi/dma_card.h Outdated Show resolved Hide resolved
Copy link
Collaborator

@PikalaxALT PikalaxALT left a comment

Choose a reason for hiding this comment

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

Tentatively approving, though would prefer the nitro header guards to retain the trailing underscore.

@adrienntindall adrienntindall merged commit 98cd79b into pret:master Oct 3, 2024
1 check passed
github-actions bot pushed a commit that referenced this pull request Oct 3, 2024
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.

3 participants