カテゴリ 重要度 ステータス 解決状況 登録日時 最終更新
システムコア解決済み修正済み2012-05-21 00:562022-11-05 18:56
 
テスターFirewave担当者 ソースatari/tourtabl.cpp
バージョン0.145u8発生バージョン修正バージョン
修正コミットプルリク
フラグ
セット tourtabl, tourtab2
セット詳細
tourtab2 - トーナメントテーブル (set 2)
tourtabl - トーナメントテーブル (set 1)
 
概 要src/mame/video/tia.cでスタック不良が起こる。
詳 細The Visual Studio run-time checks reports a stack corruption around the variables "linePF" and "lineBL" in tia_video_device::update_bitmap(). The problem is, that collision_check() will be called with a negative value of "x2", which is the "next_x" parameter passed into the function. The actual values of x2 until the corruption are 34, 49, 88, 103, 160, -29.

I think the problem lies in this check at the beginning of the function.

if (prev_y >= next_y && prev_x >= next_x)
{
	return;
}


When the corruption occures we have the following values:

prev_y = 0
next_y = 1
prev_x = 103
next_x = -29


It needs to handle the increment of the y.
再現手順 
追加情報 
 
添付ファイル