summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2009-04-16 07:48:39 +0000
committer Aaron Giles <aaron@aarongiles.com>2009-04-16 07:48:39 +0000
commit25ba9bfc080743648eebe64cd8c4837731674be8 (patch)
treef85195129d9bce03eacaa7927fe6f2351902f45d
parent49bc4d3ac21bbe2069faf6702358bf4d9b25214d (diff)
Cleanups and version bump.
-rw-r--r--src/mame/drivers/roul.c26
-rw-r--r--src/mame/video/dc.c2
-rw-r--r--src/mame/video/ninjakd2.c6
-rw-r--r--src/mame/video/system1.c10
-rw-r--r--src/version.c2
5 files changed, 23 insertions, 23 deletions
diff --git a/src/mame/drivers/roul.c b/src/mame/drivers/roul.c
index 9cac3ba4dc6..130d779aeee 100644
--- a/src/mame/drivers/roul.c
+++ b/src/mame/drivers/roul.c
@@ -8,22 +8,22 @@ TO DO:
- sound
- input
-Has 36 pin Cherry master looking edge connector
+Has 36 pin Cherry master looking edge connector
-.u12 2764 stickered 1
-.u19 27256 stickered 2
-.u15 tibpal16l8-25 (checksum was 0)
-.u56 tibpal16l8-25 (checksum was 0)
-.u38 82s123
-.u53 82s123
+.u12 2764 stickered 1
+.u19 27256 stickered 2
+.u15 tibpal16l8-25 (checksum was 0)
+.u56 tibpal16l8-25 (checksum was 0)
+.u38 82s123
+.u53 82s123
-Z80 x2
-Altera Ep1810LC-45
+Z80 x2
+Altera Ep1810LC-45
20.000 MHz crystal
-video 464p10 x4 (board silcksreeend 4416)
+video 464p10 x4 (board silcksreeend 4416)
AY-3-8912A
-ROM text showed SUPER LUCKY ROULETTE LEISURE ENT
+ROM text showed SUPER LUCKY ROULETTE LEISURE ENT
*/
#include "driver.h"
@@ -75,8 +75,8 @@ static WRITE8_HANDLER( testfx_w )
/*
static READ8_HANDLER( test_r )
{
- logerror("Read unknown port $f5 at %04x\n",cpu_get_pc(space->cpu));
- return mame_rand(space->machine) & 0x00ff;
+ logerror("Read unknown port $f5 at %04x\n",cpu_get_pc(space->cpu));
+ return mame_rand(space->machine) & 0x00ff;
}
*/
diff --git a/src/mame/video/dc.c b/src/mame/video/dc.c
index 3c66b07e36f..44be32d2367 100644
--- a/src/mame/video/dc.c
+++ b/src/mame/video/dc.c
@@ -1382,7 +1382,7 @@ static TIMER_CALLBACK(hbin)
dc_sysctrl_regs[SB_ISTNRM] |= IST_HBL_IN; // H Blank-in interrupt
dc_update_interrupt_status(machine);
-// printf("hbin on scanline %d\n",scanline);
+// printf("hbin on scanline %d\n",scanline);
scanline++;
diff --git a/src/mame/video/ninjakd2.c b/src/mame/video/ninjakd2.c
index 15c5b113f00..6fe9a180a00 100644
--- a/src/mame/video/ninjakd2.c
+++ b/src/mame/video/ninjakd2.c
@@ -394,14 +394,14 @@ static void draw_sprites(running_machine* const machine, bitmap_t* const bitmap)
for (x = 0; x <= big; ++x)
{
int const tile = code ^ (x << big_xshift) ^ (y << big_yshift);
-
+
drawgfx(bitmap, gfx,
tile,
color,
flipx,flipy,
sx + 16*x, sy + 16*y,
0, TRANSPARENCY_PEN, 15);
-
+
++sprites_drawn;
if (sprites_drawn >= 96)
return;
@@ -436,7 +436,7 @@ static void erase_sprites(running_machine* const machine, bitmap_t* const bitmap
for (x = 0; x < sp_bitmap->width; ++x)
{
UINT16* const ptr = BITMAP_ADDR16(sp_bitmap, y, x);
-
+
if ( (*ptr & 0xf0) == stencil_palette ) { *ptr = 15; }
////// Before modified, clears palettes 0-B and F, and leaves C-E on screen
////// But I'm sure "Ninja Kid II" clears F, and leaves 0-E
diff --git a/src/mame/video/system1.c b/src/mame/video/system1.c
index 58d8b17fb3a..57b24a2f448 100644
--- a/src/mame/video/system1.c
+++ b/src/mame/video/system1.c
@@ -246,19 +246,19 @@ WRITE8_HANDLER( system1_sprite_collision_reset_w )
* Video RAM access
*
*************************************/
-
+
INLINE void videoram_wait_states(const device_config *cpu)
{
/* The main Z80's CPU clock is halted whenever an access to VRAM happens,
- and is only restarted by the FIXST signal, which occurs once every
- 'n' pixel clocks. 'n' is determined by the horizontal control PAL. */
+ and is only restarted by the FIXST signal, which occurs once every
+ 'n' pixel clocks. 'n' is determined by the horizontal control PAL. */
/* this assumes 4 5MHz pixel clocks per FIXST, or 8*4 20MHz CPU clocks,
- and is based on a dump of 315-5137 */
+ and is based on a dump of 315-5137 */
const UINT32 cpu_cycles_per_fixst = 4 * 4;
const UINT32 fixst_offset = 2 * 4;
UINT32 cycles_until_next_fixst = cpu_cycles_per_fixst - ((cpu_get_total_cycles(cpu) - fixst_offset) % cpu_cycles_per_fixst);
-
+
cpu_adjust_icount(cpu, -cycles_until_next_fixst);
}
diff --git a/src/version.c b/src/version.c
index 5ce619f65aa..ab13aec681d 100644
--- a/src/version.c
+++ b/src/version.c
@@ -9,4 +9,4 @@
***************************************************************************/
-const char build_version[] = "0.130u3 ("__DATE__")";
+const char build_version[] = "0.130u4 ("__DATE__")";