ruffle/core
David Wendt 9f76a7b964 Ensure that `Player` always has a movie in level zero, even if no movie has been queued up yet.
There is a race condition inadvertently caused by allowing movies to be fetched in slot 0: it is possible for the player to be caught mid-load without a root movie. A lot of code assumes level 0 always exists (e.g. `levels.get(0).unwrap()`), while our initialization methods assumed no Player methods would be called until the root movie is installed. This is an unreasonable assumption, as among other things users can trigger the race condition by just playing the movie too quickly.
2020-08-01 02:35:00 -07:00
..
assets text: Add dummy implementation of device text 2019-10-07 23:23:45 -07:00
macros build(deps): bump syn from 1.0.35 to 1.0.36 2020-07-27 05:17:11 -07:00
src Ensure that `Player` always has a movie in level zero, even if no movie has been queued up yet. 2020-08-01 02:35:00 -07:00
tests avm1: Ensure we call movie constructors through Function::construct, not manually, to set __constructor__ 2020-08-01 02:33:14 -07:00
Cargo.toml build(deps): bump png from 0.16.6 to 0.16.7 2020-07-18 12:36:46 -07:00