From 2d0be6346c29050ca7f86a67f28eb97f6a770e7d Mon Sep 17 00:00:00 2001 From: riccardom Date: Sun, 5 Apr 2009 12:11:26 +0000 Subject: [PATCH] Made a couple of functions static. --- desmume/src/NDSSystem.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/desmume/src/NDSSystem.cpp b/desmume/src/NDSSystem.cpp index c461362af..f4153b48b 100644 --- a/desmume/src/NDSSystem.cpp +++ b/desmume/src/NDSSystem.cpp @@ -2238,7 +2238,7 @@ u32 NDS_exec(s32 nb) return nds.cycles; } -std::string MakeInputDisplayString(u16 pad, const std::string* Buttons, int count) { +static std::string MakeInputDisplayString(u16 pad, const std::string* Buttons, int count) { std::string s; for (int x = 0; x < count; x++) { if (pad & (1 << x)) @@ -2249,7 +2249,7 @@ std::string MakeInputDisplayString(u16 pad, const std::string* Buttons, int coun return s; } -std::string MakeInputDisplayString(u16 pad, u16 padExt) { +static std::string MakeInputDisplayString(u16 pad, u16 padExt) { const std::string Buttons[] = {"A", "B", "Sl", "St", "R", "L", "U", "D", "Rs", "Ls"}; const std::string Ext[] = {"X", "Y"};