Adding benchmark and starting to fix warnings
This commit is contained in:
parent
8a236980bf
commit
df999066a3
|
@ -91,7 +91,7 @@ double Options::getNum(const std::string &name, double def)
|
|||
double result;
|
||||
if (!has(name))
|
||||
return def;
|
||||
if (sscanf(m_data[name].c_str(), "%f", &result) != 1)
|
||||
if (sscanf(m_data[name].c_str(), "%lf", &result) != 1)
|
||||
result = def;
|
||||
return result;
|
||||
}
|
||||
|
|
|
@ -41,7 +41,7 @@ quickerNESCoreSrc = [
|
|||
# quickerNES Core Configuration
|
||||
|
||||
quickerNESCoreDependency = declare_dependency(
|
||||
compile_args : [ '-Wfatal-errors','-Wall' ],
|
||||
compile_args : [ '-Wfatal-errors', '-Wall', '-Wno-multichar' ],
|
||||
include_directories : include_directories(['source', 'source/core', 'extern']),
|
||||
sources : [ quickerNESCoreSrc, 'extern/metrohash128/metrohash128.cpp' ]
|
||||
)
|
||||
|
|
|
@ -4,11 +4,14 @@
|
|||
#ifndef BLARGG_CONFIG_H
|
||||
#define BLARGG_CONFIG_H
|
||||
|
||||
#ifndef HAVE_STDINT_H
|
||||
#define HAVE_STDINT_H
|
||||
#endif
|
||||
|
||||
// Use standard config.h if present
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
|
||||
#endif
|
||||
|
|
|
@ -0,0 +1,70 @@
|
|||
gitBranch=`git branch --show-current`
|
||||
gitCommit=`git rev-parse HEAD`
|
||||
|
||||
echo "Git revision: ${gitBranch}:${gitCommit}"
|
||||
|
||||
echo "Getting system information"
|
||||
lscpu
|
||||
lsmem
|
||||
echo "Running Tests sequentially..."
|
||||
|
||||
pushd arkanoid
|
||||
tester warps.test
|
||||
tester warpless.test
|
||||
popd
|
||||
|
||||
pushd ninjaGaiden2
|
||||
tester pacifist.test
|
||||
tester anyPercent.test
|
||||
popd
|
||||
|
||||
pushd superOffroad
|
||||
tester anyPercent.test
|
||||
popd
|
||||
|
||||
pushd nigelMansell
|
||||
tester anyPercent.test
|
||||
popd
|
||||
|
||||
pushd castlevania1
|
||||
tester pacifist.test
|
||||
tester anyPercent.test
|
||||
popd
|
||||
|
||||
pushd saintSeiyaKanketsuHen
|
||||
tester anyPercent.test
|
||||
popd
|
||||
|
||||
pushd tennis
|
||||
tester anyPercent.test
|
||||
popd
|
||||
|
||||
pushd superMarioBros
|
||||
tester warps.test
|
||||
tester warpless.test
|
||||
popd
|
||||
|
||||
pushd ninjaGaiden
|
||||
tester pacifist.test
|
||||
tester anyPercent.test
|
||||
popd
|
||||
|
||||
pushd ironSword
|
||||
tester anyPercent.test
|
||||
popd
|
||||
|
||||
pushd saintSeiyaOugonDensetsu
|
||||
tester anyPercent.test
|
||||
popd
|
||||
|
||||
pushd princeOfPersia
|
||||
tester lvl7.test
|
||||
popd
|
||||
|
||||
pushd solarJetman
|
||||
tester anyPercent.test
|
||||
popd
|
||||
|
||||
pushd galaga
|
||||
tester anyPercent.test
|
||||
popd
|
Loading…
Reference in New Issue