02702: [Sound] tturf: no audio

Fixed debugger cursor positioning when scrolled.
This commit is contained in:
Aaron Giles 2008-12-04 09:44:18 +00:00
parent 8169eeefca
commit ec6dcfc192
2 changed files with 4 additions and 3 deletions

View File

@ -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( 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( 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( 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( 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, 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 ) 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 )

View File

@ -1401,9 +1401,10 @@ static LRESULT CALLBACK debugwin_view_proc(HWND wnd, UINT message, WPARAM wparam
{ {
if (debug_view_get_cursor_supported(info->view)) if (debug_view_get_cursor_supported(info->view))
{ {
debug_view_xy topleft = debug_view_get_visible_position(info->view);
debug_view_xy newpos; debug_view_xy newpos;
newpos.x = GET_X_LPARAM(lparam) / debug_font_width; newpos.x = topleft.x + GET_X_LPARAM(lparam) / debug_font_width;
newpos.y = GET_Y_LPARAM(lparam) / debug_font_height; newpos.y = topleft.y + GET_Y_LPARAM(lparam) / debug_font_height;
debug_view_set_cursor_position(info->view, newpos); debug_view_set_cursor_position(info->view, newpos);
SetFocus(wnd); SetFocus(wnd);
} }