| 69 | |
| 70 | |
| 71 | inline const char* ESI_Name(ESI esi) |
| 72 | { |
| 73 | static const char * const names[] = |
| 74 | { |
| 75 | "<none>", |
| 76 | "Gamepad", |
| 77 | "Zapper", |
| 78 | "Power Pad A", |
| 79 | "Power Pad B", |
| 80 | "Arkanoid Paddle", |
| 81 | "Subor Mouse", |
| 82 | "SNES Pad", |
| 83 | "SNES Mouse", |
| 84 | "Virtual Boy", |
| 85 | "LCD Zapper (Advance)" |
| 86 | }; |
| 87 | |
| 88 | if(esi >= SI_NONE && esi <= SI_COUNT) |
| 89 | return names[esi]; |
| 90 | else return "<invalid ESI>"; |
| 91 | } |
| 92 | |
| 93 | |
| 94 | //input device types for the expansion port |
no outgoing calls
no test coverage detected