You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since this commit 6feddfa
, playing a sound in the ToNewlist transition hang AM in what appears to be an infinite loop.
this only happens after a game has been launched and you want to return to displaymenu or launch game again.
Sometime the loop stay 20-30 secs, sometime it crash AM.
This happen only when you have a filter with PlayedCount in your attract.cfg
Tested on Win7 and Win10
here is a simple test you can do to see the problem
Launch a game, exit and try to launch the game again or return to display menu, it will hang
disable TrackUsage and this not happen.
attract.cfg
display Test
layout test
romlist Atari 2600
in_cycle yes
in_menu yes
filter All
filter Favourites
rule Favourite equals 1
filter "Most Played Games"
sort_by PlayedCount
reverse_order true
rule PlayedCount not_contains 0
layout
local Sound = fe.add_sound("test.mp3" );
fe.add_transition_callback( "transition" );
function transition( ttype, var, ttime )
{
switch ( ttype )
{
case Transition.ToNewList:
Sound.playing = true;
break;
}
}
Thank you for your work
The text was updated successfully, but these errors were encountered:
amergin6699
changed the title
Bug with commit https://github.com/mickelson/attract/commit/6feddfadb8adc233dbe77c0de531c9baf016c090
Bug with commit 6feddfadb8adc233dbe77c0de531c9baf016c090
Jun 23, 2023
pcca-matrix
added a commit
to pcca-matrix/PCCA-Layout
that referenced
this issue
Mar 8, 2024
fix bug related to AM : mickelson/attract#747.
implement wheels animation with sounds for smoother transitions.
replace global fade function.
add slight delay for loading special artworks.
small fixes
Hi Mickelson,
Since this commit 6feddfa
, playing a sound in the ToNewlist transition hang AM in what appears to be an infinite loop.
this only happens after a game has been launched and you want to return to displaymenu or launch game again.
Sometime the loop stay 20-30 secs, sometime it crash AM.
This happen only when you have a filter with PlayedCount in your attract.cfg
Tested on Win7 and Win10
here is a simple test you can do to see the problem
Launch a game, exit and try to launch the game again or return to display menu, it will hang
disable TrackUsage and this not happen.
attract.cfg
layout
Thank you for your work
The text was updated successfully, but these errors were encountered: