mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-10 12:45:46 +00: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
|
namespace SDL
|
||||||
{
|
{
|
||||||
|
|
||||||
|
struct ZeroedInt{ZeroedInt():value(0){}unsigned int value;};
|
||||||
void Init( std::vector<ControllerInterface::Device*>& devices )
|
void Init( std::vector<ControllerInterface::Device*>& devices )
|
||||||
{
|
{
|
||||||
// just a struct with an int that is set to ZERO by default
|
// 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
|
// this is used to number the joysticks
|
||||||
// multiple joysticks with the same name shall get unique ids starting at 0
|
// multiple joysticks with the same name shall get unique ids starting at 0
|
||||||
std::map<std::string, ZeroedInt> name_counts;
|
std::map<std::string, ZeroedInt> name_counts;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user