gitadora: option to disable frame limiter (#848)
## Link to GitHub Issue or related Pull Request, if one exists n/a ## Description of change There is a patch for GITADORA series that fixes frame pacing on modern Windows. Turn it into a signature patch and embed it into the game. ## Testing should work for all 64-bit gitadora versions, pre-GWD
This commit is contained in:
@@ -644,6 +644,9 @@ int main_implementation(int argc, char *argv[]) {
|
||||
if (options[launcher::Options::LoadGitaDoraModule].value_bool()) {
|
||||
attach_gitadora = true;
|
||||
}
|
||||
if (options[launcher::Options::GitaDoraDisableFrameLimiter].value_bool()) {
|
||||
games::gitadora::DISABLE_FRAME_LIMITER = true;
|
||||
}
|
||||
if (options[launcher::Options::GitaDoraCabinetType].is_active()) {
|
||||
games::gitadora::CAB_TYPE = options[launcher::Options::GitaDoraCabinetType].value_uint32();
|
||||
}
|
||||
|
||||
@@ -1202,6 +1202,19 @@ static const std::vector<OptionDefinition> OPTION_DEFINITIONS = {
|
||||
.category = "Game Options",
|
||||
.quick_setting_category = "Game",
|
||||
},
|
||||
{
|
||||
.title = "GitaDora Disable Frame Limiter (EXPERIMENTAL)",
|
||||
.name = "gdnoframelimiter",
|
||||
.desc = "Only for GITADORA to GALAXY WAVE; not for XG series or Arena Model.\n\n"
|
||||
"Game engine's built-in frame limiter can result in unstable frame pacing "
|
||||
"(around 56-58 FPS) on modern Windows. Turning this on disables that and "
|
||||
"forces the game to rely on V-Sync instead, resulting in a stable FPS.\n\n"
|
||||
"Ensure your monitors are set to 60Hz.",
|
||||
.type = OptionType::Bool,
|
||||
.game_name = "GitaDora",
|
||||
.category = "Game Options",
|
||||
.quick_setting_category = "Game",
|
||||
},
|
||||
{
|
||||
.title = "GitaDora Cabinet Type",
|
||||
.name = "gdcabtype",
|
||||
|
||||
@@ -114,6 +114,7 @@ namespace launcher {
|
||||
LoadHelloPopnMusicModule,
|
||||
LoadGitaDoraModule,
|
||||
GitaDoraTwoChannelAudio,
|
||||
GitaDoraDisableFrameLimiter,
|
||||
GitaDoraCabinetType,
|
||||
GitaDoraLefty,
|
||||
GitaDoraWailHold,
|
||||
|
||||
Reference in New Issue
Block a user