-
Notifications
You must be signed in to change notification settings - Fork 170
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
3.0 - Microcode overhaul #816
base: develop/3.0.0
Are you sure you want to change the base?
Conversation
Fully tested. Ready for review. |
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.
nice try idiot
@@ -33,7 +35,7 @@ | |||
#include "emutest.h" | |||
|
|||
// Emulators that the Instant Input patch should not be applied to | |||
#define INSTANT_INPUT_BLACKLIST (EMU_CONSOLE | EMU_WIIVC | EMU_ARES | EMU_SIMPLE64 | EMU_CEN64) | |||
#define INSTANT_INPUT_BLACKLIST (EMU_CONSOLE | EMU_WIIVC | EMU_ARES | EMU_SIMPLE64 | EMU_CEN64 | DISABLE_INSTANT_INPUT) |
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.
whats this
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.
a new config option that forces instant input to be off when defined. made testing a lot easier.
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.
it's not referenced anywhere except safeguards as far as i can tell, so it should be removed
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.
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.
oh im blind. still not sure abt it. would rather it was in this file than config
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.
ideally it would get added to something like disable_all in the future, instant input does pop up and cause problems frequently
Total changelog with current state of this branch:
|
* Disables instant input. | ||
* Mostly used for debugging purposes, or for future-proofing a release if concerned. | ||
*/ | ||
// #define DISABLE_INSTANT_INPUT |
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.
Move this into game_init.c and reverse it so it is #define INSTANT_INPUT
{ (SCREEN_WIDTH * 2), (SCREEN_HEIGHT * 2), G_NEW_MAXZ / 2, 0 } | ||
} | ||
}; | ||
#else |
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.
was end cutscene viewport ever fixed?
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.
yes
vp->vp.vtrans[2] = G_NEW_MAXZ / 2; | ||
#else | ||
vp->vp.vtrans[2] = 0x1FF; | ||
#endif |
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.
these ifdefs here are a bit ugly. if original maxz was 0x3FE then this could be handled above the function and be cleaner? but idk how it works
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.
yeah they can be combined i guess
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.
shouldve done this as one review but oh well
The goal of this is to combine #789 and #764, while also moving microcode config from the makefile to config_graphics.h