From f82b014a2b3e7596ff00785e6abe2d7fc1a76ec6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dar=C3=ADo?= Date: Thu, 29 Jan 2026 20:07:31 -0300 Subject: [PATCH] Add support for deprecated mods. (#221) * Add always high poly model as deprecated mod. * Add modern runtime with deprecated mods support. * Update RecompFrontend for deprecated mod support. * Switch deprecated mod. --- lib/N64ModernRuntime | 2 +- lib/RecompFrontend | 2 +- src/main/main.cpp | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/N64ModernRuntime b/lib/N64ModernRuntime index e83b25b..ca568b6 160000 --- a/lib/N64ModernRuntime +++ b/lib/N64ModernRuntime @@ -1 +1 @@ -Subproject commit e83b25b1583fe17468281fe5c9176721614220a7 +Subproject commit ca568b6ad79b9029d14077f0c3ffa757727c5559 diff --git a/lib/RecompFrontend b/lib/RecompFrontend index 86486bf..b3b7ebb 160000 --- a/lib/RecompFrontend +++ b/lib/RecompFrontend @@ -1 +1 @@ -Subproject commit 86486bfb91ba445bc50ded622d557842d747d887 +Subproject commit b3b7ebb4ec1a8a763c0191486f1b3329f9499a48 diff --git a/src/main/main.cpp b/src/main/main.cpp index b918c0f..40f3f2e 100644 --- a/src/main/main.cpp +++ b/src/main/main.cpp @@ -717,6 +717,8 @@ int main(int argc, char** argv) { recomp::register_game(game); } + recomp::mods::register_deprecated_mod("bk_recomp_mod_fov_slider", recomp::mods::DeprecationStatus::BrokenVersion, recomp::Version(1, 1, 0)); + REGISTER_FUNC(recomp_get_window_resolution); REGISTER_FUNC(recomp_get_target_aspect_ratio); REGISTER_FUNC(recomp_get_target_framerate);