mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
compile fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5627 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
9c3c7c5443
commit
08636392b6
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user