summaryrefslogtreecommitdiffstatshomepage
path: root/.gitattributes
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2010-08-01 21:04:03 +0000
committer Aaron Giles <aaron@aarongiles.com>2010-08-01 21:04:03 +0000
commitfe47da274ec3305f787cc8fbd6c23cb868a18551 (patch)
treec1cb1ca69ae2090ca090f3ef6e62b9aaf60ae3aa /.gitattributes
parentfdf30b568e7addcf355c557b446f9c55d0a04f1e (diff)
Return to type safety. Changed address maps back into functions that build
up the definition, rather than the whole tokenizing system, which lost type checking. Added a new module addrmap.c which implements the address map classes, and changed the macros to call methods on the address_map and address_map_entry classes which are strongly typed. Fixed a few incorrectly specified memory map entries along the way. Please double-check to make sure the behavior is expected in: twincobr.c, lordgun.c, galaxold.c. This change also means that since the address_maps are now constructor functions, they are detected when not used, so a number of #ifdef UNUSED_CODE were added around dangling address map definitions. Also included with this change: - removed cputag_clocks_to_attotime() and cputag_attotime_to_clocks() in favor of just expanding the class - same for cputag_suspend() and cputag_resume()
Diffstat (limited to '.gitattributes')
-rw-r--r--.gitattributes2
1 files changed, 2 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
index 3eeb65e5185..760fdda6900 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -9,6 +9,8 @@ src/build/build.mak svneol=native#text/plain
src/build/file2str.c svneol=native#text/plain
src/build/png2bdc.c svneol=native#text/plain
src/build/verinfo.c svneol=native#text/plain
+src/emu/addrmap.c svneol=native#text/plain
+src/emu/addrmap.h svneol=native#text/plain
src/emu/attotime.c svneol=native#text/plain
src/emu/attotime.h svneol=native#text/plain
src/emu/audio/generic.c svneol=native#text/plain