2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 17:04:55 +00:00

CActorContraption fixes, better CMake dependency handling

This commit is contained in:
Jack Andersen
2019-06-11 16:05:17 -10:00
parent 77d0ef942d
commit e218b8aeb5
295 changed files with 942 additions and 2219 deletions

View File

@@ -3,7 +3,7 @@
#include <memory>
#include <thread>
#include <queue>
#include "optional.hpp"
#include <optional>
#include "jbus/Endpoint.hpp"
#include "jbus/Listener.hpp"
@@ -72,7 +72,7 @@ CGBASupport::~CGBASupport() { SharedInstance = nullptr; }
u8 CGBASupport::CalculateFusionJBusChecksum(const u8* data, size_t len) {
u32 sum = -1;
for (int i = 0; i < len; ++i) {
for (size_t i = 0; i < len; ++i) {
u8 ch = *data++;
sum ^= ch;
for (int j = 0; j < 8; ++j) {