mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-26 22:38:34 +00:00
Fix shader cache bugs, improving linux speed. Remove some unnecessary printfs.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@153 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
c8c1d2d905
commit
9626b3bc42
14 changed files with 49 additions and 87 deletions
|
@ -86,7 +86,7 @@ bool DynamicLibrary::Load(const char* filename)
|
|||
if (library) {
|
||||
library_file = filename;
|
||||
}
|
||||
return(library != 0);
|
||||
return library != 0;
|
||||
}
|
||||
|
||||
|
||||
|
@ -121,14 +121,14 @@ void* DynamicLibrary::Get(const char* funcname) const
|
|||
//PanicAlert("Did not find function %s in library %s.", funcname, library_file.c_str());
|
||||
//}
|
||||
|
||||
return(retval);
|
||||
return retval;
|
||||
|
||||
#else
|
||||
retval = dlsym(library, funcname);
|
||||
|
||||
if (!retval)
|
||||
{
|
||||
printf("%s\n", dlerror());
|
||||
printf("Symbol %s missing in %s (error: %s)\n", funcname, library_file.c_str(), dlerror());
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue