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:
arcum42 2009-11-16 14:08:53 +00:00
parent af7bb73948
commit 4ab6a9846e
2 changed files with 3 additions and 3 deletions

View File

@ -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() {}

View File

@ -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";
}