diff options
| author | 2016-09-26 04:46:55 +1000 | |
|---|---|---|
| committer | 2016-09-26 04:51:59 +1000 | |
| commit | 33b2c733955112083b2912d4115eb0465026b4d0 (patch) | |
| tree | fbbf0f355577aaf9a18dfa5ce269615ed5e70bec /src/emu/input.cpp | |
| parent | fbbc293041838bf6007c439c57745f79b2c8d4fb (diff) | |
srcclean (nw)
Diffstat (limited to 'src/emu/input.cpp')
| -rw-r--r-- | src/emu/input.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/emu/input.cpp b/src/emu/input.cpp index 4c8aad97307..93f349cee3a 100644 --- a/src/emu/input.cpp +++ b/src/emu/input.cpp @@ -2106,7 +2106,7 @@ void input_manager::seq_from_tokens(input_seq &seq, const char *string) } //------------------------------------------------- -// map_device_to_controller - map device to +// map_device_to_controller - map device to // controller based on device map table //------------------------------------------------- @@ -2117,13 +2117,13 @@ bool input_manager::map_device_to_controller(const devicemap_table_type *devicem for (devicemap_table_type::const_iterator it = devicemap_table->begin(); it != devicemap_table->end(); it++) { - const char *deviceid = it->first.c_str(); - const char *controllername = it->second.c_str(); + const char *deviceid = it->first.c_str(); + const char *controllername = it->second.c_str(); // tokenize the controller name into device class and index (i.e. controller name should be of the form "GUNCODE_1") std::string token[2]; int numtokens; - const char *_token = controllername; + const char *_token = controllername; for (numtokens = 0; numtokens < ARRAY_LENGTH(token); ) { // make a token up to the next underscore |
