summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2008-12-04 09:44:18 +0000
committer Aaron Giles <aaron@aarongiles.com>2008-12-04 09:44:18 +0000
commitec6dcfc19280db8c83b0b17ca312a7ef45bfb1cc (patch)
treeffd18cea0dc84ae43f52dbd6162bccda56ca00b3
parent8169eeefca210990fe254215c4b2f0f961d222f4 (diff)
02702: [Sound] tturf: no audio
Fixed debugger cursor positioning when scrolled.
-rw-r--r--src/mame/drivers/segas16b.c2
-rw-r--r--src/osd/windows/debugwin.c5
2 files changed, 4 insertions, 3 deletions
diff --git a/src/mame/drivers/segas16b.c b/src/mame/drivers/segas16b.c
index 79980aa6758..89d1d8c35f7 100644
--- a/src/mame/drivers/segas16b.c
+++ b/src/mame/drivers/segas16b.c
@@ -6399,7 +6399,7 @@ GAME( 1988, tetris2, tetris, system16b, tetris, generic_5704, ROT0,
GAME( 1988, tetris1, tetris, system16b, tetris, generic_5358, ROT0, "Sega", "Tetris (set 1, Japan, System 16B, FD1094 317-0091)", 0 )
GAME( 1987, timescan, 0, timescan, timescan, generic_5358, ROT270, "Sega", "Time Scanner (set 2, System 16B)", 0 )
GAME( 1994, toryumon, 0, system16b, toryumon, generic_5797, ROT0, "Sega", "Toryumon", 0 )
-GAME( 1989, tturf, 0, system16b_8751, tturf, tturf_5704, ROT0, "Sega / Sunsoft", "Tough Turf (set 2, Japan, 8751 317-0104)", 0)
+GAME( 1989, tturf, 0, system16b_8751, tturf, tturf_5704, ROT0, "Sega / Sunsoft", "Tough Turf (set 2, Japan, 8751 317-0104)", GAME_NO_SOUND /* due to missing ROM only */)
GAME( 1989, tturfu, tturf, system16b_8751, tturf, tturf_5358, ROT0, "Sega / Sunsoft", "Tough Turf (set 1, US, 8751 317-0099)", 0)
GAME( 1988, wb3, 0, system16b_8751, wb3, wb3_5704, ROT0, "Sega / Westone", "Wonder Boy III - Monster Lair (set 5, World, System 16B, 8751 317-0098)", 0 )
GAME( 1988, wb34, wb3, system16b, wb3, generic_5704, ROT0, "Sega / Westone", "Wonder Boy III - Monster Lair (set 4, Japan, System 16B, FD1094 317-0087)", 0 )
diff --git a/src/osd/windows/debugwin.c b/src/osd/windows/debugwin.c
index 6373ec26850..febf33776cb 100644
--- a/src/osd/windows/debugwin.c
+++ b/src/osd/windows/debugwin.c
@@ -1401,9 +1401,10 @@ static LRESULT CALLBACK debugwin_view_proc(HWND wnd, UINT message, WPARAM wparam
{
if (debug_view_get_cursor_supported(info->view))
{
+ debug_view_xy topleft = debug_view_get_visible_position(info->view);
debug_view_xy newpos;
- newpos.x = GET_X_LPARAM(lparam) / debug_font_width;
- newpos.y = GET_Y_LPARAM(lparam) / debug_font_height;
+ newpos.x = topleft.x + GET_X_LPARAM(lparam) / debug_font_width;
+ newpos.y = topleft.y + GET_Y_LPARAM(lparam) / debug_font_height;
debug_view_set_cursor_position(info->view, newpos);
SetFocus(wnd);
}