Skip to content

Commit 16544be

Browse files
committed
Cleaned up a few more things.
1 parent 950d6ea commit 16544be

File tree

4 files changed

+12
-14
lines changed

4 files changed

+12
-14
lines changed

hash/duelmast_cart.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ license:CC0-1.0
1313
<!-- only the single known cart exists for this system -->
1414

1515
<software name="ver1" supported="no">
16-
<description>Duel Masters: Duel Station Ver.1</description>
16+
<description>Duel Masters: Duel Station Senyō Cartridge Ver.1</description>
1717
<year>2003</year>
1818
<publisher>Takara</publisher>
1919
<info name="alt_title" value="デュエルマスターズ デュエルステーション専用カートリッジ Ver.1" />

src/devices/bus/heathzenith/h89/h89bus.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,15 +189,15 @@ h89bus::addr_ranges device_heath_io_decoder_interface::scan_io_decoder_rom(u8 se
189189
}
190190
else if (found)
191191
{
192-
ranges.push_back(std::make_pair(first, last));
192+
ranges.emplace_back(first, last);
193193
found = false;
194194
}
195195
}
196196

197197
// make sure to include any ranges that extend to the end.
198198
if (found)
199199
{
200-
ranges.push_back(std::make_pair(first, last));
200+
ranges.emplace_back(first, last);
201201
}
202202

203203
return ranges;

src/mame/philips/mcd212.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -661,12 +661,10 @@ void mcd212_device::mix_lines(uint32_t *plane_a, bool *transparent_a, uint32_t *
661661
uint8_t *weight_b = &m_weight_factor[1][0];
662662

663663
// Console Verified. CLUT4 pixels are drawn in pairs during VSR. So the mosaic here is halved.
664-
if (icmA == ICM_CLUT4) {
664+
if (icmA == ICM_CLUT4)
665665
mosaic_count_a >>= 1;
666-
}
667-
if (icmB == ICM_CLUT4) {
666+
if (icmB == ICM_CLUT4)
668667
mosaic_count_b >>= 1;
669-
}
670668

671669
for (int x = 0; x < width; x++)
672670
{

src/mame/sanritsu/bankp.cpp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -529,15 +529,15 @@ void bankp_state::bankp(machine_config &config)
529529
// Video timing
530530
// PCB measured: H = 15.61khz V = 60.99hz, +/- 0.01hz
531531
// --> VTOTAL should be OK, HTOTAL not 100% certain
532-
static constexpr XTAL PIXEL_CLOCK = 15.46848_MHz_XTAL / 3;
532+
constexpr XTAL PIXEL_CLOCK = 15.46848_MHz_XTAL / 3;
533533

534-
static constexpr int HTOTAL = 330;
535-
static constexpr int HBEND = 0 + 3 * 8;
536-
static constexpr int HBSTART = 224 + 3 * 8;
534+
constexpr int HTOTAL = 330;
535+
constexpr int HBEND = 0 + 3 * 8;
536+
constexpr int HBSTART = 224 + 3 * 8;
537537

538-
static constexpr int VTOTAL = 256;
539-
static constexpr int VBEND = 0 + 2 * 8;
540-
static constexpr int VBSTART = 224 + 2 * 8;
538+
constexpr int VTOTAL = 256;
539+
constexpr int VBEND = 0 + 2 * 8;
540+
constexpr int VBSTART = 224 + 2 * 8;
541541

542542
// basic machine hardware
543543
Z80(config, m_maincpu, 15.46848_MHz_XTAL / 6);

0 commit comments

Comments
 (0)