From daa2d26ff699a2c988848dfe67bfa89b54515d63 Mon Sep 17 00:00:00 2001 From: riccardom Date: Thu, 15 Jan 2009 20:59:37 +0000 Subject: [PATCH] Add chetSystem to compilation and fix compilation. --- desmume/src/Makefile.am | 3 ++- desmume/src/cheatSystem.cpp | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/desmume/src/Makefile.am b/desmume/src/Makefile.am index b1da43101..8fb34e4e7 100644 --- a/desmume/src/Makefile.am +++ b/desmume/src/Makefile.am @@ -46,7 +46,8 @@ libdesmume_a_SOURCES = \ utils/decrypt/decrypt.h utils/decrypt/header.cpp utils/decrypt/header.h \ addons.c addons.h \ addons/compactFlash.cpp addons/gbagame.cpp addons/none.cpp addons/rumblepak.cpp \ - mic.cpp mic.h + mic.cpp mic.h \ + cheatSystem.cpp cheatSystem.h if HAVE_GDB_STUB libdesmume_a_SOURCES += gdbstub.h endif diff --git a/desmume/src/cheatSystem.cpp b/desmume/src/cheatSystem.cpp index 096bb728f..9cb06c3d4 100644 --- a/desmume/src/cheatSystem.cpp +++ b/desmume/src/cheatSystem.cpp @@ -22,6 +22,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include #include "cheatSystem.h" #include "mem.h" #include "MMU.h" @@ -560,4 +561,4 @@ void cheatSearchGetListReset() { searchLastRecord = 0; searchLastRecordProc = 0; -} \ No newline at end of file +}