Split off ROM set checking from pc_init_modules()

Everything else isn't needed for the manager
This commit is contained in:
Alexander Babikov
2025-08-14 07:04:51 +05:00
parent 20259c0fa8
commit 05120bfb70
4 changed files with 18 additions and 4 deletions

View File

@@ -616,7 +616,7 @@ main(int argc, char *argv[])
# endif
#endif
if (!pc_init_modules()) {
if (!pc_init_roms()) {
QMessageBox fatalbox(QMessageBox::Icon::Critical, QObject::tr("No ROMs found"),
QObject::tr("86Box could not find any usable ROM images.\n\nPlease <a href=\"https://github.com/86Box/roms/releases/latest\">download</a> a ROM set and extract it into the \"roms\" directory."),
QMessageBox::Ok);
@@ -625,6 +625,9 @@ main(int argc, char *argv[])
return 6;
}
if (!vmm_enabled)
pc_init_modules();
if (vmm_enabled) {
// VMManagerMain vmm;
// // Hackish until there is a proper solution