From ec7f1939e78840dd0c45fba84a87b74555f7f59f Mon Sep 17 00:00:00 2001 From: Michael Liebmann Date: Tue, 23 Aug 2016 21:21:42 +0200 Subject: [PATCH] CImageInfoNI::paint_NET_Info: Fix max_bit for hd2 hardware Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/2dbf038ebae9f30e94e53ad86d91878be849d222 Author: Michael Liebmann Date: 2016-08-23 (Tue, 23 Aug 2016) --- src/gui/imageinfo_ni.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/gui/imageinfo_ni.cpp b/src/gui/imageinfo_ni.cpp index 8131971a3..f1e82ee0a 100644 --- a/src/gui/imageinfo_ni.cpp +++ b/src/gui/imageinfo_ni.cpp @@ -49,6 +49,7 @@ #include #include #include +#include #include @@ -809,7 +810,9 @@ void CImageInfoNI::paint_NET_Info(int posx, int posy) * 104857600 Bit */ #ifdef BOXMODEL_APOLLO - int max_bit = 1073741824; + int max_bit = 104857600; /* Shiner, Kronos */ + if (cs_get_revision() == 9) + max_bit = 1073741824; /* Apollo */ #else int max_bit = 104857600; #endif