From 58527d7bf8778bc67179454a19ad8c84a74aff13 Mon Sep 17 00:00:00 2001 From: Lywx Date: Thu, 2 Jul 2026 20:42:38 -0600 Subject: Implemented UI Framework (#225) * Implemented base renderer among main UI framework implementation * Implemented basic geo layout rendering * Implemented animation support among fixing lightning among other things * Implemented multiple ui factories for sm64 * Implemented first iteration of the custom sequence driver * Added export buttons on multiple factories * More sequence player fixes among f3dex2 working correctly * Implemented pm64 viewers * Implemented audio support for pm64 * Fully implemented pm64 factories * Implemented more sm64 factories * Added tons of missing sf64 factories * Implemented all assets among sf64 wrong padding * Run formatting * Fixed wrong spacing on gfx too * Fixed CI * Fixed bad pipeline --- src/lib/web.cpp | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'src/lib/web.cpp') diff --git a/src/lib/web.cpp b/src/lib/web.cpp index cc8b27f..0c9d349 100644 --- a/src/lib/web.cpp +++ b/src/lib/web.cpp @@ -45,14 +45,12 @@ EMSCRIPTEN_BINDINGS(Torch) { .constructor, ArchiveType, bool, bool, std::string, std::string>() .constructor, ArchiveType, bool, bool, std::string>() .constructor, ArchiveType, bool, bool>() - .function("Init", optional_override([](Companion& self, ExportType type) { - self.Init(type); - })) + .function("Init", optional_override([](Companion& self, ExportType type) { self.Init(type); })) .function("GetCartridge", &Companion::GetCartridge, allow_raw_pointers()) .function("Process", optional_override([](Companion& self) { - std::atomic dummy{0}; - self.Process(dummy); - })) + std::atomic dummy{ 0 }; + self.Process(dummy); + })) .function("GetRomData", &Companion::GetRomData, allow_raw_pointers()); } #endif \ No newline at end of file -- cgit v1.2.3