summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/amiga.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/amiga.cpp')
-rw-r--r--src/mame/video/amiga.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mame/video/amiga.cpp b/src/mame/video/amiga.cpp
index 6521e501352..15aa9319a7d 100644
--- a/src/mame/video/amiga.cpp
+++ b/src/mame/video/amiga.cpp
@@ -124,10 +124,12 @@ PALETTE_INIT_MEMBER(amiga_state,amiga)
*
*************************************/
-void amiga_state::video_start_amiga()
+VIDEO_START_MEMBER( amiga_state, amiga )
{
+ int j;
+
/* generate tables that produce the correct playfield color for dual playfield mode */
- for (int j = 0; j < 64; j++)
+ for (j = 0; j < 64; j++)
{
int pf1pix = ((j >> 0) & 1) | ((j >> 1) & 2) | ((j >> 2) & 4);
int pf2pix = ((j >> 1) & 1) | ((j >> 2) & 2) | ((j >> 3) & 4);