From dc4e515746f045fea3e578c4473f9d9df468c452 Mon Sep 17 00:00:00 2001 From: Phillip Stephens Date: Sat, 22 Oct 2022 14:11:03 -0700 Subject: [PATCH] Match and link CControlMapper --- configure.py | 2 +- src/MetroidPrime/CControlMapper.cpp | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/configure.py b/configure.py index eaeece2e..2332ce0f 100755 --- a/configure.py +++ b/configure.py @@ -40,7 +40,7 @@ LIBS = [ ["MetroidPrime/main", False], "MetroidPrime/IRenderer", "MetroidPrime/Cameras/CCameraManager", - ["MetroidPrime/CControlMapper", False], + ["MetroidPrime/CControlMapper", True], "MetroidPrime/Cameras/CFirstPersonCamera", ["MetroidPrime/CObjectList", True], "MetroidPrime/Player/CPlayer", diff --git a/src/MetroidPrime/CControlMapper.cpp b/src/MetroidPrime/CControlMapper.cpp index 7917a4a3..e1175768 100644 --- a/src/MetroidPrime/CControlMapper.cpp +++ b/src/MetroidPrime/CControlMapper.cpp @@ -32,7 +32,6 @@ const FAnalogInput ControlMapper::gAnalogInputs[] = { &CFinalInput::AL, &CFinalInput::AR, &CFinalInput::AStart, - nullptr, }; const FDigitalInput ControlMapper::gDigitalInputs[] = { @@ -59,7 +58,6 @@ const FDigitalInput ControlMapper::gDigitalInputs[] = { &CFinalInput::DL, &CFinalInput::DR, &CFinalInput::DStart, - nullptr, }; const FDigitalInput ControlMapper::gPressInputs[] = { @@ -86,7 +84,6 @@ const FDigitalInput ControlMapper::gPressInputs[] = { &CFinalInput::PL, &CFinalInput::PR, &CFinalInput::PStart, - nullptr, }; const char* ControlMapper::GetDescriptionForFunction(EFunctionList function) {