Merge pull request #5821 from fulivi/hpipc_dev7

hp_ipc: fixed a bug in 1LL3 GPU
This commit is contained in:
R. Belmont 2019-10-29 10:22:02 -04:00 committed by GitHub
commit 3151dbd31b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -539,10 +539,10 @@ bool hp1ll3_device::bitblt(uint16_t src_base_addr, unsigned src_width, unsigned
dst_rect.origin.x, dst_rect.origin.y, dst_rect.size.x, dst_rect.size.y,
rop));
int src_x = src_p.x;
int dst_x = dst_rect.origin.x;
int dst_x = static_cast<int16_t>(dst_rect.origin.x);
int dst_width = dst_rect.size.x;
int src_y = src_p.y;
int dst_y = dst_rect.origin.y;
int dst_y = static_cast<int16_t>(dst_rect.origin.y);
int dst_height = dst_rect.size.y;
// Clip x-coordinates
clip_coord(src_width, src_x, clip_rect.origin.x, clip_rect.size.x, dst_x, dst_width);

View File

@ -856,5 +856,5 @@ ROM_END
#define rom_hp9808a rom_hp_ipc
// YEAR NAME PARENT COMPAT MACHINE INPUT CLASS INIT COMPANY FULLNAME FLAGS
COMP( 1985, hp_ipc, 0, 0, hp_ipc, hp_ipc, hp_ipc_state, empty_init, "Hewlett-Packard", "Integral Personal Computer 9807A", MACHINE_NO_SOUND | MACHINE_IMPERFECT_GRAPHICS)
COMP( 1985, hp_ipc, 0, 0, hp_ipc, hp_ipc, hp_ipc_state, empty_init, "Hewlett-Packard", "Integral Personal Computer 9807A", MACHINE_NO_SOUND)
COMP( 1985, hp9808a, 0, 0, hp9808a, hp_ipc, hp_ipc_state, empty_init, "Hewlett-Packard", "Integral Personal Computer 9808A", MACHINE_NOT_WORKING)