summaryrefslogtreecommitdiffstats
path: root/noatun-plugins/synaescope
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2020-01-30 20:17:40 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-01-30 20:17:40 +0900
commit57ef93c0c479addaa00d9a0cb9ba627dc8599fc5 (patch)
treedffa54e004224aa825f2159330b735345fbcd572 /noatun-plugins/synaescope
parentc75b807cca6bd83ae536655ca17a13fcaf0ad1c9 (diff)
downloadtdeaddons-57ef93c0c479addaa00d9a0cb9ba627dc8599fc5.tar.gz
tdeaddons-57ef93c0c479addaa00d9a0cb9ba627dc8599fc5.zip
Removed explicit usage of the 'register' keyword.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'noatun-plugins/synaescope')
-rw-r--r--noatun-plugins/synaescope/core.cpp4
-rw-r--r--noatun-plugins/synaescope/sdlwrap.cpp10
2 files changed, 7 insertions, 7 deletions
diff --git a/noatun-plugins/synaescope/core.cpp b/noatun-plugins/synaescope/core.cpp
index 56ff9c9..e21c796 100644
--- a/noatun-plugins/synaescope/core.cpp
+++ b/noatun-plugins/synaescope/core.cpp
@@ -119,7 +119,7 @@ void Core::addPixelFast(unsigned char *p,int br1,int br2)
void Core::fadeFade()
{
- register unsigned long *ptr = (unsigned long*)output();
+ unsigned long *ptr = (unsigned long*)output();
int i = outWidth*outHeight*2/4;
do {
//Bytewize version was: *(ptr++) -= *ptr+(*ptr>>1)>>4;
@@ -306,7 +306,7 @@ bool Core::calculate()
int clarity[NumSamples]; //Surround sound
int i,j,k;
#ifndef LITTLEENDIAN
- register sampleType temp;
+ sampleType temp;
#endif
diff --git a/noatun-plugins/synaescope/sdlwrap.cpp b/noatun-plugins/synaescope/sdlwrap.cpp
index dc7ff63..f40d384 100644
--- a/noatun-plugins/synaescope/sdlwrap.cpp
+++ b/noatun-plugins/synaescope/sdlwrap.cpp
@@ -150,19 +150,19 @@ void SdlScreen::show()
{
SDL_LockSurface(surface);
- register unsigned long *ptr2 = (unsigned long*)core->output();
+ unsigned long *ptr2 = (unsigned long*)core->output();
unsigned long *ptr1 = (unsigned long*)( surface->pixels );
int i = core->outWidth*core->outHeight/4;
do {
// Asger Alstrup Nielsen's (alstrup@diku.dk)
// optimized 32 bit screen loop
- register unsigned int const r1 = *(ptr2++);
- register unsigned int const r2 = *(ptr2++);
+ unsigned int const r1 = *(ptr2++);
+ unsigned int const r2 = *(ptr2++);
//if (r1 || r2) {
#ifdef LITTLEENDIAN
- register unsigned int const v =
+ unsigned int const v =
((r1 & 0x000000f0ul) >> 4)
| ((r1 & 0x0000f000ul) >> 8)
| ((r1 & 0x00f00000ul) >> 12)
@@ -173,7 +173,7 @@ void SdlScreen::show()
| ((r2 & 0x00f00000ul) << 4)
| ((r2 & 0xf0000000ul)));
#else
- register unsigned int const v =
+ unsigned int const v =
((r2 & 0x000000f0ul) >> 4)
| ((r2 & 0x0000f000ul) >> 8)
| ((r2 & 0x00f00000ul) >> 12)