summaryrefslogtreecommitdiffstats
path: root/noatun-plugins/synaescope/sdlwrap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'noatun-plugins/synaescope/sdlwrap.cpp')
-rw-r--r--noatun-plugins/synaescope/sdlwrap.cpp10
1 files changed, 5 insertions, 5 deletions
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)