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

Canvas name is fixed to #canvas in recent emscripten MAME #77

Open
pengan1987 opened this issue Jan 28, 2021 · 0 comments
Open

Canvas name is fixed to #canvas in recent emscripten MAME #77

pengan1987 opened this issue Jan 28, 2021 · 0 comments

Comments

@pengan1987
Copy link
Contributor

I was used #emularity-canvas as my canvas name, like this one

var emulator = new Emulator(document.querySelector("#emularity-canvas"), null, new JSMAMELoader(JSMAMELoader.driver ......

It was working fine with older wasm MAME build (about 2018 to 2019) and broken in recent emscripten build. I have to change my canvas name to #canvas to make it working. Does anyone knows why emscripten break it? And is there a workaround for it?

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

No branches or pull requests

1 participant