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:
water111
2022-01-21 21:11:57 -05:00
committed by GitHub
parent 4648f78733
commit 35bdc9b1d3
45 changed files with 1493 additions and 277 deletions
+6 -1
View File
@@ -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();
}