summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/btoads.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/btoads.c')
-rw-r--r--src/mame/drivers/btoads.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/btoads.c b/src/mame/drivers/btoads.c
index 6c8a5086bf9..906c4af1d94 100644
--- a/src/mame/drivers/btoads.c
+++ b/src/mame/drivers/btoads.c
@@ -302,7 +302,7 @@ INPUT_PORTS_END
*
*************************************/
-static tms34010_config tms_config =
+static const tms34010_config tms_config =
{
FALSE, /* halt on reset */
0, /* the screen operated on */
.nl { color: #f57900 } /* Name.Label */ .highlight .nn { color: #000000 } /* Name.Namespace */ .highlight .nx { color: #000000 } /* Name.Other */ .highlight .py { color: #000000 } /* Name.Property */ .highlight .nt { color: #204a87; font-weight: bold } /* Name.Tag */ .highlight .nv { color: #000000 } /* Name.Variable */ .highlight .ow { color: #204a87; font-weight: bold } /* Operator.Word */ .highlight .pm { color: #000000; font-weight: bold } /* Punctuation.Marker */ .highlight .w { color: #f8f8f8 } /* Text.Whitespace */ .highlight .mb { color: #0000cf; font-weight: bold } /* Literal.Number.Bin */ .highlight .mf { color: #0000cf; font-weight: bold } /* Literal.Number.Float */ .highlight .mh { color: #0000cf; font-weight: bold } /* Literal.Number.Hex */ .highlight .mi { color: #0000cf; font-weight: bold } /* Literal.Number.Integer */ .highlight .mo { color: #0000cf; font-weight: bold } /* Literal.Number.Oct */ .highlight .sa { color: #4e9a06 } /* Literal.String.Affix */ .highlight .sb { color: #4e9a06 } /* Literal.String.Backtick */ .highlight .sc { color: #4e9a06 } /* Literal.String.Char */ .highlight .dl { color: #4e9a06 } /* Literal.String.Delimiter */ .highlight .sd { color: #8f5902; font-style: italic } /* Literal.String.Doc */ .highlight .s2 { color: #4e9a06 } /* Literal.String.Double */ .highlight .se { color: #4e9a06 } /* Literal.String.Escape */ .highlight .sh { color: #4e9a06 } /* Literal.String.Heredoc */ .highlight .si { color: #4e9a06 } /* Literal.String.Interpol */ .highlight .sx { color: #4e9a06 } /* Literal.String.Other */ .highlight .sr { color: #4e9a06 } /* Literal.String.Regex */ .highlight .s1 { color: #4e9a06 } /* Literal.String.Single */ .highlight .ss { color: #4e9a06 } /* Literal.String.Symbol */ .highlight .bp { color: #3465a4 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #000000 } /* Name.Function.Magic */ .highlight .vc { color: #000000 } /* Name.Variable.Class */ .highlight .vg { color: #000000 } /* Name.Variable.Global */ .highlight .vi { color: #000000 } /* Name.Variable.Instance */ .highlight .vm { color: #000000 } /* Name.Variable.Magic */ .highlight .il { color: #0000cf; font-weight: bold } /* Literal.Number.Integer.Long */
@echo off
@setlocal


@rem --- verify environment
if not exist .\src goto :badenvironment
if not exist .\makefile goto :badenvironment


@rem --- look for junk files
@echo Deleting junk files....
del /s *.rej
del /s *~
del /s *#
del /s *.s


@rem --- make sure all filenames are lowercase
@echo Ensuring all filenames are lowercase....
dir /s /b src | findstr /v /c:"\\sdl\\" | findstr /v README | findstr "[ABCDEFGHIJKLOPQRSTUVWXYZ]" && goto :uppercasenames


@rem --- run a cleanup pass
@if not exist srcclean.exe (
make maketree
make srcclean.exe
)
@echo Cleaning up tabs/spaces/end of lines....
for /r src %%i in (*.c) do srcclean %%i || goto :cleanupfailed
for /r src %%i in (*.h) do srcclean %%i || goto :cleanupfailed
for /r src %%i in (*.mak) do srcclean %%i || goto :cleanupfailed


@rem --- verify that all the games are referenced
set MISSING=0
call :finddrivers
if not "%MISSING%"=="0" goto :drivmissing

@goto :eof




@rem -----------------------------------------------------------
@rem 	Find drivers
@rem -----------------------------------------------------------

:finddrivers
@echo Finding all GAME macros in drivers....
findstr "\<GAME.*\([^,]*,[^,]*,[^,]*,[^,]*,[^,]*,.*\)" src\mame\drivers\*.c >gamelist.txt

@echo Pruning commented drivers....
findstr /v "\/\/.*GAME" gamelist.txt >gamelist2.txt
findstr /v "\/\*[^*]*GAME" gamelist2.txt >gamelist3.txt

@echo Scanning for missing entries....
for /f "delims=:,( tokens=1-4" %%i in (gamelist3.txt) do ( findstr " %%l " src\mame\mamedriv.c >nul || ( set MISSING=1 && echo %%l - %%i ) )

del gamelist.txt
del gamelist2.txt
del gamelist3.txt
goto :eof



@rem -----------------------------------------------------------
@rem 	Error messages
@rem -----------------------------------------------------------

:badenvironment
@echo This command must be executed from the directory you wish to verify.
@goto :eof

:uppercasenames
@echo Some filenames have upper-case names.
@goto :eof

:drivmissing
@echo Missing drivers found!
@goto :eof