diff options
| author | Lywx <kiritodev01@gmail.com> | 2026-07-02 20:42:38 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-07-02 20:42:38 -0600 |
| commit | 58527d7bf8778bc67179454a19ad8c84a74aff13 (patch) | |
| tree | 37df9df3eb558977b84b5a33b8143f3859c5d057 /src/lib/web.cpp | |
| parent | b42a4fa16f7a75e2a96a7c107e6359c80b685863 (diff) | |
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
Diffstat (limited to 'src/lib/web.cpp')
| -rw-r--r-- | src/lib/web.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
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<std::vector<uint8_t>, ArchiveType, bool, bool, std::string, std::string>() .constructor<std::vector<uint8_t>, ArchiveType, bool, bool, std::string>() .constructor<std::vector<uint8_t>, 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<size_t> dummy{0}; - self.Process(dummy); - })) + std::atomic<size_t> dummy{ 0 }; + self.Process(dummy); + })) .function("GetRomData", &Companion::GetRomData, allow_raw_pointers()); } #endif
\ No newline at end of file |
