Yekyaa- / bizhawk

Automatically exported from code.google.com/p/bizhawk
1 stars 0 forks source link

SEGA CD - Emulation crash when end of cd is reached. #277

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Insert any game with cd audio tracks (Spider man, ecco, jag xj220 as 
examples..)
2. press C on the Sega CD Boot screen to open cdplayer
3. Select Last Track and press Play

What is the expected output? What do you see instead?

During a game, when the final track is playing and finished, it is expected 
that the track loops.  Instead the emulation will crash with an exception. 
"Index was out of range" Image attached.

What version of the product are you using? On what operating system?

SVN 7888 Windows 8 64bit. Although the problem has existed since the core was 
implemented.  I should have reported it much sooner.

Please provide any additional information below.

If I encounter this issue during a game, or movie recording.  My solution was 
simply to add a fake track at the end of the .cue file.  This would not cause a 
problem to the game as the fake track would never be called, but the final game 
track would loop as it should.

That was until I found that changing the .cue can cause the movie file to 
desync!! long before where the end of disc exception was occurring.

Original issue reported on code.google.com by MThompso...@gmail.com on 5 Oct 2014 at 10:35

Attachments:

GoogleCodeExporter commented 9 years ago
I've tried different bin / cue image sources in case bad rips are being used 
but no differences to note.  discohawk doesn't help either.

Original comment by MThompso...@gmail.com on 5 Oct 2014 at 10:39

GoogleCodeExporter commented 9 years ago
Fixed in r7949.  Thanks for the report!

Original comment by goyu...@gmail.com on 7 Oct 2014 at 10:21