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); }