summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2019-09-24 02:45:41 +1000
committer Vas Crabb <vas@vastheman.com>2019-09-24 02:45:41 +1000
commitedec6b6d9e8fd684a5c3eea2cdb39a2b0ee29c38 (patch)
tree29c44ab3912662533c825a38dc6e248d0bd534cf /src
parenteca800a23fa5e01c1676d9ff28ea5b614bf644ef (diff)
(nw) restore zero offsets in regions where more than one ROM file is loaded, and remove a few zero offsets from disk regions and regions loading a single ROM file
Diffstat (limited to 'src')
-rw-r--r--src/mame/drivers/deco_mlc.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mame/drivers/deco_mlc.cpp b/src/mame/drivers/deco_mlc.cpp
index 4aaafca563a..d08332b6db9 100644
--- a/src/mame/drivers/deco_mlc.cpp
+++ b/src/mame/drivers/deco_mlc.cpp
@@ -923,17 +923,17 @@ void deco_mlc_state::descramble_sound( )
for (u32 x = 0; x < length; x++)
{
const u32 addr = bitswap<24>(x,
- 23,22,21,0, 20,
- 19,18,17,16,
- 15,14,13,12,
- 11,10,9, 8,
- 7, 6, 5, 4,
- 3, 2, 1 );
+ 23,22,21, 0,20,
+ 19,18,17,16,
+ 15,14,13,12,
+ 11,10, 9, 8,
+ 7, 6, 5, 4,
+ 3, 2, 1);
buf[addr] = rom[x];
}
- std::copy(buf.begin(),buf.end(),&rom[0]);
+ std::copy(buf.begin(), buf.end(), &rom[0]);
}
READ32_MEMBER(deco_mlc_state::avengrgs_speedup_r)