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

Replace logvisor with spdlog; remove athena, discord-rpc, rapidjson

This commit is contained in:
2025-04-03 21:07:07 -06:00
parent 99d5f30ed8
commit b45f808e2c
106 changed files with 514 additions and 651 deletions

View File

@@ -1,6 +1,9 @@
#include "Runtime/Input/CDolphinController.hpp"
#include <dolphin/si.h>
#include <zeus/Math.hpp>
#include <cstring>
namespace metaforce {
CDolphinController::CDolphinController() {

View File

@@ -1,6 +1,8 @@
#pragma once
#include <array>
#include <cstring>
#include <bitset>
#include "Runtime/Input/CKeyboardMouseController.hpp"
#include "Runtime/Input/CControllerGamepadData.hpp"

View File

@@ -36,7 +36,7 @@ void CRumbleGenerator::Update(float dt) {
if (xe0_commandArray[i] != EMotorState::Stop) {
#if PWM_MONITOR
s_tp = now;
fmt::print(FMT_STRING("{}ms ON\n"), ms);
spdlog::debug("{}ms ON\n", ms);
#endif
xe0_commandArray[i] = EMotorState::Stop;
updated = true;
@@ -48,7 +48,7 @@ void CRumbleGenerator::Update(float dt) {
if (xe0_commandArray[i] != EMotorState::Rumble) {
#if PWM_MONITOR
s_tp = now;
fmt::print(FMT_STRING("{}ms Off\n"), ms);
spdlog::debug("{}ms Off\n", ms);
#endif
xe0_commandArray[i] = EMotorState::Rumble;
updated = true;
@@ -60,7 +60,7 @@ void CRumbleGenerator::Update(float dt) {
if (xe0_commandArray[i] != EMotorState::Stop) {
#if PWM_MONITOR
s_tp = now;
fmt::print(FMT_STRING("{}ms ON\n"), ms);
spdlog::debug("{}ms ON\n", ms);
#endif
xe0_commandArray[i] = EMotorState::Stop;
updated = true;