remove unexplained commented out code that I added myself with the last PR

* remove unexplained commented out code that I added myself
* revert asmjit settings change that was meant to only be local for me
This commit is contained in:
Peter Tissen 2014-06-09 02:51:55 +02:00
parent bd6837f2f9
commit e85abdeb2c
16 changed files with 5 additions and 215 deletions

View file

@ -110,15 +110,12 @@ void Module::UnLoad()
bool Module::Load(u32 id)
{
//std::lock_guard<std::mutex> lock(g_funcs_lock);
if(Emu.GetModuleManager().IsLoadedFunc(id)) return false;
for(u32 i=0; i<m_funcs_list.size(); ++i)
{
if(m_funcs_list[i]->id == id)
{
//g_modules_funcs_list.push_back(m_funcs_list[i]);
Emu.GetModuleManager().AddFunc(m_funcs_list[i]);
return true;
}