Mercurial > repos > blastem
comparison controller_info.c @ 2292:7df357522c49
Fix saved controller type loading for Xbox Elite controllers
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Sun, 05 Feb 2023 15:19:07 -0800 |
parents | dd9d43c67986 |
children | b67e4e930fa4 |
comparison
equal
deleted
inserted
replaced
2291:4de40b13b55f | 2292:7df357522c49 |
---|---|
107 switch (res.subtype) | 107 switch (res.subtype) |
108 { | 108 { |
109 case SUBTYPE_XBOX: | 109 case SUBTYPE_XBOX: |
110 case SUBTYPE_X360: | 110 case SUBTYPE_X360: |
111 case SUBTYPE_XBONE: | 111 case SUBTYPE_XBONE: |
112 case SUBTYPE_XBOX_ELITE: | |
112 res.type = TYPE_XBOX; | 113 res.type = TYPE_XBOX; |
113 break; | 114 break; |
114 case SUBTYPE_PS2: | 115 case SUBTYPE_PS2: |
115 case SUBTYPE_PS3: | 116 case SUBTYPE_PS3: |
116 case SUBTYPE_PS4: | 117 case SUBTYPE_PS4: |