-
Notifications
You must be signed in to change notification settings - Fork 109
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
Conversation
lib/include/nitro/mi.h
Outdated
@@ -1,12 +1,13 @@ | |||
#ifndef NITRO_MI_H_ | |||
#define NITRO_MI_H_ | |||
#ifndef POKEHEARTGOLD_MI_H |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
revert
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why?
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
lib/include/nitro/mi/dma.h
Outdated
@@ -1,34 +1,43 @@ | |||
#ifndef NITRO_MI_DMA_H_ | |||
#define NITRO_MI_DMA_H_ | |||
#ifndef POKEHEARTGOLD_MI_DMA_H |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
revert
There was a problem hiding this 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.
also change m2ctx to not include global.h by default (this should be included in each file)