mirror of https://github.com/PCSX2/pcsx2.git
Quick fix on the last commit for Linux.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2206 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
af7bb73948
commit
4ab6a9846e
|
@ -33,7 +33,7 @@ void CountLogicalCores( int LogicalCoresPerPhysicalCPU, int PhysicalCoresPerPhys
|
|||
const uint numCPU = sysconf( _SC_NPROCESSORS_ONLN );
|
||||
if( numCPU > 0 )
|
||||
{
|
||||
isMultiCore = numCPU > 1;
|
||||
//isMultiCore = numCPU > 1;
|
||||
x86caps.LogicalCores = numCPU;
|
||||
x86caps.PhysicalCores = ( numCPU / LogicalCoresPerPhysicalCPU ) * PhysicalCoresPerPhysicalCPU;
|
||||
}
|
||||
|
@ -59,4 +59,4 @@ bool _test_instruction( void* pfnCall )
|
|||
|
||||
// Not implemented yet for linux (see cpudetect_internal.h for details)
|
||||
SingleCoreAffinity::SingleCoreAffinity() {}
|
||||
SingleCoreAffinity::~SingleCoreAffinity() throw() {}
|
||||
SingleCoreAffinity::~SingleCoreAffinity() throw() {}
|
||||
|
|
|
@ -26,7 +26,7 @@ __aligned16 x86CPU_INFO x86caps;
|
|||
# include <errno.h>
|
||||
#endif
|
||||
|
||||
static char* bool_to_char( bool testcond )
|
||||
static const char* bool_to_char( bool testcond )
|
||||
{
|
||||
return testcond ? "true" : "false";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue