Internal resolution becomes a built-in host-only mod; drop the sample-rate setting; host-only mod options editable in netplay

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Matthew Stanley
2026-10-24 20:29:37 -07:00
parent 7a786f8e84
commit 4734f69306
29 changed files with 740 additions and 878 deletions
+14
View File
@@ -3291,6 +3291,20 @@ extern "C" int psx_mod_option_live_capable(const char* package_id, const char* f
return 0;
}
extern "C" int psx_mod_option_live_host_only(const char* package_id, const char* feature_id) {
using namespace PSXRecompV4;
if (!package_id || !feature_id) return 0;
RuntimeMods& s = state();
if (!s.initialized || !s.plan.ok) return 0;
bool any = false;
for (const ModResolution::Plugin& plugin : s.plan.plugins) {
if (plugin.package_id != package_id || plugin.feature_id != feature_id) continue;
if (!plugin.netplay_host_only) return 0;
any = true;
}
return any ? 1 : 0;
}
extern "C" int psx_mod_save_selection(void) {
using namespace PSXRecompV4;
RuntimeMods& s = state();