aboutsummaryrefslogtreecommitdiff
path: root/source/clip.c
diff options
context:
space:
mode:
authortwinaphex2017-08-14 08:06:11 +0200
committertwinaphex2017-08-14 08:06:11 +0200
commit78b32e05a8e3c221279ba40c8f19d762420be8a6 (patch)
tree522343d835ca7eec5ebae18c20ec35ac768250be /source/clip.c
parent75dbfcb2348fb8f41feb5b9b1536d8525a47f9e3 (diff)
downloadsnes9x2005-78b32e05a8e3c221279ba40c8f19d762420be8a6.tar.gz
snes9x2005-78b32e05a8e3c221279ba40c8f19d762420be8a6.tar.bz2
snes9x2005-78b32e05a8e3c221279ba40c8f19d762420be8a6.zip
C++ comments need to become C
Diffstat (limited to 'source/clip.c')
-rw-r--r--source/clip.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source/clip.c b/source/clip.c
index 7cafc10..cc0f48b 100644
--- a/source/clip.c
+++ b/source/clip.c
@@ -41,18 +41,18 @@ void ComputeClipWindows()
ClipData* pClip = &IPPU.Clip [0];
int32_t c, w, i;
- // Loop around the main screen then the sub-screen.
+ /* Loop around the main screen then the sub-screen. */
for (c = 0; c < 2; c++, pClip++)
{
- // Loop around the colour window then a clip window for each of the
- // background layers.
+ /* Loop around the colour window then a clip window for each of the
+ * background layers. */
for (w = 5; w >= 0; w--)
{
pClip->Count[w] = 0;
- if (w == 5) // The colour window...
+ if (w == 5) /* The colour window... */
{
- if (c == 0) // ... on the main screen
+ if (c == 0) /* ... on the main screen */
{
if ((Memory.FillRAM [0x2130] & 0xc0) == 0xc0)
{
@@ -629,5 +629,5 @@ Clip_ok:;
}
} // if (w == 5 || pClip->Count [5] ...
} // for (w...
- } // for (c...
+ } /* for (c... */
}