Skip to content
This repository has been archived by the owner on Aug 28, 2022. It is now read-only.

Looking at the Lost Dialog of Plato in Indy 4 halts the game #16

Open
jdm opened this issue Jun 11, 2013 · 1 comment
Open

Looking at the Lost Dialog of Plato in Indy 4 halts the game #16

jdm opened this issue Jun 11, 2013 · 1 comment
Labels

Comments

@jdm
Copy link

jdm commented Jun 11, 2013

Doesn't seem to matter when you do it, but my cpu spins up to 100%.

@juj
Copy link
Owner

juj commented Jun 11, 2013

Thanks for reporting!

I can reproduce, and the crash site says:

[01:13:43.916] uncaught exception: Assertion failed: dst->format.bytesPerPixel == 1 || dst->format.bytesPerPixel == 2, at: graphics/fonts/bdf.cpp,105,virtual void Graphics::BdfFont::drawChar(Graphics::Surface *, byte, const int, const int, const uint32) const at ___assert_func@http://clb.demon.fi/html5scummvm/atlantis/atlantis.html:2280
Runtime.dynCall@http://clb.demon.fi/html5scummvm/atlantis/atlantis.html:452
Runtime.getFuncWrapper/Runtime.funcWrappers[func]@http://clb.demon.fi/html5scummvm/atlantis/atlantis.html:482
wrapper@http://clb.demon.fi/html5scummvm/atlantis/atlantis.html:3331
Browser.safeSetTimeout/<@http://clb.demon.fi/html5scummvm/atlantis/atlantis.html:1826
[01:13:44.079] uncaught exception: Assertion failed: _size < MAX_SIZE, at: ./common/stack.h,49,void Common::FixedStack<GUI::Dialog *, 10>::push(const T &) [T = GUI::Dialog *, MAX_SIZE = 10] at ___assert_func@http://clb.demon.fi/html5scummvm/atlantis/atlantis.html:2280
Runtime.dynCall@http://clb.demon.fi/html5scummvm/atlantis/atlantis.html:452
Runtime.getFuncWrapper/Runtime.funcWrappers[func]@http://clb.demon.fi/html5scummvm/atlantis/atlantis.html:482
wrapper@http://clb.demon.fi/html5scummvm/atlantis/atlantis.html:3331
Browser.safeSetTimeout/<@http://clb.demon.fi/html5scummvm/atlantis/atlantis.html:1826

This is most likely due to that the HTML5 version uses 32-bit colors instead of 16-bit colors that the native version did. 16-bit colors are not supported in the SDL implementation of Emscripten, hence the workaround. Will be looked into.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants