diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2014-09-27 00:51:17 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2014-09-27 00:51:17 +0200 |
commit | c3f704dbb7bf86883ea121dc703b36e46756bdf2 (patch) | |
tree | 51b0af93ddbd3c0119bd1bbb64079ded16568ed9 | |
parent | 2229536858acf1b995ee23bb85196a870473d573 (diff) |
freepie: goddamn hell
-rw-r--r-- | ftnoir_tracker_freepie-udp/ftnoir_tracker_freepie-udp.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ftnoir_tracker_freepie-udp/ftnoir_tracker_freepie-udp.cpp b/ftnoir_tracker_freepie-udp/ftnoir_tracker_freepie-udp.cpp index 9fd9b08f..deea6c7c 100644 --- a/ftnoir_tracker_freepie-udp/ftnoir_tracker_freepie-udp.cpp +++ b/ftnoir_tracker_freepie-udp/ftnoir_tracker_freepie-udp.cpp @@ -39,7 +39,7 @@ void TrackerImpl::run() { unsigned char bytes[2]; }; bool convertp; - check() : bytes { 255, 0 }, convertp(half > 255) {} + check() : bytes { 0, 255 }, convertp(half > 255) {} } crapola; if (should_quit) @@ -80,7 +80,7 @@ void TrackerImpl::run() { constexpr int sz = sizeof(float[6]); const int len = sz / 2; unsigned char* alias = reinterpret_cast<unsigned char*>(orient); - for (int i = 0; i < sz; i++) + for (int i = 0; i < len; i++) alias[i] = alias[sz-i]; } |