-casio/pickytlk.cpp: Simplified screen update, fixed off-by-one error.

-roland/roland_sc55mk2.cpp: Removed unnecessary header.

-alba/albazg.cpp: Added Japanese title to comment for hana6pt2.
This commit is contained in:
Vas Crabb 2024-03-17 08:11:42 +11:00
parent cfc3d09e15
commit 58421f96aa
3 changed files with 10 additions and 8 deletions

View File

@ -429,7 +429,9 @@ ROM_START( yumefuda )
ROM_LOAD("zg1-007.u13", 0x000, 0x104, NO_DUMP ) // PAL
ROM_END
ROM_START( hana6pt2 ) // P0-066A PCB
// 花合せ・6 Part Ⅱ
// P0-066A PCB
ROM_START( hana6pt2 )
ROM_REGION( 0x10000, "maincpu", 0 ) // code
ROM_LOAD("zg006p11.u42", 0x00000, 0x10000, CRC(4e455ac5) SHA1(df3a327acd2eb8f566ba6b86342d8fb6f7e89560))
// u43 empty on this PCB

View File

@ -138,18 +138,18 @@ u32 pickytlk_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, c
for (int i = 0; i < 16; i++)
{
int x = 8 + i * 8;
int const x = i * 8;
for (int j = 0; j < 64; j++)
{
u8 data1 = m_display_ram[offset];
u8 data2 = m_display_ram[offset + 0x400];
u16 *const row = &bitmap.pix(63 - j);
u8 const data1 = m_display_ram[offset];
u8 const data2 = m_display_ram[offset + 0x400];
for (int b = 0; b < 8; b++)
{
bitmap.pix(63-j, x-b) = ( data1 & 0x80 ) ? ( data2 & 0x80 ? 3 : 2 ) : ( data2 & 0x80 ? 1 : 0 );
data1 <<= 1;
data2 <<= 1;
row[x + b] = (BIT(data1, b) << 1) | BIT(data2, b);
}
offset++;

View File

@ -36,7 +36,7 @@
*/
#include "emu.h"
#include "machine/ram.h"
#include "cpu/h8500/h8532.h"