aboutsummaryrefslogtreecommitdiff
path: root/source/port.h
diff options
context:
space:
mode:
authorJoão Silva2017-08-14 06:03:05 +0100
committerJoão Silva2017-08-14 06:03:05 +0100
commit5e450063fbe25926ae50d569c285db428055318a (patch)
treed0dd772a589dbfa07bacd70207fc4db0f37d4109 /source/port.h
parentfdaf2925f1353b07cd957ae47b0e6793648559be (diff)
downloadsnes9x2005-5e450063fbe25926ae50d569c285db428055318a.tar.gz
snes9x2005-5e450063fbe25926ae50d569c285db428055318a.tar.bz2
snes9x2005-5e450063fbe25926ae50d569c285db428055318a.zip
Deleted several unused variables, code and files.
Diffstat (limited to 'source/port.h')
-rw-r--r--source/port.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/source/port.h b/source/port.h
index 3d96509..dfd08f1 100644
--- a/source/port.h
+++ b/source/port.h
@@ -54,8 +54,7 @@ void _splitpath(const char* path, char* drive, char* dir, char* fname, char* ext
#define SLASH_STR "/"
#define SLASH_CHAR '/'
-#if defined(__i386__) || defined(__i486__) || defined(__i586__) || \
- defined(__WIN32__) || defined(__alpha__)
+#if defined(__i386__) || defined(__i486__) || defined(__i586__) || defined(__WIN32__) || defined(__alpha__)
#define FAST_LSB_WORD_ACCESS
#elif defined(__MIPSEL__)
// On little-endian MIPS, a 16-bit word can be read directly from an address
@@ -88,12 +87,12 @@ static INLINE int32_t _isqrt(int32_t val)
remainder -= (squaredbit | root);
root >>= 1;
root |= squaredbit;
- } else
+ }
+ else
root >>= 1;
squaredbit >>= 2;
}
return root;
}
-
#endif