Update runtime to have mod list functionality
This commit is contained in:
parent
e6892248c7
commit
ea0cc6e6be
|
@ -1 +1 @@
|
||||||
Subproject commit 3718758cd529c779018a880ab645cec9d9888803
|
Subproject commit 986881e4e1b19d39ad0efd5a301be7ed439434b1
|
|
@ -631,6 +631,12 @@ int main(int argc, char** argv) {
|
||||||
|
|
||||||
recomp::mods::scan_mods();
|
recomp::mods::scan_mods();
|
||||||
|
|
||||||
|
printf("Found mods:\n");
|
||||||
|
for (const auto& mod : recomp::mods::get_mod_details("mm")) {
|
||||||
|
printf(" %s(%s)\n", mod.mod_id.c_str(), mod.version.to_string().c_str());
|
||||||
|
}
|
||||||
|
printf("\n");
|
||||||
|
|
||||||
recomp::start(
|
recomp::start(
|
||||||
64 * 1024 * 1024, // 64MB to have plenty of room for loading mods
|
64 * 1024 * 1024, // 64MB to have plenty of room for loading mods
|
||||||
project_version,
|
project_version,
|
||||||
|
|
Loading…
Reference in New Issue