diff options
author | R. Belmont <rb6502@users.noreply.github.com> | 2008-12-13 16:07:47 +0000 |
---|---|---|
committer | R. Belmont <rb6502@users.noreply.github.com> | 2008-12-13 16:07:47 +0000 |
commit | 600351ca691cd5813b657cdd5344727e48a4f3a1 (patch) | |
tree | 928c179334d4de3c8001ef73a2bd36e6516bd581 /src | |
parent | a3eab20447b59e6b6ba61aed9fd95cf2e847fb9d (diff) |
[02728] Fix Kaneko "Toybox" protected games on big-endian.
Diffstat (limited to 'src')
-rw-r--r-- | src/mame/machine/kaneko16.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/machine/kaneko16.c b/src/mame/machine/kaneko16.c index 7c3dd4067b2..f3179e69265 100644 --- a/src/mame/machine/kaneko16.c +++ b/src/mame/machine/kaneko16.c @@ -666,7 +666,7 @@ void toxboy_handle_04_subcommand(running_machine* machine,UINT8 mcu_subcmd, UINT for (x=0;x<romlength;x++) { - dst[(ramdest+x)] = src[(romstart+x)]; + dst[BYTE_XOR_LE(ramdest+x)] = src[(romstart+x)]; } } |