mirror of
https://github.com/open-goal/jak-project
synced 2026-07-09 14:55:51 -04:00
add an optional, less-accurate-but-faster sprite render and fix silly math bug (#1102)
* also add a new sprite renderer * claaaang * goal build fix * fix tests, add stack singleton option * make all event-message-blocks the same * diskboot
This commit is contained in:
+6
-1
@@ -289,6 +289,12 @@ u32 exec_runtime(int argc, char** argv) {
|
||||
}
|
||||
}
|
||||
|
||||
// initialize graphics first - the EE code will upload textures during boot and we
|
||||
// want the graphics system to catch them.
|
||||
if (enable_display) {
|
||||
Gfx::Init();
|
||||
}
|
||||
|
||||
// step 1: sce library prep
|
||||
iop::LIBRARY_INIT();
|
||||
ee::LIBRARY_INIT_sceCd();
|
||||
@@ -317,7 +323,6 @@ u32 exec_runtime(int argc, char** argv) {
|
||||
// TODO relegate this to its own function
|
||||
// TODO also sync this up with how the game actually renders things (this is just a placeholder)
|
||||
if (enable_display) {
|
||||
Gfx::Init();
|
||||
Gfx::Loop([]() { return !MasterExit; });
|
||||
Gfx::Exit();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user