summaryrefslogtreecommitdiffstats
path: root/src/mess/video/bbc.c
diff options
context:
space:
mode:
authorGravatarGravatar Aaron Giles <aaron@aarongiles.com>2012-09-17 08:22:16 +0000
committerGravatarGravatar Aaron Giles <aaron@aarongiles.com>2012-09-17 08:22:16 +0000
commit3cce7e019e095296b5ce2bb45d19b1209bed961d (patch)
tree4fa76260ac2dee5878fbba70d759ba6a1d4d76bf /src/mess/video/bbc.c
parent22b4739aded17790b3f1bf31b9da8ff9e6a0860c (diff)
downloadmame-3cce7e019e095296b5ce2bb45d19b1209bed961d.tar.xz
mame-3cce7e019e095296b5ce2bb45d19b1209bed961d.zip
Memory handler normalization, part 2. Change legacy
read/write handlers to take an address_space & instead of an address_space *. Also update pretty much all other functions to take a reference where appropriate. [Aaron Giles]
Diffstat (limited to 'src/mess/video/bbc.c')
-rw-r--r--src/mess/video/bbc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mess/video/bbc.c b/src/mess/video/bbc.c
index 05ac2730f6c..e132ede0151 100644
--- a/src/mess/video/bbc.c
+++ b/src/mess/video/bbc.c
@@ -611,12 +611,12 @@ WRITE8_MEMBER(bbc_state::bbc_6845_w)
READ8_HANDLER (bbc_6845_r)
{
- mc6845_device *mc6845 = space->machine().device<mc6845_device>("mc6845");
+ mc6845_device *mc6845 = space.machine().device<mc6845_device>("mc6845");
switch (offset&1)
{
- case 0: return mc6845->status_r(*space,0); break;
- case 1: return mc6845->register_r(*space,0); break;
+ case 0: return mc6845->status_r(space,0); break;
+ case 1: return mc6845->register_r(space,0); break;
}
return 0;