compile fix

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5627 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
nakeee 2010-06-06 05:24:26 +00:00
parent 9c3c7c5443
commit 08636392b6
1 changed files with 2 additions and 1 deletions

View File

@ -18,10 +18,11 @@ namespace ciface
namespace SDL
{
struct ZeroedInt{ZeroedInt():value(0){}unsigned int value;};
void Init( std::vector<ControllerInterface::Device*>& devices )
{
// just a struct with an int that is set to ZERO by default
struct ZeroedInt{ZeroedInt():value(0){}unsigned int value;};
// this is used to number the joysticks
// multiple joysticks with the same name shall get unique ids starting at 0
std::map<std::string, ZeroedInt> name_counts;