From c079744bf7fc2d927cb02b339c385fe9e12a29a1 Mon Sep 17 00:00:00 2001 From: Angelo Salese Date: Tue, 10 May 2016 17:32:22 +0200 Subject: [PATCH] OCD comment fix, nw --- src/mame/machine/raiden2cop.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mame/machine/raiden2cop.cpp b/src/mame/machine/raiden2cop.cpp index 0190e691043..435f4f62880 100644 --- a/src/mame/machine/raiden2cop.cpp +++ b/src/mame/machine/raiden2cop.cpp @@ -1369,7 +1369,7 @@ void raiden2cop_device::execute_8100(address_space &space, int offset, UINT16 da double angle = raw_angle * M_PI / 128; double amp = (65536 >> 5)*(cop_read_word(space, cop_regs[0] + (0x36)) & 0xff); int res; - /* TODO: up direction needs double, why? */ + // TODO: up direction needs to be doubled, happens on bootleg too, why is that? if (raw_angle == 0xc0) amp *= 2; res = int(amp*sin(angle)) << cop_scale; @@ -1386,7 +1386,7 @@ void raiden2cop_device::execute_8900(address_space &space, int offset, UINT16 da double angle = raw_angle * M_PI / 128; double amp = (65536 >> 5)*(cop_read_word(space, cop_regs[0] + (0x36)) & 0xff); int res; - /* TODO: up direction needs double, why? */ + // TODO: left direction needs to be doubled, happens on bootleg too, why is that? if (raw_angle == 0x80) amp *= 2; res = int(amp*cos(angle)) << cop_scale;