summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/tatsumi.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/tatsumi.cpp')
-rw-r--r--src/mame/video/tatsumi.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mame/video/tatsumi.cpp b/src/mame/video/tatsumi.cpp
index 9bb7ec54231..09abc3408ca 100644
--- a/src/mame/video/tatsumi.cpp
+++ b/src/mame/video/tatsumi.cpp
@@ -884,14 +884,17 @@ offset is from last pixel of first road segment?
if (endPos<0)
{
+ // end of left intersection (taking right turn)
samplePos=step*(0-startPos);
}
else if (endPos<x)
{
+ // start of right intersection
samplePos=step*(x-endPos);
}
else
{
+ // end of right intersection (taking right turn)
samplePos=0; // todo
}