Kill emulation_thread, nothing uses it

This commit is contained in:
Ilari Liusvaara 2014-06-04 19:37:32 +03:00
parent bf00f42e0a
commit fc8484f984

View file

@ -83,8 +83,6 @@ namespace
ADVANCE_BREAK_PAUSE, //Break pause. ADVANCE_BREAK_PAUSE, //Break pause.
}; };
//Our thread.
threads::id emulation_thread;
//Flags related to repeating advance. //Flags related to repeating advance.
bool advanced_once; bool advanced_once;
bool cancel_advance; bool cancel_advance;
@ -1221,7 +1219,6 @@ void main_loop(struct loaded_rom& rom, struct moviefile& initial, bool load_has_
mywindowcallbacks mywcb(*core.dispatch); mywindowcallbacks mywcb(*core.dispatch);
core.iqueue->system_thread_available = true; core.iqueue->system_thread_available = true;
//Basic initialization. //Basic initialization.
emulation_thread = threads::this_id();
jukebox_size_listener jlistener(*core.settings); jukebox_size_listener jlistener(*core.settings);
core.commentary->init(); core.commentary->init();
core.fbuf->init_special_screens(); core.fbuf->init_special_screens();