summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/video
diff options
context:
space:
mode:
authorGravatarGravatar Vas Crabb <vas@vastheman.com>2019-11-24 13:52:11 +1100
committerGravatarGravatar Vas Crabb <vas@vastheman.com>2019-11-24 13:52:11 +1100
commite64edf6c7127fb8291a157026f3ac72e38c78d80 (patch)
tree092564456a138ad98775b989ea6073e4c75a7abd /src/devices/video
parent6e8748952730a23a507c415c92398205238d1367 (diff)
srcclean and indentation cleanup (nw)
Diffstat (limited to 'src/devices/video')
-rw-r--r--src/devices/video/bt45x.cpp2
-rw-r--r--src/devices/video/ppu2c0x_vt.cpp2
-rw-r--r--src/devices/video/snes_ppu.cpp16
-rw-r--r--src/devices/video/snes_ppu.h2
4 files changed, 11 insertions, 11 deletions
diff --git a/src/devices/video/bt45x.cpp b/src/devices/video/bt45x.cpp
index 5f7dc2ae2e3..5b159c5a1c7 100644
--- a/src/devices/video/bt45x.cpp
+++ b/src/devices/video/bt45x.cpp
@@ -37,7 +37,7 @@
#include "bt45x.h"
#define LOG_READS (1U << 0)
-#define LOG_WRITES (1U << 1)
+#define LOG_WRITES (1U << 1)
#define VERBOSE (0)
diff --git a/src/devices/video/ppu2c0x_vt.cpp b/src/devices/video/ppu2c0x_vt.cpp
index 5e46f84ed0f..c91092d9ec1 100644
--- a/src/devices/video/ppu2c0x_vt.cpp
+++ b/src/devices/video/ppu2c0x_vt.cpp
@@ -19,7 +19,7 @@
DEFINE_DEVICE_TYPE(PPU_VT03, ppu_vt03_device, "ppu_vt03", "VT03 PPU (NTSC)")
DEFINE_DEVICE_TYPE(PPU_VT03PAL, ppu_vt03pal_device, "ppu_vt03pal", "VT03 PPU (PAL)")
-ppu_vt03_device::ppu_vt03_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock) :
+ppu_vt03_device::ppu_vt03_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock) :
ppu2c0x_device(mconfig, type, tag, owner, clock),
m_is_pal(false),
m_is_50hz(false),
diff --git a/src/devices/video/snes_ppu.cpp b/src/devices/video/snes_ppu.cpp
index 5230fdff8d1..da628720c3a 100644
--- a/src/devices/video/snes_ppu.cpp
+++ b/src/devices/video/snes_ppu.cpp
@@ -1611,13 +1611,13 @@ uint8_t snes_ppu_device::read_object( uint16_t address )
{
uint8_t n = (address & 0x1f) << 2;
return (BIT(m_objects[n + 0].x, 8) << 0) |
- (BIT(m_objects[n + 1].x, 8) << 2) |
- (BIT(m_objects[n + 2].x, 8) << 4) |
- (BIT(m_objects[n + 3].x, 8) << 6) |
- (m_objects[n + 0].size << 1) |
- (m_objects[n + 1].size << 3) |
- (m_objects[n + 2].size << 5) |
- (m_objects[n + 3].size << 7);
+ (BIT(m_objects[n + 1].x, 8) << 2) |
+ (BIT(m_objects[n + 2].x, 8) << 4) |
+ (BIT(m_objects[n + 3].x, 8) << 6) |
+ (m_objects[n + 0].size << 1) |
+ (m_objects[n + 1].size << 3) |
+ (m_objects[n + 2].size << 5) |
+ (m_objects[n + 3].size << 7);
}
}
@@ -1746,7 +1746,7 @@ uint16_t snes_ppu_device::direct_color(uint16_t palette, uint16_t group)
void snes_ppu_device::set_current_vert(uint16_t value)
{
- m_beam.current_vert = value;
+ m_beam.current_vert = value;
}
void snes_ppu_device::cache_background()
diff --git a/src/devices/video/snes_ppu.h b/src/devices/video/snes_ppu.h
index 31f2b99af64..0906526d6db 100644
--- a/src/devices/video/snes_ppu.h
+++ b/src/devices/video/snes_ppu.h
@@ -73,7 +73,7 @@ public:
m_interlace = 1;
m_oam.interlace = 0;
}
- void set_current_vert(uint16_t value);
+ void set_current_vert(uint16_t value);
protected:
/* offset-per-tile modes */