diff options
Diffstat (limited to 'src/emu/video.c')
-rw-r--r-- | src/emu/video.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/emu/video.c b/src/emu/video.c index bdb7aee3fbe..64ae41af1d7 100644 --- a/src/emu/video.c +++ b/src/emu/video.c @@ -2735,8 +2735,8 @@ int video_get_view_for_target(running_machine *machine, render_target *target, c ***************************************************************************/ /*------------------------------------------------- - video_assert_out_of_range_pixels - assert if - any pixels in the given bitmap contain an + video_assert_out_of_range_pixels - assert if + any pixels in the given bitmap contain an invalid palette index -------------------------------------------------*/ @@ -2745,11 +2745,11 @@ void video_assert_out_of_range_pixels(running_machine *machine, bitmap_t *bitmap #ifdef MAME_DEBUG int maxindex = palette_get_max_index(machine->palette); int x, y; - + /* this only applies to indexed16 bitmaps */ if (bitmap->format != BITMAP_FORMAT_INDEXED16) return; - + /* iterate over rows */ for (y = 0; y < bitmap->height; y++) { |