Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

core: Print swf version on startup, and warn when we run into avm2 #661

Merged
merged 1 commit into from
May 30, 2020

Conversation

Dinnerbone
Copy link
Contributor

This should help with the occasional issue we get about avm2 content.

@Herschel
Copy link
Member

It'd be better to grab the AVM version out of the FileAttributes tag, which will appear once as the very first tag in SWF8+. (We'll have to do this anyway to begin switching on AVM2 behavior, and to get other sandbox settings).

@Dinnerbone
Copy link
Contributor Author

Clever! Updated to use FileAttributes.

I know this wouldn't be the right place to actually read/use FileAttributes, but given the comments in #404 I don't want to blow up "simple warning on avm2 content" into a proper FileAttributes parser.

@Herschel
Copy link
Member

Thank you!

@Herschel Herschel merged commit 4c1ce6d into ruffle-rs:master May 30, 2020
@kmeisthax kmeisthax mentioned this pull request Jul 9, 2020
17 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants