Mercurial > repos > blastem
comparison bindings.c @ 1980:81df9aa2de9b
Less hacky run on audio thread mode
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Sat, 09 May 2020 23:25:51 -0700 |
parents | 508522f08e4d |
children | 372625dd9590 |
comparison
equal
deleted
inserted
replaced
1979:06c25babe464 | 1980:81df9aa2de9b |
---|---|
407 #ifndef DISABLE_NUKLEAR | 407 #ifndef DISABLE_NUKLEAR |
408 if (is_nuklear_active()) { | 408 if (is_nuklear_active()) { |
409 show_pause_menu(); | 409 show_pause_menu(); |
410 } else { | 410 } else { |
411 #endif | 411 #endif |
412 current_system->request_exit(current_system); | 412 system_request_exit(current_system, 1); |
413 if (current_system->type == SYSTEM_GENESIS) { | 413 if (current_system->type == SYSTEM_GENESIS) { |
414 genesis_context *gen = (genesis_context *)current_system; | 414 genesis_context *gen = (genesis_context *)current_system; |
415 if (gen->extra) { | 415 if (gen->extra) { |
416 //TODO: More robust mechanism for detecting menu | 416 //TODO: More robust mechanism for detecting menu |
417 menu_context *menu = gen->extra; | 417 menu_context *menu = gen->extra; |