mirror of
https://github.com/holub/mame
synced 2025-04-24 01:11:11 +03:00
Merge pull request #5821 from fulivi/hpipc_dev7
hp_ipc: fixed a bug in 1LL3 GPU
This commit is contained in:
commit
3151dbd31b
@ -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);
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user