diff options
author | Aaron Giles <aaron@aarongiles.com> | 2011-02-07 05:47:17 +0000 |
---|---|---|
committer | Aaron Giles <aaron@aarongiles.com> | 2011-02-07 05:47:17 +0000 |
commit | 07a66f8c540125827a9fdad5c535d5982cb9ffd6 (patch) | |
tree | 8c17cb4f4ca3eb283614aeb2c8b20ff554831bc5 /src/emu/inptport.c | |
parent | 7a3d9310eec02ec1a1bafbaed3ca55623de688da (diff) |
Move generic templates from emucore.h to emutempl.h.
Normalize the tagged_list template to wrap a regular standard_list
and have similar semantics. Updated a few direct callers to handle
the changes.
Diffstat (limited to 'src/emu/inptport.c')
-rw-r--r-- | src/emu/inptport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/inptport.c b/src/emu/inptport.c index 6b14e0381c3..0f19db036c2 100644 --- a/src/emu/inptport.c +++ b/src/emu/inptport.c @@ -2911,7 +2911,7 @@ static void port_config_detokenize(ioport_list &portlist, const input_port_token maskbits = 0; string = TOKEN_GET_STRING(ipt); - curport = portlist.append(string, global_alloc(input_port_config(string))); + curport = &portlist.append(string, *global_alloc(input_port_config(string))); curfield = NULL; cursetting = NULL; break; |