diff options
author | 2019-10-29 10:22:02 -0400 | |
---|---|---|
committer | 2019-10-29 10:22:02 -0400 | |
commit | 3151dbd31b1eebce1bce6f8780e3afe90def0cfd (patch) | |
tree | a628271f815d650128419bc22cef1e2cb1aa81f4 /src | |
parent | 65745d0e767de5cb035fb19c8da079f56ea03e38 (diff) | |
parent | 1e81ccd7b6d6a2de304272f4f91640b43a59d257 (diff) |
Merge pull request #5821 from fulivi/hpipc_dev7
hp_ipc: fixed a bug in 1LL3 GPU
Diffstat (limited to 'src')
-rw-r--r-- | src/devices/video/hp1ll3.cpp | 4 | ||||
-rw-r--r-- | src/mame/drivers/hp_ipc.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/video/hp1ll3.cpp b/src/devices/video/hp1ll3.cpp index 5394e2145fd..e376aa48b1f 100644 --- a/src/devices/video/hp1ll3.cpp +++ b/src/devices/video/hp1ll3.cpp @@ -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); diff --git a/src/mame/drivers/hp_ipc.cpp b/src/mame/drivers/hp_ipc.cpp index 5d268fa82fd..024a0dbc41e 100644 --- a/src/mame/drivers/hp_ipc.cpp +++ b/src/mame/drivers/hp_ipc.cpp @@ -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) |