|
> you need to apply the following to get it work: > > Index: src/emu/inptport.c > =================================================================== > --- src/emu/inptport.c (revision 1818) > +++ src/emu/inptport.c (working copy) > @@ -731,6 +731,8 @@ > > const input_port_config *input_port_config_alloc(const input_port_token > *tokens, char *errorbuf, int errorbuflen) > { > + if (tokens == NULL) > + return NULL; > if (errorbuf != NULL) > *errorbuf = 0; > return port_config_detokenize(NULL, tokens, errorbuf, errorbuflen); > > > > thanks to Aaron for the quick reply > > > Roman Scherzer >
Hi
How do I apply this?
I've tried copying the above into a file but the usual:
patch -p0 -E [left facing pointy bracket]filename.diff
[note the left facing pointy bracket isn't displaying for some reason on this forum, perhaps this is the problem with the code above?]
Gives an error message, on the line starting with "const"
Utar
|