diff options
author | 2009-12-21 23:26:32 +0000 | |
---|---|---|
committer | 2009-12-21 23:26:32 +0000 | |
commit | 2434ce3faba76ee63a8a074883bf72978982d5ee (patch) | |
tree | d00bcb6a46ca0f0fe5e74e7fb1ba5d54394bb5d3 /src/emu/mame.h | |
parent | 2fd263c18b4697eb7b1ff14364445ae604964496 (diff) |
Eliminated the use of generic.colorram and generic.videoram in several drivers [Atari Ace]
---------- Forwarded message ----------
From: Atari Ace <atari_ace@verizon.net>
Date: Mon, Dec 14, 2009 at 5:43 AM
Subject: [patch] Eliminate generic.colorram
To: submit@mamedev.org
Cc: atariace@hotmail.com
Hi mamedev,
generic.colorram and generic.videoram are unused by the MAME core, and
are simply slots convenient for driver use. As such, the drivers are
better off using their own driver_data slots for these. To discourage
further use of colorram, this patch eliminates all current uses of it,
and the uses of videoram as well in the affected drivers. This is
partially a retrograde step, since ideally we'd like to introduce the
driver_data structs as well for these drivers, but eliminating
colorram and disentangling the various uses of generic makes it on the
balance an improvement IMHO.
~aa
Diffstat (limited to 'src/emu/mame.h')
-rw-r--r-- | src/emu/mame.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/emu/mame.h b/src/emu/mame.h index 5b65ed87168..22537879529 100644 --- a/src/emu/mame.h +++ b/src/emu/mame.h @@ -165,8 +165,6 @@ struct _generic_pointers UINT32 nvram_size; generic_ptr videoram; /* videoram */ UINT32 videoram_size; - generic_ptr colorram; /* color ram */ - UINT32 colorram_size; generic_ptr spriteram; /* spriteram */ UINT32 spriteram_size; generic_ptr spriteram2; /* secondary spriteram */ |