Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
08305 Crash/Freeze Critical (emulator) Always Apr 26, 2022, 21:55 Apr 28, 2022, 13:22
Tester Tafoid View Status Public Platform MAME (Self-compiled)
Assigned To AJR Resolution Fixed OS Windows Vista/7/8 (64-bit)
Status [?] Resolved Driver x68k.cpp
Version 0.242 Fixed in Version 0.244 Build Debug
Fixed in Git Commit 1f00541 Github Pull Request #
Summary MESS-specific 08305: All machines in x68k.cpp: [debug] Assertion failed
Description
Assertion failed: vpos >= 0, file R:/mame/src/emu/screen.cpp, line 1572
Steps To Reproduce
Additional Information
Github Commit
Flags Debug build specific
Regression Version 0.233
Affected Sets / Systems All machines in x68k.cpp
Attached Files
 
Relationships
There are no relationship linked to this issue.
Notes
1
User avatar
No.20100
Robbbert
Developer
Apr 28, 2022, 08:15
edited on: Apr 28, 2022, 09:00
The problem is in src/mame/video/x68k_crtc.cpp line 370.

It uses (data - 1), but when data == 0, it causes the assert.

If (data - 1) is changed to data it works, but there must have been a reason for the -1. Leaving this to the author.

Seems the bug was added in https://github.com/mamedev/mame/commit/daf27a573e5141f42561c9f33b2f94fa431f2a99