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

emscripten_set_main_loop_timing #2794

Closed
summerock opened this Issue Nov 12, 2017 · 2 comments

Comments

Projects
None yet
2 participants
@summerock
Copy link

summerock commented Nov 12, 2017

I'm trying to compile the emscripten js for cps3, but when i run it on the browser i keep getting the follow error:

emscripten_set_main_loop_timing: Cannot set timing mode for main loop since a main loop does not exist! Call emscripten_set_main_loop first to set one up.

Does anyone know how to fix it? I'm only getting it for CPS3. Thanks.

@DopefishJustin

This comment has been minimized.

Copy link
Member

DopefishJustin commented Nov 13, 2017

I am able to reproduce this. Haven't had time to look into the cause yet but CPS3 uses a DRC CPU core which has tended to cause problems with Emscripten builds in the past.

DopefishJustin added a commit that referenced this issue Jul 15, 2018

@DopefishJustin

This comment has been minimized.

Copy link
Member

DopefishJustin commented Jul 15, 2018

The loop timing error is just a symptom of the emulation having crashed. The crash is fixed with 370a411 although to actually run a CPS3 game I had to compile with a larger memory size by adding ARCHOPTS="-s TOTAL_MEMORY=536870912" to the make command. Hopefully there will be a better way of dealing with that at some point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.