mirror of
https://github.com/open-goal/jak-project
synced 2026-07-11 15:28:58 -04:00
Minor bug fixes (#2128)
- make sure bsp is processed on `l` levels in extraction (caused missing remaps) - clean up a few prints in extraction - handle the <15 byte differences in art group files automatically (no more errors about file naming) - fix potential exception thrown by merc2 in a few ways: fixed bad data in FR3's, check texture index just in case, and handle exceptions a little bit better (still a crash, but at least you get a print) - fix mips2 ocean stuff causing ocean far crashes
This commit is contained in:
+7
-1
@@ -365,7 +365,13 @@ RuntimeExitStatus exec_runtime(int argc, char** argv) {
|
||||
// step 4: wait for EE to signal a shutdown. meanwhile, run video loop on main thread.
|
||||
// TODO relegate this to its own function
|
||||
if (enable_display) {
|
||||
Gfx::Loop([]() { return MasterExit == RuntimeExitStatus::RUNNING; });
|
||||
try {
|
||||
Gfx::Loop([]() { return MasterExit == RuntimeExitStatus::RUNNING; });
|
||||
} catch (std::exception& e) {
|
||||
fmt::print("Exception thrown from graphics loop: {}\n", e.what());
|
||||
fmt::print("Everything will crash now. good luck\n");
|
||||
throw;
|
||||
}
|
||||
}
|
||||
|
||||
// hack to make the IOP die quicker if it's loading/unloading music
|
||||
|
||||
Reference in New Issue
Block a user