tier0: fix cpu freq on some arm cpu's
This commit is contained in:
parent
8200eda3ec
commit
79e83bb97f
2 changed files with 15 additions and 18 deletions
|
@ -180,6 +180,6 @@ uint64 CalculateCPUFreq()
|
|||
|
||||
return period;
|
||||
#endif
|
||||
return (uint64)0;
|
||||
return (uint64)2000000000;
|
||||
}
|
||||
|
||||
|
|
3
wscript
3
wscript
|
@ -271,12 +271,9 @@ def configure(conf):
|
|||
if conf.options.OPUS or conf.env.DEST_OS == 'android':
|
||||
projects['game'] += ['engine/voice_codecs/opus']
|
||||
|
||||
if conf.env.DEST_OS in ['win32', 'linux', 'darwin'] and conf.env.DEST_CPU in ['x86_64', 'amd64']:
|
||||
conf.env.BIT32_MANDATORY = not conf.options.ALLOW64
|
||||
if conf.env.BIT32_MANDATORY:
|
||||
Logs.info('WARNING: will build engine for 32-bit target')
|
||||
else:
|
||||
conf.env.BIT32_MANDATORY = False
|
||||
|
||||
conf.load('force_32bit')
|
||||
|
||||
|
|
Loading…
Reference in a new issue