2022-06-29 19:11 ftp://ftp.de.debian.org/debian/pool/main/m/mednafen/mednafen_1.29.0+dfsg.orig.tar.xz cppcheck-options: --library=posix --library=gnu --showtime=top5 --check-library --inconclusive --enable=style,information --inline-suppr --template=daca2 -D__GNUC__ --platform=unix64 -rp=temp -j1 platform: Linux-4.4.0-19041-Microsoft-x86_64-with-glibc2.29 python: 3.8.10 client-version: 1.3.25 compiler: g++ (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0 cppcheck: head 2.8 head-info: 06b408e (2022-06-29 13:43:17 +0200) count: 3972 3867 elapsed-time: 829.8 842.5 head-timing-info: Tokenizer::simplifyTokens1: 784.625s (avg. 1.25741s - 624 result(s)) Tokenizer::simplifyTokens1::ValueFlow: 634.406s (avg. 1.02988s - 616 result(s)) Tokenizer::simplifyTokens1::createSymbolDatabase: 129.734s (avg. 0.210608s - 616 result(s)) Condition::runChecks: 12.4531s (avg. 0.0202161s - 616 result(s)) Other::runChecks: 7.64062s (avg. 0.0124036s - 616 result(s)) Overall time: 1591s old-timing-info: Tokenizer::simplifyTokens1: 802.797s (avg. 1.28653s - 624 result(s)) Tokenizer::simplifyTokens1::ValueFlow: 644.562s (avg. 1.04637s - 616 result(s)) Tokenizer::simplifyTokens1::createSymbolDatabase: 138.281s (avg. 0.224483s - 616 result(s)) Condition::runChecks: 12.3438s (avg. 0.0200386s - 616 result(s)) Other::runChecks: 7.6875s (avg. 0.0124797s - 616 result(s)) Overall time: 1626.39s head results: mednafen/intl/bindtextdom.c:232:12: style: Local variable 'len' shadows outer variable [shadowVariable] mednafen/intl/bindtextdom.c:204:14: note: Shadowed declaration mednafen/intl/bindtextdom.c:232:12: note: Shadow variable mednafen/intl/bindtextdom.c:261:15: style: Local variable 'len' shadows outer variable [shadowVariable] mednafen/intl/bindtextdom.c:204:14: note: Shadowed declaration mednafen/intl/bindtextdom.c:261:15: note: Shadow variable mednafen/intl/dcigettext.c:857:19: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] mednafen/intl/dcigettext.c:642:14: style: Obsolescent function 'getwd' called. It is recommended to use 'getcwd' instead. [prohibitedgetwdCalled] mednafen/intl/dcigettext.c:691:39: style: Redundant condition: If 'EXPR == ':'', the comparison 'EXPR != '\0'' is always true. [redundantCondition] mednafen/intl/dcigettext.c:487:25: style:inconclusive: Function 'libintl_dcigettext' argument 1 names different: declaration '__domainname' definition 'domainname'. [funcArgNamesDifferent] mednafen/intl/gettextP.h:80:46: note: Function 'libintl_dcigettext' argument 1 names different: declaration '__domainname' definition 'domainname'. mednafen/intl/dcigettext.c:487:25: note: Function 'libintl_dcigettext' argument 1 names different: declaration '__domainname' definition 'domainname'. mednafen/intl/dcigettext.c:487:49: style:inconclusive: Function 'libintl_dcigettext' argument 2 names different: declaration '__msgid1' definition 'msgid1'. [funcArgNamesDifferent] mednafen/intl/gettextP.h:81:18: note: Function 'libintl_dcigettext' argument 2 names different: declaration '__msgid1' definition 'msgid1'. mednafen/intl/dcigettext.c:487:49: note: Function 'libintl_dcigettext' argument 2 names different: declaration '__msgid1' definition 'msgid1'. mednafen/intl/dcigettext.c:487:69: style:inconclusive: Function 'libintl_dcigettext' argument 3 names different: declaration '__msgid2' definition 'msgid2'. [funcArgNamesDifferent] mednafen/intl/gettextP.h:81:40: note: Function 'libintl_dcigettext' argument 3 names different: declaration '__msgid2' definition 'msgid2'. mednafen/intl/dcigettext.c:487:69: note: Function 'libintl_dcigettext' argument 3 names different: declaration '__msgid2' definition 'msgid2'. mednafen/intl/dcigettext.c:488:10: style:inconclusive: Function 'libintl_dcigettext' argument 4 names different: declaration '__plural' definition 'plural'. [funcArgNamesDifferent] mednafen/intl/gettextP.h:82:10: note: Function 'libintl_dcigettext' argument 4 names different: declaration '__plural' definition 'plural'. mednafen/intl/dcigettext.c:488:10: note: Function 'libintl_dcigettext' argument 4 names different: declaration '__plural' definition 'plural'. mednafen/intl/dcigettext.c:488:36: style:inconclusive: Function 'libintl_dcigettext' argument 5 names different: declaration '__n' definition 'n'. [funcArgNamesDifferent] mednafen/intl/gettextP.h:82:38: note: Function 'libintl_dcigettext' argument 5 names different: declaration '__n' definition 'n'. mednafen/intl/dcigettext.c:488:36: note: Function 'libintl_dcigettext' argument 5 names different: declaration '__n' definition 'n'. mednafen/intl/dcigettext.c:488:43: style:inconclusive: Function 'libintl_dcigettext' argument 6 names different: declaration '__category' definition 'category'. [funcArgNamesDifferent] mednafen/intl/gettextP.h:83:10: note: Function 'libintl_dcigettext' argument 6 names different: declaration '__category' definition 'category'. mednafen/intl/dcigettext.c:488:43: note: Function 'libintl_dcigettext' argument 6 names different: declaration '__category' definition 'category'. mednafen/intl/tsearch.c:184:8: style: Local variable 'root' shadows outer variable [shadowVariable] mednafen/intl/dcigettext.c:277:14: note: Shadowed declaration mednafen/intl/tsearch.c:184:8: note: Shadow variable mednafen/intl/tsearch.c:284:12: style: Local variable 'root' shadows outer variable [shadowVariable] mednafen/intl/dcigettext.c:277:14: note: Shadowed declaration mednafen/intl/tsearch.c:284:12: note: Shadow variable mednafen/intl/tsearch.c:345:12: style: Local variable 'root' shadows outer variable [shadowVariable] mednafen/intl/dcigettext.c:277:14: note: Shadowed declaration mednafen/intl/tsearch.c:345:12: note: Shadow variable mednafen/intl/tsearch.c:370:8: style: Local variable 'root' shadows outer variable [shadowVariable] mednafen/intl/dcigettext.c:277:14: note: Shadowed declaration mednafen/intl/tsearch.c:370:8: note: Shadow variable mednafen/intl/tsearch.c:620:14: style: Local variable 'root' shadows outer variable [shadowVariable] mednafen/intl/dcigettext.c:277:14: note: Shadowed declaration mednafen/intl/tsearch.c:620:14: note: Shadow variable mednafen/intl/tsearch.c:643:14: style: Local variable 'root' shadows outer variable [shadowVariable] mednafen/intl/dcigettext.c:277:14: note: Shadowed declaration mednafen/intl/tsearch.c:643:14: note: Shadow variable mednafen/intl/finddomain.c:61:30: style:inconclusive: Function '_nl_find_domain' argument 1 names different: declaration '__dirname' definition 'dirname'. [funcArgNamesDifferent] mednafen/intl/gettextP.h:257:54: note: Function '_nl_find_domain' argument 1 names different: declaration '__dirname' definition 'dirname'. mednafen/intl/finddomain.c:61:30: note: Function '_nl_find_domain' argument 1 names different: declaration '__dirname' definition 'dirname'. mednafen/intl/finddomain.c:61:45: style:inconclusive: Function '_nl_find_domain' argument 2 names different: declaration '__locale' definition 'locale'. [funcArgNamesDifferent] mednafen/intl/gettextP.h:257:71: note: Function '_nl_find_domain' argument 2 names different: declaration '__locale' definition 'locale'. mednafen/intl/finddomain.c:61:45: note: Function '_nl_find_domain' argument 2 names different: declaration '__locale' definition 'locale'. mednafen/intl/finddomain.c:62:16: style:inconclusive: Function '_nl_find_domain' argument 3 names different: declaration '__domainname' definition 'domainname'. [funcArgNamesDifferent] mednafen/intl/gettextP.h:258:19: note: Function '_nl_find_domain' argument 3 names different: declaration '__domainname' definition 'domainname'. mednafen/intl/finddomain.c:62:16: note: Function '_nl_find_domain' argument 3 names different: declaration '__domainname' definition 'domainname'. mednafen/intl/finddomain.c:62:44: style:inconclusive: Function '_nl_find_domain' argument 4 names different: declaration '__domainbinding' definition 'domainbinding'. [funcArgNamesDifferent] mednafen/intl/gettextP.h:259:23: note: Function '_nl_find_domain' argument 4 names different: declaration '__domainbinding' definition 'domainbinding'. mednafen/intl/finddomain.c:62:44: note: Function '_nl_find_domain' argument 4 names different: declaration '__domainbinding' definition 'domainbinding'. mednafen/intl/loadmsgcat.c:861:12: style: The comparison 'data == (struct mo_file_header*)-1' is always true because 'data' and '(struct mo_file_header*)-1' represent the same value. [knownConditionTrueFalse] mednafen/intl/loadmsgcat.c:791:33: note: 'data' is assigned value '(struct mo_file_header*)-1' here. mednafen/intl/loadmsgcat.c:861:12: note: The comparison 'data == (struct mo_file_header*)-1' is always true because 'data' and '(struct mo_file_header*)-1' represent the same value. mednafen/intl/loadmsgcat.c:780:42: style:inconclusive: Function '_nl_load_domain' argument 1 names different: declaration '__domain' definition 'domain_file'. [funcArgNamesDifferent] mednafen/intl/gettextP.h:261:47: note: Function '_nl_load_domain' argument 1 names different: declaration '__domain' definition 'domain_file'. mednafen/intl/loadmsgcat.c:780:42: note: Function '_nl_load_domain' argument 1 names different: declaration '__domain' definition 'domain_file'. mednafen/intl/loadmsgcat.c:781:20: style:inconclusive: Function '_nl_load_domain' argument 2 names different: declaration '__domainbinding' definition 'domainbinding'. [funcArgNamesDifferent] mednafen/intl/gettextP.h:262:25: note: Function '_nl_load_domain' argument 2 names different: declaration '__domainbinding' definition 'domainbinding'. mednafen/intl/loadmsgcat.c:781:20: note: Function '_nl_load_domain' argument 2 names different: declaration '__domainbinding' definition 'domainbinding'. mednafen/intl/localcharset.c:440:14: style: Condition 'locale==NULL' is always true [knownConditionTrueFalse] mednafen/intl/localcharset.c:431:24: note: Assignment 'locale=NULL', assigned value is 0 mednafen/intl/localcharset.c:440:14: note: Condition 'locale==NULL' is always true mednafen/intl/localealias.c:175:41: error: Uninitialized variable: &item.value [uninitvar] plural.c:1160:5: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] plural.c:1416:15: style: Condition 'yyn==0' is always true [knownConditionTrueFalse] plural.c:1413:16: note: Assignment 'yyn=yytable[yyn]', assigned value is greater than -1 plural.c:1414:11: note: Assuming that condition 'yyn<=0' is not redundant plural.c:1416:15: note: Condition 'yyn==0' is always true plural.y:156:21: style: Same expression on both sides of '-'. [duplicateExpression] plural.y:158:52: style: Same expression on both sides of '-'. [duplicateExpression] plural.y:164:96: style: Same expression on both sides of '-'. [duplicateExpression] plural.y:172:71: style: Same expression on both sides of '-'. [duplicateExpression] plural.y:180:72: style: Same expression on both sides of '-'. [duplicateExpression] plural.y:188:89: style: Same expression on both sides of '-'. [duplicateExpression] plural.y:196:89: style: Same expression on both sides of '-'. [duplicateExpression] plural.y:204:89: style: Same expression on both sides of '-'. [duplicateExpression] plural.y:212:89: style: Same expression on both sides of '-'. [duplicateExpression] plural.y:220:48: style: Same expression on both sides of '-'. [duplicateExpression] plural.y:237:42: style: Same expression on both sides of '-'. [duplicateExpression] mednafen/src/ExtMemStream.h:64:7: style:inconclusive: Technically the member function 'Mednafen::ExtMemStream::grow_if_necessary' can be const. [functionConst] mednafen/src/ExtMemStream.cpp:68:27: note: Technically the member function 'Mednafen::ExtMemStream::grow_if_necessary' can be const. mednafen/src/ExtMemStream.h:64:7: note: Technically the member function 'Mednafen::ExtMemStream::grow_if_necessary' can be const. mednafen/src/ExtMemStream.h:52:15: style: Virtual function 'close' is called from destructor '~ExtMemStream()' at line 43. Dynamic binding is not used. [virtualCallInConstructor] mednafen/src/ExtMemStream.cpp:43:2: note: Calling close mednafen/src/ExtMemStream.h:52:15: note: close is a virtual function mednafen/src/ExtMemStream.cpp:31:61: style: C-style pointer casting [cstyleCast] mednafen/src/ExtMemStream.cpp:36:67: style: C-style pointer casting [cstyleCast] mednafen/src/FileStream.h:78:15: style: Virtual function 'close' is called from constructor 'FileStream(const std::string&path,const uint32 mode,const int do_lock=false,const uint32 buffer_size=4096)' at line 154. Dynamic binding is not used. [virtualCallInConstructor] mednafen/src/FileStream.cpp:154:10: note: Calling close mednafen/src/FileStream.h:78:15: note: close is a virtual function mednafen/src/FileStream.h:73:15: style: Virtual function 'truncate' is called from constructor 'FileStream(const std::string&path,const uint32 mode,const int do_lock=false,const uint32 buffer_size=4096)' at line 163. Dynamic binding is not used. [virtualCallInConstructor] mednafen/src/FileStream.cpp:163:4: note: Calling truncate mednafen/src/FileStream.h:73:15: note: truncate is a virtual function mednafen/src/FileStream.h:78:15: style: Virtual function 'close' is called from constructor 'FileStream(const std::string&path,const uint32 mode,const int do_lock=false,const uint32 buffer_size=4096)' at line 167. Dynamic binding is not used. [virtualCallInConstructor] mednafen/src/FileStream.cpp:167:10: note: Calling close mednafen/src/FileStream.h:78:15: note: close is a virtual function mednafen/src/FileStream.h:78:15: style: Virtual function 'close' is called from destructor '~FileStream()' at line 184. Dynamic binding is not used. [virtualCallInConstructor] mednafen/src/FileStream.cpp:184:3: note: Calling close mednafen/src/FileStream.h:78:15: note: close is a virtual function mednafen/src/FileStream.cpp:254:9: style: C-style pointer casting [cstyleCast] mednafen/src/FileStream.cpp:289:20: style: C-style pointer casting [cstyleCast] mednafen/src/FileStream.cpp:322:20: style: C-style pointer casting [cstyleCast] mednafen/src/FileStream.cpp:388:27: style: C-style pointer casting [cstyleCast] mednafen/src/FileStream.cpp:431:20: style: C-style pointer casting [cstyleCast] mednafen/src/FileStream.cpp:447:14: style: Variable 'tmp_data' is assigned a value that is never used. [unreadVariable] mednafen/src/IPSPatcher.cpp:55:7: style: Condition '!patch_size' is always true [knownConditionTrueFalse] mednafen/src/IPSPatcher.cpp:50:6: note: Assuming that condition '!patch_size' is not redundant mednafen/src/IPSPatcher.cpp:55:7: note: Condition '!patch_size' is always true mednafen/src/MTStreamReader.h:37:2: style: Class 'MTStreamReader' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mednafen/src/MTStreamReader.cpp:58:10: style: C-style pointer casting [cstyleCast] mednafen/src/MemoryStream.cpp:41:2: performance: Variable 'data_buffer_size' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/MemoryStream.cpp:42:2: performance: Variable 'data_buffer_alloced' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/MemoryStream.cpp:121:2: performance: Variable 'data_buffer_size' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/MemoryStream.cpp:122:2: performance: Variable 'data_buffer_alloced' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/MemoryStream.h:138:7: performance:inconclusive: Technically the member function 'Mednafen::MemoryStream::mswin_utf8_convert_kludge' can be static (but you may consider moving to unnamed namespace). [functionStatic] mednafen/src/MemoryStream.cpp:370:20: note: Technically the member function 'Mednafen::MemoryStream::mswin_utf8_convert_kludge' can be static (but you may consider moving to unnamed namespace). mednafen/src/MemoryStream.h:138:7: note: Technically the member function 'Mednafen::MemoryStream::mswin_utf8_convert_kludge' can be static (but you may consider moving to unnamed namespace). mednafen/src/MemoryStream.h:69:15: style: Virtual function 'close' is called from destructor '~MemoryStream()' at line 158. Dynamic binding is not used. [virtualCallInConstructor] mednafen/src/MemoryStream.cpp:158:2: note: Calling close mednafen/src/MemoryStream.h:69:15: note: close is a virtual function mednafen/src/MemoryStream.h:42:2: style: Class 'MemoryStream' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mednafen/src/MemoryStream.h:43:2: style: Class 'MemoryStream' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mednafen/src/MemoryStream.cpp:43:7: error: Common realloc mistake: 'data_buffer' nulled but not freed upon failure [memleakOnRealloc] mednafen/src/MemoryStream.cpp:65:7: error: Common realloc mistake: 'data_buffer' nulled but not freed upon failure [memleakOnRealloc] mednafen/src/MemoryStream.h:87:14: style: C-style pointer casting [cstyleCast] mednafen/src/MemoryStream.h:89:20: style: C-style pointer casting [cstyleCast] mednafen/src/MemoryStream.h:116:21: style: C-style pointer casting [cstyleCast] mednafen/src/MemoryStream.cpp:43:21: style: C-style pointer casting [cstyleCast] mednafen/src/MemoryStream.cpp:65:21: style: C-style pointer casting [cstyleCast] mednafen/src/MemoryStream.cpp:101:18: style: C-style pointer casting [cstyleCast] mednafen/src/MemoryStream.cpp:123:21: style: C-style pointer casting [cstyleCast] mednafen/src/MemoryStream.cpp:203:27: style: C-style pointer casting [cstyleCast] mednafen/src/MemoryStream.cpp:228:21: style: C-style pointer casting [cstyleCast] mednafen/src/NativeVFS.cpp:89:0: error: #error "mkdir() missing?!" [preprocessorErrorDirective] mednafen/src/types.h:10:0: error: #error "Wrong include order for types.h" [preprocessorErrorDirective] mednafen/src/Stream.cpp:58:50: error: Invalid read() argument nr 3. A non-boolean value is required. [invalidFunctionArgBool] mednafen/src/Stream.cpp:83:57: error: Invalid read() argument nr 3. A non-boolean value is required. [invalidFunctionArgBool] mednafen/src/Stream.cpp:109:94: error: Invalid read() argument nr 3. A non-boolean value is required. [invalidFunctionArgBool] mednafen/src/Stream.cpp:253:28: error: Invalid read() argument nr 3. A non-boolean value is required. [invalidFunctionArgBool] mednafen/src/Stream.cpp:278:44: error: Invalid read() argument nr 3. A non-boolean value is required. [invalidFunctionArgBool] mednafen/src/Stream.cpp:106:23: style: C-style pointer casting [cstyleCast] mednafen/src/Stream.cpp:131:29: style: C-style pointer casting [cstyleCast] mednafen/src/Stream.cpp:144:23: style: C-style pointer casting [cstyleCast] mednafen/src/Stream.cpp:165:23: style: C-style pointer casting [cstyleCast] mednafen/src/Stream.cpp:209:35: style:inconclusive: Function 'put_line' argument 1 names different: declaration 's' definition 'str'. [funcArgNamesDifferent] mednafen/src/Stream.h:236:28: note: Function 'put_line' argument 1 names different: declaration 's' definition 'str'. mednafen/src/Stream.cpp:209:35: note: Function 'put_line' argument 1 names different: declaration 's' definition 'str'. mednafen/src/VirtualFS.cpp:186:17: error: Invalid mkdir() argument nr 2. A non-boolean value is required. [invalidFunctionArgBool] mednafen/src/apple2/apple2.cpp:281:40: style:inconclusive: Boolean expression 'LangRAMPrevA1' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] mednafen/src/apple2/apple2.cpp:281:72: style:inconclusive: Boolean expression '(bool)(A&1)' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] mednafen/src/apple2/apple2.cpp:282:33: style:inconclusive: Boolean expression '(bool)(A&1)' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] mednafen/src/apple2/notes/matrix-back.cpp:223:9: style: Variable 'b' is assigned a value that is never used. [unreadVariable] mednafen/src/apple2/notes/matrix.cpp:318:8: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] mednafen/src/cdplay/cdplay.cpp:175:18: warning: Either the condition 'adr<=0x3' is redundant or the array 'SubQBuf[3][12]' is accessed at index 3, which is out of bounds. [arrayIndexOutOfBoundsCond] mednafen/src/cdplay/cdplay.cpp:174:10: note: Assuming that condition 'adr<=0x3' is not redundant mednafen/src/cdplay/cdplay.cpp:172:21: note: Assignment to 'adr=sq[0]&0xF' mednafen/src/cdplay/cdplay.cpp:172:13: note: adr is assigned 'sq[0]&0xF' here. mednafen/src/cdplay/cdplay.cpp:175:18: note: Array index out of bounds mednafen/src/cdplay/cdplay.cpp:68:3: performance: Variable 'track' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/cdplay/cdplay.cpp:69:3: performance: Variable 'lba' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/cdplay/cdplay.cpp:70:3: performance: Variable 'final_lba' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/cdplay/cdplay.cpp:323:56: style: C-style pointer casting [cstyleCast] mednafen/src/cdrom/CDAFReader.cpp:54:30: debug: Wrong data detected by condition !tok->next()->astOperand2() [DacaWrongData] mednafen/src/cdrom/CDAFReader_FLAC.cpp:45:13: style:inconclusive: Technically the member function 'Mednafen::CDAFReader_FLAC::eof_cb' can be const. [functionConst] mednafen/src/cdrom/CDAFReader_FLAC.cpp:131:36: note: Technically the member function 'Mednafen::CDAFReader_FLAC::eof_cb' can be const. mednafen/src/cdrom/CDAFReader_FLAC.cpp:45:13: note: Technically the member function 'Mednafen::CDAFReader_FLAC::eof_cb' can be const. mednafen/src/cdrom/CDAFReader_FLAC.cpp:47:7: performance:inconclusive: Technically the member function 'Mednafen::CDAFReader_FLAC::metadata_cb' can be static (but you may consider moving to unnamed namespace). [functionStatic] mednafen/src/cdrom/CDAFReader_FLAC.cpp:182:30: note: Technically the member function 'Mednafen::CDAFReader_FLAC::metadata_cb' can be static (but you may consider moving to unnamed namespace). mednafen/src/cdrom/CDAFReader_FLAC.cpp:47:7: note: Technically the member function 'Mednafen::CDAFReader_FLAC::metadata_cb' can be static (but you may consider moving to unnamed namespace). mednafen/src/cdrom/CDAFReader_FLAC.cpp:48:7: performance:inconclusive: Technically the member function 'Mednafen::CDAFReader_FLAC::error_cb' can be static (but you may consider moving to unnamed namespace). [functionStatic] mednafen/src/cdrom/CDAFReader_FLAC.cpp:187:30: note: Technically the member function 'Mednafen::CDAFReader_FLAC::error_cb' can be static (but you may consider moving to unnamed namespace). mednafen/src/cdrom/CDAFReader_FLAC.cpp:48:7: note: Technically the member function 'Mednafen::CDAFReader_FLAC::error_cb' can be static (but you may consider moving to unnamed namespace). mednafen/src/cdrom/CDAFReader_FLAC.cpp:34:2: style: Class 'CDAFReader_FLAC' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mednafen/src/cdrom/CDAFReader_FLAC.cpp:306:25: style: Condition 'decbuf_read_offs==decbuf_size' is always true [knownConditionTrueFalse] mednafen/src/cdrom/CDAFReader_FLAC.cpp:301:23: note: Assuming that condition 'decbuf_read_offs==decbuf_size' is not redundant mednafen/src/cdrom/CDAFReader_FLAC.cpp:306:25: note: Condition 'decbuf_read_offs==decbuf_size' is always true mednafen/src/cdrom/CDAFReader_FLAC.cpp:313:25: style: Condition 'decbuf_read_offs==decbuf_size' is always true [knownConditionTrueFalse] mednafen/src/cdrom/CDAFReader_FLAC.cpp:301:23: note: Assuming that condition 'decbuf_read_offs==decbuf_size' is not redundant mednafen/src/cdrom/CDAFReader_FLAC.cpp:313:25: note: Condition 'decbuf_read_offs==decbuf_size' is always true mednafen/src/cdrom/CDAFReader_FLAC.cpp:195:10: style: C-style pointer casting [cstyleCast] mednafen/src/cdrom/CDAFReader_FLAC.cpp:200:10: style: C-style pointer casting [cstyleCast] mednafen/src/cdrom/CDAFReader_FLAC.cpp:205:10: style: C-style pointer casting [cstyleCast] mednafen/src/cdrom/CDAFReader_FLAC.cpp:210:10: style: C-style pointer casting [cstyleCast] mednafen/src/cdrom/CDAFReader_FLAC.cpp:215:10: style: C-style pointer casting [cstyleCast] mednafen/src/cdrom/CDAFReader_FLAC.cpp:220:10: style: C-style pointer casting [cstyleCast] mednafen/src/cdrom/CDAFReader_FLAC.cpp:225:10: style: C-style pointer casting [cstyleCast] mednafen/src/cdrom/CDAFReader_FLAC.cpp:230:10: style: C-style pointer casting [cstyleCast] mednafen/src/cdrom/CDAFReader_MPC.cpp:39:2: style: Class 'CDAFReader_MPC' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mednafen/src/cdrom/CDAFReader_MPC.cpp:60:15: style: C-style pointer casting [cstyleCast] mednafen/src/cdrom/CDAFReader_MPC.cpp:74:15: style: C-style pointer casting [cstyleCast] mednafen/src/cdrom/CDAFReader_MPC.cpp:89:15: style: C-style pointer casting [cstyleCast] mednafen/src/cdrom/CDAFReader_MPC.cpp:103:15: style: C-style pointer casting [cstyleCast] mednafen/src/cdrom/CDAFReader_MPC.cpp:134:16: style: C-style pointer casting [cstyleCast] mednafen/src/cdrom/CDAFReader_MPC.cpp:169:19: style: C-style pointer casting [cstyleCast] mednafen/src/cdrom/CDAFReader_PCM.cpp:32:2: style: Class 'CDAFReader_PCM' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mednafen/src/cdrom/CDAFReader_Vorbis.cpp:38:2: style: Class 'CDAFReader_Vorbis' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mednafen/src/cdrom/CDAFReader_Vorbis.cpp:53:15: style: C-style pointer casting [cstyleCast] mednafen/src/cdrom/CDAFReader_Vorbis.cpp:70:15: style: C-style pointer casting [cstyleCast] mednafen/src/cdrom/CDAFReader_Vorbis.cpp:85:15: style: C-style pointer casting [cstyleCast] mednafen/src/cdrom/CDAFReader_Vorbis.cpp:100:15: style: C-style pointer casting [cstyleCast] mednafen/src/cdrom/CDAFReader_Vorbis.cpp:140:18: style: C-style pointer casting [cstyleCast] mednafen/src/cdrom/CDAFReader_Vorbis.cpp:146:35: style: C-style pointer casting [cstyleCast] mednafen/src/cdrom/CDAFReader_Vorbis.cpp:151:12: style: C-style pointer casting [cstyleCast] mednafen/src/cdrom/CDAccess_Image.h:72:15: style: The function 'Read_Raw_Sector' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/cdrom/CDAccess.h:37:15: note: Virtual function in base class mednafen/src/cdrom/CDAccess_Image.h:72:15: note: Function in derived class mednafen/src/cdrom/CDAccess_Image.h:74:15: style: The function 'Fast_Read_Raw_PW_TSRE' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/cdrom/CDAccess.h:43:15: note: Virtual function in base class mednafen/src/cdrom/CDAccess_Image.h:74:15: note: Function in derived class mednafen/src/cdrom/CDAccess_Image.h:76:15: style: The function 'Read_TOC' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/cdrom/CDAccess.h:45:15: note: Virtual function in base class mednafen/src/cdrom/CDAccess_Image.h:76:15: note: Function in derived class mednafen/src/cdrom/CDAccess_CCD.h:34:15: style: The function 'Read_Raw_Sector' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/cdrom/CDAccess.h:37:15: note: Virtual function in base class mednafen/src/cdrom/CDAccess_CCD.h:34:15: note: Function in derived class mednafen/src/cdrom/CDAccess_CCD.h:36:15: style: The function 'Fast_Read_Raw_PW_TSRE' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/cdrom/CDAccess.h:43:15: note: Virtual function in base class mednafen/src/cdrom/CDAccess_CCD.h:36:15: note: Function in derived class mednafen/src/cdrom/CDAccess_CCD.h:38:15: style: The function 'Read_TOC' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/cdrom/CDAccess.h:45:15: note: Virtual function in base class mednafen/src/cdrom/CDAccess_CCD.h:38:15: note: Function in derived class mednafen/src/cdrom/CDAccess_Image.h:101:9: performance:inconclusive: Technically the member function 'Mednafen::CDAccess_Image::GetSectorCount' can be static (but you may consider moving to unnamed namespace). [functionStatic] mednafen/src/cdrom/CDAccess_Image.cpp:171:24: note: Technically the member function 'Mednafen::CDAccess_Image::GetSectorCount' can be static (but you may consider moving to unnamed namespace). mednafen/src/cdrom/CDAccess_Image.h:101:9: note: Technically the member function 'Mednafen::CDAccess_Image::GetSectorCount' can be static (but you may consider moving to unnamed namespace). mednafen/src/cdrom/CDAccess_Image.cpp:1089:13: style: C-style pointer casting [cstyleCast] mednafen/src/cdrom/CDAccess_Image.cpp:479:19: style: Variable 'active_track' is reassigned a value before the old one has been used. [redundantAssignment] mednafen/src/cdrom/CDAccess_Image.cpp:468:20: note: active_track is assigned mednafen/src/cdrom/CDAccess_Image.cpp:479:19: note: active_track is overwritten mednafen/src/cdrom/CDAccess_Image.cpp:1293:36: style:inconclusive: Function 'Read_TOC' argument 1 names different: declaration 'toc' definition 'rtoc'. [funcArgNamesDifferent] mednafen/src/cdrom/CDAccess_Image.h:76:40: note: Function 'Read_TOC' argument 1 names different: declaration 'toc' definition 'rtoc'. mednafen/src/cdrom/CDAccess_Image.cpp:1293:36: note: Function 'Read_TOC' argument 1 names different: declaration 'toc' definition 'rtoc'. mednafen/src/cdrom/CDAccess_Image.cpp:374:25: style: Variable 'e' can be declared as reference to const [constVariable] mednafen/src/cdrom/CDInterface_MT.h:78:3: style: Class 'CDInterface_Message' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mednafen/src/cdrom/CDInterface_ST.h:36:2: style: Class 'CDInterface_ST' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mednafen/src/cdrom/CDInterface.cpp:156:10: style: C-style pointer casting [cstyleCast] mednafen/src/cdrom/CDInterface.cpp:116:84: style:inconclusive: Function 'CDInterface_Stream_Thing' argument 2 names different: declaration 'lba_arg' definition 'start_lba_arg'. [funcArgNamesDifferent] mednafen/src/cdrom/CDInterface.cpp:94:59: note: Function 'CDInterface_Stream_Thing' argument 2 names different: declaration 'lba_arg' definition 'start_lba_arg'. mednafen/src/cdrom/CDInterface.cpp:116:84: note: Function 'CDInterface_Stream_Thing' argument 2 names different: declaration 'lba_arg' definition 'start_lba_arg'. mednafen/src/cdrom/CDInterface_MT.cpp:30:38: warning: Member variable 'CDInterface_Message::parg' is not initialized in the constructor. [uninitMemberVar] mednafen/src/cdrom/CDInterface_MT.cpp:37:38: warning: Member variable 'CDInterface_Message::parg' is not initialized in the constructor. [uninitMemberVar] mednafen/src/cdrom/CDInterface_MT.cpp:46:38: warning: Member variable 'CDInterface_Message::parg' is not initialized in the constructor. [uninitMemberVar] mednafen/src/cdrom/CDInterface_MT.cpp:49:2: performance: Variable 'str_message' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/cdrom/CDInterface_MT.cpp:127:10: style: C-style pointer casting [cstyleCast] mednafen/src/cdrom/lec.cpp:252:13: style: The scope of the variable 'r' can be reduced. [variableScope] mednafen/src/cdrom/lec.cpp:296:12: style: The scope of the variable 'd' can be reduced. [variableScope] mednafen/src/cdrom/lec.cpp:392:13: style: The scope of the variable 'p01_msb' can be reduced. [variableScope] mednafen/src/cdrom/lec.cpp:392:22: style: The scope of the variable 'p01_lsb' can be reduced. [variableScope] mednafen/src/cdrom/lec.cpp:394:13: style: The scope of the variable 'p_lsb' can be reduced. [variableScope] mednafen/src/cdrom/lec.cpp:437:13: style: The scope of the variable 'q01_lsb' can be reduced. [variableScope] mednafen/src/cdrom/lec.cpp:437:22: style: The scope of the variable 'q01_msb' can be reduced. [variableScope] mednafen/src/cdrom/lec.cpp:439:13: style: The scope of the variable 'q_lsb' can be reduced. [variableScope] mednafen/src/cdrom/SimpleFIFO.h:97:10: warning: Assert statement calls a function which may have desired side effects: 'CanWrite'. [assertWithSideEffect] mednafen/src/cdrom/scsicd.cpp:1938:34: style:inconclusive: Boolean expression '!(toc.tracks[track].control)' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] mednafen/src/cdrom/SimpleFIFO.h:13:2: style: Class 'SimpleFIFO < uint8 >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mednafen/src/cdrom/scsicd.cpp:1938:34: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] mednafen/src/cdrom/scsicd.cpp:2869:4: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] mednafen/src/cdrom/scsicd.cpp:2876:4: note: Found duplicate branches for 'if' and 'else'. mednafen/src/cdrom/scsicd.cpp:2869:4: note: Found duplicate branches for 'if' and 'else'. mednafen/src/cdrom/scsicd.cpp:513:26: style:inconclusive: Function 'SCSICD_SetDisc' argument 1 names different: declaration 'tray_open' definition 'new_tray_open'. [funcArgNamesDifferent] mednafen/src/cdrom/scsicd.h:100:26: note: Function 'SCSICD_SetDisc' argument 1 names different: declaration 'tray_open' definition 'new_tray_open'. mednafen/src/cdrom/scsicd.cpp:513:26: note: Function 'SCSICD_SetDisc' argument 1 names different: declaration 'tray_open' definition 'new_tray_open'. mednafen/src/cdrom/scsicd.cpp:3132:32: style:inconclusive: Function 'SCSICD_Init' argument 2 names different: declaration 'CDDATimeDiv' definition 'cdda_time_div'. [funcArgNamesDifferent] mednafen/src/cdrom/scsicd.h:93:32: note: Function 'SCSICD_Init' argument 2 names different: declaration 'CDDATimeDiv' definition 'cdda_time_div'. mednafen/src/cdrom/scsicd.cpp:3132:32: note: Function 'SCSICD_Init' argument 2 names different: declaration 'CDDATimeDiv' definition 'cdda_time_div'. mednafen/src/cdrom/scsicd.cpp:2361:14: style: struct member 'SCSICH::format_string' is never used. [unusedStructMember] mednafen/src/cheat_formats/psx.cpp:98:2: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] mednafen/src/compress/ZIPReader.h:33:2: style: Class 'ZIPReader' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mednafen/src/compress/DecompressFilter.cpp:35:2: performance: Variable 'position' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/compress/DecompressFilter.cpp:36:2: performance: Variable 'target_position' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/compress/DecompressFilter.h:37:10: style: Struct 'janky_ptr < Stream >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mednafen/src/compress/DecompressFilter.h:38:10: style: Struct 'janky_ptr < Stream >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mednafen/src/compress/DecompressFilter.cpp:61:41: style: C-style pointer casting [cstyleCast] mednafen/src/compress/DecompressFilter.cpp:32:88: style:inconclusive: Function 'DecompressFilter' argument 2 names different: declaration 'vfcontext' definition 'vfc'. [funcArgNamesDifferent] mednafen/src/compress/DecompressFilter.h:48:71: note: Function 'DecompressFilter' argument 2 names different: declaration 'vfcontext' definition 'vfc'. mednafen/src/compress/DecompressFilter.cpp:32:88: note: Function 'DecompressFilter' argument 2 names different: declaration 'vfcontext' definition 'vfc'. mednafen/src/compress/DecompressFilter.cpp:33:46: warning: Access of moved variable 'source_stream'. [accessMoved] mednafen/src/compress/DecompressFilter.cpp:33:7: note: Calling std::move(source_stream) mednafen/src/compress/DecompressFilter.cpp:33:46: note: Access of moved variable 'source_stream'. mednafen/src/compress/GZFileStream.h:56:15: style: Virtual function 'close' is called from destructor '~GZFileStream()' at line 126. Dynamic binding is not used. [virtualCallInConstructor] mednafen/src/compress/GZFileStream.cpp:126:3: note: Calling close mednafen/src/compress/GZFileStream.h:56:15: note: close is a virtual function mednafen/src/compress/GZFileStream.cpp:149:58: style:inconclusive: Function 'read' argument 3 names different: declaration 'error_on_eos' definition 'error_on_eof'. [funcArgNamesDifferent] mednafen/src/compress/GZFileStream.h:50:53: note: Function 'read' argument 3 names different: declaration 'error_on_eos' definition 'error_on_eof'. mednafen/src/compress/GZFileStream.cpp:149:58: note: Function 'read' argument 3 names different: declaration 'error_on_eos' definition 'error_on_eof'. mednafen/src/compress/ZIPReader.cpp:103:41: style: C-style pointer casting [cstyleCast] mednafen/src/compress/ZIPReader.cpp:290:55: performance: Function parameter 'vfcontext' should be passed by const reference. [passedByValue] mednafen/src/compress/ZIPReader.cpp:311:5: style: Variable 'umt' can be declared as const array [constVariable] mednafen/src/compress/ZIPReader.cpp:329:0: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] mednafen/src/compress/ZIPReader.cpp:263:19: style: Variable 'lfh.version_need' is assigned a value that is never used. [unreadVariable] mednafen/src/compress/ZIPReader.cpp:266:19: style: Variable 'lfh.mod_time' is assigned a value that is never used. [unreadVariable] mednafen/src/compress/ZIPReader.cpp:267:19: style: Variable 'lfh.mod_date' is assigned a value that is never used. [unreadVariable] mednafen/src/compress/ZIPReader.cpp:268:19: style: Variable 'lfh.crc32' is assigned a value that is never used. [unreadVariable] mednafen/src/compress/ZIPReader.cpp:269:19: style: Variable 'lfh.comp_size' is assigned a value that is never used. [unreadVariable] mednafen/src/compress/ZIPReader.cpp:270:19: style: Variable 'lfh.uncomp_size' is assigned a value that is never used. [unreadVariable] mednafen/src/compress/ZIPReader.cpp:552:18: style: Variable 'd.version_made' is assigned a value that is never used. [unreadVariable] mednafen/src/compress/ZIPReader.cpp:553:18: style: Variable 'd.version_need' is assigned a value that is never used. [unreadVariable] mednafen/src/compress/ZIPReader.cpp:554:18: style: Variable 'd.gpflags' is assigned a value that is never used. [unreadVariable] mednafen/src/compress/ZIPReader.cpp:565:18: style: Variable 'd.int_attr' is assigned a value that is never used. [unreadVariable] mednafen/src/compress/ZIPReader.cpp:566:18: style: Variable 'd.ext_attr' is assigned a value that is never used. [unreadVariable] mednafen/src/compress/ZIPReader.cpp:643:9: style: Variable 'rp' is assigned a value that is never used. [unreadVariable] mednafen/src/compress/ZIPReader.cpp:664:43: style: Unused variable: it [unusedVariable] mednafen/src/compress/ZLInflateFilter.cpp:91:16: style: C-style pointer casting [cstyleCast] mednafen/src/compress/ZLInflateFilter.cpp:93:31: style: C-style pointer casting [cstyleCast] mednafen/src/compress/ZLInflateFilter.cpp:95:83: style: C-style pointer casting [cstyleCast] mednafen/src/compress/ZLInflateFilter.cpp:150:29: style: C-style pointer casting [cstyleCast] mednafen/src/compress/ZLInflateFilter.cpp:28:86: style:inconclusive: Function 'ZLInflateFilter' argument 2 names different: declaration 'vfcontext' definition 'vfc'. [funcArgNamesDifferent] mednafen/src/compress/ZLInflateFilter.h:45:70: note: Function 'ZLInflateFilter' argument 2 names different: declaration 'vfcontext' definition 'vfc'. mednafen/src/compress/ZLInflateFilter.cpp:28:86: note: Function 'ZLInflateFilter' argument 2 names different: declaration 'vfcontext' definition 'vfc'. mednafen/src/compress/ZstdDecompressFilter.h:40:15: style: Virtual function 'reset_decompress' is called from constructor 'ZstdDecompressFilter(janky_ptr < Stream > source_stream,const std::string&vfcontext,uint64 csize,uint64 ucs=(uint64)' at line 34. Dynamic binding is not used. [virtualCallInConstructor] mednafen/src/compress/ZstdDecompressFilter.cpp:34:2: note: Calling reset_decompress mednafen/src/compress/ZstdDecompressFilter.h:40:15: note: reset_decompress is a virtual function mednafen/src/compress/ZstdDecompressFilter.cpp:28:96: style:inconclusive: Function 'ZstdDecompressFilter' argument 2 names different: declaration 'vfcontext' definition 'vfc'. [funcArgNamesDifferent] mednafen/src/compress/ZstdDecompressFilter.h:36:75: note: Function 'ZstdDecompressFilter' argument 2 names different: declaration 'vfcontext' definition 'vfc'. mednafen/src/compress/ZstdDecompressFilter.cpp:28:96: note: Function 'ZstdDecompressFilter' argument 2 names different: declaration 'vfcontext' definition 'vfc'. mednafen/src/cputest/cputest.c:27:30: style:inconclusive: Function 'cputest_force_flags' argument 1 names different: declaration 'flags' definition 'arg'. [funcArgNamesDifferent] mednafen/src/cputest/cputest.h:60:30: note: Function 'cputest_force_flags' argument 1 names different: declaration 'flags' definition 'arg'. mednafen/src/cputest/cputest.c:27:30: note: Function 'cputest_force_flags' argument 1 names different: declaration 'flags' definition 'arg'. mednafen/src/cputest/x86_cpu.c:48:17: style: union member 'Anonymous0::i' is never used. [unusedStructMember] mednafen/src/demo/demo.cpp:546:3: portability: Using memset() on struct which contains a floating point number. [memsetClassFloat] mednafen/src/demo/demo.cpp:519:4: style: C-style pointer casting [cstyleCast] mednafen/src/demo/demo.cpp:683:25: style: C-style pointer casting [cstyleCast] mednafen/src/desa68/desa68.c:471:14: style: Condition 'bit==0' is always true [knownConditionTrueFalse] mednafen/src/desa68/desa68.c:469:6: note: Assuming that condition 'bit' is not redundant mednafen/src/desa68/desa68.c:471:14: note: Condition 'bit==0' is always true mednafen/src/desa68/desa68.c:669:3: warning: Suspicious use of ; at the end of 'if' statement. [suspiciousSemicolon] mednafen/src/desa68/desa68.c:1434:27: style:inconclusive: Function 'desa68' argument 1 names different: declaration 'd' definition 'dparm'. [funcArgNamesDifferent] mednafen/src/desa68/desa68.h:224:27: note: Function 'desa68' argument 1 names different: declaration 'd' definition 'dparm'. mednafen/src/desa68/desa68.c:1434:27: note: Function 'desa68' argument 1 names different: declaration 'd' definition 'dparm'. mednafen/src/desa68/desa68.c:532:14: style: Variable 'fn' can be declared as const array [constVariable] mednafen/src/drivers/2xSaI.cpp:1107:21: style: Condition 'y1<=x1' is always true [knownConditionTrueFalse] mednafen/src/drivers/2xSaI.cpp:1102:21: note: Assuming that condition 'y1>=x1' is not redundant mednafen/src/drivers/2xSaI.cpp:1107:21: note: Condition 'y1<=x1' is always true mednafen/src/drivers/2xSaI.cpp:1144:25: style: Condition 'y2<=x1' is always true [knownConditionTrueFalse] mednafen/src/drivers/2xSaI.cpp:1139:25: note: Assuming that condition 'y2>=x1' is not redundant mednafen/src/drivers/2xSaI.cpp:1144:25: note: Condition 'y2<=x1' is always true mednafen/src/drivers/2xSaI.cpp:168:14: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/2xSaI.cpp:169:14: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/2xSaI.cpp:298:10: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/2xSaI.cpp:299:10: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/2xSaI.cpp:423:12: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/2xSaI.cpp:552:10: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/2xSaI.cpp:553:10: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/2xSaI.cpp:676:12: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/2xSaI.cpp:836:10: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/2xSaI.cpp:837:10: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/2xSaI.cpp:1047:10: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/2xSaI.cpp:1157:8: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/2xSaI.cpp:160:11: style: The scope of the variable 'bP' can be reduced. [variableScope] mednafen/src/drivers/2xSaI.cpp:161:11: style: The scope of the variable 'dP' can be reduced. [variableScope] mednafen/src/drivers/2xSaI.cpp:291:11: style: The scope of the variable 'bP' can be reduced. [variableScope] mednafen/src/drivers/2xSaI.cpp:292:11: style: The scope of the variable 'dP' can be reduced. [variableScope] mednafen/src/drivers/2xSaI.cpp:413:11: style: The scope of the variable 'dP' can be reduced. [variableScope] mednafen/src/drivers/2xSaI.cpp:414:11: style: The scope of the variable 'bP' can be reduced. [variableScope] mednafen/src/drivers/2xSaI.cpp:543:12: style: The scope of the variable 'dP' can be reduced. [variableScope] mednafen/src/drivers/2xSaI.cpp:544:11: style: The scope of the variable 'bP' can be reduced. [variableScope] mednafen/src/drivers/2xSaI.cpp:666:11: style: The scope of the variable 'dP' can be reduced. [variableScope] mednafen/src/drivers/2xSaI.cpp:667:11: style: The scope of the variable 'bP' can be reduced. [variableScope] mednafen/src/drivers/2xSaI.cpp:829:12: style: The scope of the variable 'dP' can be reduced. [variableScope] mednafen/src/drivers/2xSaI.cpp:830:11: style: The scope of the variable 'bP' can be reduced. [variableScope] mednafen/src/drivers/2xSaI.cpp:1026:11: style: The scope of the variable 'dP' can be reduced. [variableScope] mednafen/src/drivers/Joystick.h:13:21: style:inconclusive: Technically the member function 'Joystick::Name' can be const. [functionConst] mednafen/src/drivers/Joystick.cpp:189:18: style: Condition 'hicp_driver!=NULL' is always false [knownConditionTrueFalse] mednafen/src/drivers/Joystick.cpp:171:32: note: Assignment 'hicp_driver=NULL', assigned value is 0 mednafen/src/drivers/Joystick.cpp:189:18: note: Condition 'hicp_driver!=NULL' is always false mednafen/src/drivers/Joystick.cpp:194:18: style: Condition 'main_driver!=NULL' is always false [knownConditionTrueFalse] mednafen/src/drivers/Joystick.cpp:170:32: note: Assignment 'main_driver=NULL', assigned value is 0 mednafen/src/drivers/Joystick.cpp:194:18: note: Condition 'main_driver!=NULL' is always false mednafen/src/drivers/Joystick.cpp:248:18: style: Condition 'main_driver!=NULL' is always false [knownConditionTrueFalse] mednafen/src/drivers/Joystick.cpp:170:32: note: Assignment 'main_driver=NULL', assigned value is 0 mednafen/src/drivers/Joystick.cpp:248:18: note: Condition 'main_driver!=NULL' is always false mednafen/src/drivers/Joystick.cpp:253:18: style: Condition 'hicp_driver!=NULL' is always false [knownConditionTrueFalse] mednafen/src/drivers/Joystick.cpp:171:32: note: Assignment 'hicp_driver=NULL', assigned value is 0 mednafen/src/drivers/Joystick.cpp:253:18: note: Condition 'hicp_driver!=NULL' is always false mednafen/src/drivers/Joystick.cpp:644:15: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] mednafen/src/drivers/Joystick.cpp:74:16: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/Joystick.cpp:59:35: style:inconclusive: Function 'Calc09xID' argument 1 names different: declaration 'num_axes' definition 'arg_num_axes'. [funcArgNamesDifferent] mednafen/src/drivers/Joystick.h:32:26: note: Function 'Calc09xID' argument 1 names different: declaration 'num_axes' definition 'arg_num_axes'. mednafen/src/drivers/Joystick.cpp:59:35: note: Function 'Calc09xID' argument 1 names different: declaration 'num_axes' definition 'arg_num_axes'. mednafen/src/drivers/Joystick.cpp:59:58: style:inconclusive: Function 'Calc09xID' argument 2 names different: declaration 'num_balls' definition 'arg_num_balls'. [funcArgNamesDifferent] mednafen/src/drivers/Joystick.h:32:45: note: Function 'Calc09xID' argument 2 names different: declaration 'num_balls' definition 'arg_num_balls'. mednafen/src/drivers/Joystick.cpp:59:58: note: Function 'Calc09xID' argument 2 names different: declaration 'num_balls' definition 'arg_num_balls'. mednafen/src/drivers/Joystick.cpp:59:82: style:inconclusive: Function 'Calc09xID' argument 3 names different: declaration 'num_hats' definition 'arg_num_hats'. [funcArgNamesDifferent] mednafen/src/drivers/Joystick.h:32:65: note: Function 'Calc09xID' argument 3 names different: declaration 'num_hats' definition 'arg_num_hats'. mednafen/src/drivers/Joystick.cpp:59:82: note: Function 'Calc09xID' argument 3 names different: declaration 'num_hats' definition 'arg_num_hats'. mednafen/src/drivers/Joystick.cpp:59:105: style:inconclusive: Function 'Calc09xID' argument 4 names different: declaration 'num_buttons' definition 'arg_num_buttons'. [funcArgNamesDifferent] mednafen/src/drivers/Joystick.h:32:84: note: Function 'Calc09xID' argument 4 names different: declaration 'num_buttons' definition 'arg_num_buttons'. mednafen/src/drivers/Joystick.cpp:59:105: note: Function 'Calc09xID' argument 4 names different: declaration 'num_buttons' definition 'arg_num_buttons'. mednafen/src/drivers/Joystick_DX5.cpp:260:2: style: Class 'JoystickDriver_DX5' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mednafen/src/drivers/Joystick_DX5.cpp:45:19: style: The function 'HatToAxisCompat' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/drivers/Joystick.h:27:19: note: Virtual function in base class mednafen/src/drivers/Joystick_DX5.cpp:45:19: note: Function in derived class mednafen/src/drivers/Joystick_DX5.cpp:46:15: style: The function 'SetRumble' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/drivers/Joystick.h:26:15: note: Virtual function in base class mednafen/src/drivers/Joystick_DX5.cpp:46:15: note: Function in derived class mednafen/src/drivers/Joystick_DX5.cpp:263:19: style: The function 'NumJoysticks' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/drivers/Joystick.h:55:19: note: Virtual function in base class mednafen/src/drivers/Joystick_DX5.cpp:263:19: note: Function in derived class mednafen/src/drivers/Joystick_DX5.cpp:264:20: style: The function 'GetJoystick' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/drivers/Joystick.h:56:20: note: Virtual function in base class mednafen/src/drivers/Joystick_DX5.cpp:264:20: note: Function in derived class mednafen/src/drivers/Joystick_DX5.cpp:265:15: style: The function 'UpdateJoysticks' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/drivers/Joystick.h:57:15: note: Virtual function in base class mednafen/src/drivers/Joystick_DX5.cpp:265:15: note: Function in derived class mednafen/src/drivers/Joystick_DX5.cpp:343:26: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/Joystick_Linux.cpp:638:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] mednafen/src/drivers/Joystick_Linux.cpp:646:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] mednafen/src/drivers/Joystick_Linux.cpp:654:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] mednafen/src/drivers/Joystick_Linux.cpp:52:14: style:inconclusive: Technically the member function 'Joystick_Linux::RumbleUsed' can be const. [functionConst] mednafen/src/drivers/Joystick_Linux.cpp:46:19: style: The function 'HatToAxisCompat' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/drivers/Joystick.h:27:19: note: Virtual function in base class mednafen/src/drivers/Joystick_Linux.cpp:46:19: note: Function in derived class mednafen/src/drivers/Joystick_Linux.cpp:50:7: style: The function 'SetRumble' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/drivers/Joystick.h:26:15: note: Virtual function in base class mednafen/src/drivers/Joystick_Linux.cpp:50:7: note: Function in derived class mednafen/src/drivers/Joystick_Linux.cpp:398:19: style: The function 'NumJoysticks' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/drivers/Joystick.h:55:19: note: Virtual function in base class mednafen/src/drivers/Joystick_Linux.cpp:398:19: note: Function in derived class mednafen/src/drivers/Joystick_Linux.cpp:399:20: style: The function 'GetJoystick' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/drivers/Joystick.h:56:20: note: Virtual function in base class mednafen/src/drivers/Joystick_Linux.cpp:399:20: note: Function in derived class mednafen/src/drivers/Joystick_Linux.cpp:400:15: style: The function 'UpdateJoysticks' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/drivers/Joystick.h:57:15: note: Virtual function in base class mednafen/src/drivers/Joystick_Linux.cpp:400:15: note: Function in derived class mednafen/src/drivers/Joystick_Linux.cpp:291:16: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/Joystick_SDL.cpp:34:2: style: Class 'Joystick_SDL' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mednafen/src/drivers/Joystick_SDL.cpp:39:19: style: The function 'HatToButtonCompat' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/drivers/Joystick.h:28:19: note: Virtual function in base class mednafen/src/drivers/Joystick_SDL.cpp:39:19: note: Function in derived class mednafen/src/drivers/Joystick_SDL.cpp:159:19: style: The function 'NumJoysticks' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/drivers/Joystick.h:55:19: note: Virtual function in base class mednafen/src/drivers/Joystick_SDL.cpp:159:19: note: Function in derived class mednafen/src/drivers/Joystick_SDL.cpp:160:20: style: The function 'GetJoystick' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/drivers/Joystick.h:56:20: note: Virtual function in base class mednafen/src/drivers/Joystick_SDL.cpp:160:20: note: Function in derived class mednafen/src/drivers/Joystick_SDL.cpp:161:15: style: The function 'UpdateJoysticks' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/drivers/Joystick.h:57:15: note: Virtual function in base class mednafen/src/drivers/Joystick_SDL.cpp:161:15: note: Function in derived class mednafen/src/drivers/Joystick_SDL.cpp:101:6: style: Condition 'sdl_joy' is always true [knownConditionTrueFalse] mednafen/src/drivers/Joystick_SDL.cpp:82:14: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/Joystick_XInput.cpp:49:15: style: The function 'SetRumble' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/drivers/Joystick.h:26:15: note: Virtual function in base class mednafen/src/drivers/Joystick_XInput.cpp:49:15: note: Function in derived class mednafen/src/drivers/Joystick_XInput.cpp:50:15: style: The function 'IsAxisButton' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/drivers/Joystick.h:25:15: note: Virtual function in base class mednafen/src/drivers/Joystick_XInput.cpp:50:15: note: Function in derived class mednafen/src/drivers/Joystick_XInput.cpp:160:19: style: The function 'NumJoysticks' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/drivers/Joystick.h:55:19: note: Virtual function in base class mednafen/src/drivers/Joystick_XInput.cpp:160:19: note: Function in derived class mednafen/src/drivers/Joystick_XInput.cpp:161:20: style: The function 'GetJoystick' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/drivers/Joystick.h:56:20: note: Virtual function in base class mednafen/src/drivers/Joystick_XInput.cpp:161:20: note: Function in derived class mednafen/src/drivers/Joystick_XInput.cpp:162:15: style: The function 'UpdateJoysticks' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/drivers/Joystick.h:57:15: note: Virtual function in base class mednafen/src/drivers/Joystick_XInput.cpp:162:15: note: Function in derived class mednafen/src/drivers/Joystick_XInput.cpp:61:24: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/Joystick_XInput.cpp:198:51: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/TextEntry.h:37:31: style:inconclusive: Technically the member function 'TextEntry::GetKBB' can be const. [functionConst] mednafen/src/drivers/args.cpp:39:38: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/args.cpp:63:25: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/args.cpp:75:8: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/args.cpp:76:8: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/args.cpp:84:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/args.cpp:96:10: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/args.cpp:108:20: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/args.cpp:109:9: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/args.cpp:110:16: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/args.cpp:113:16: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/args.cpp:161:27: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/cheat.cpp:335:10: performance: Variable 'text' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/drivers/console.h:28:3: warning:inconclusive: Class 'MDFNConsole' which has virtual members does not have a virtual destructor. [virtualDestructor] mednafen/src/drivers/console.h:27:2: style: Class 'MDFNConsole' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mednafen/src/drivers/cheat.cpp:497:32: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/console.cpp:31:2: performance: Variable 'Scrolled' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/drivers/console.cpp:32:2: performance: Variable 'opacity' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/drivers/console.cpp:34:2: performance: Variable 'ScrolledVecTarg' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/drivers/console.cpp:35:2: performance: Variable 'LastPageSize' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/drivers/console.cpp:27:31: style:inconclusive: Function 'MDFNConsole' argument 1 names different: declaration 'shellstyle' definition 'setshellstyle'. [funcArgNamesDifferent] mednafen/src/drivers/console.h:27:19: note: Function 'MDFNConsole' argument 1 names different: declaration 'shellstyle' definition 'setshellstyle'. mednafen/src/drivers/console.cpp:27:31: note: Function 'MDFNConsole' argument 1 names different: declaration 'shellstyle' definition 'setshellstyle'. mednafen/src/drivers/debugger.cpp:527:7: style: The function 'TheEnd' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/drivers/prompt.h:19:22: note: Virtual function in base class mednafen/src/drivers/debugger.cpp:527:7: note: Function in derived class mednafen/src/drivers/debugger.cpp:235:10: style: The scope of the variable 'sa1' can be reduced. [variableScope] mednafen/src/drivers/debugger.cpp:235:19: style: The scope of the variable 'sa2' can be reduced. [variableScope] mednafen/src/drivers/debugger.cpp:637:29: style: Variable 'meow_str' is assigned a value that is never used. [unreadVariable] mednafen/src/drivers/debugger.cpp:856:54: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] mednafen/src/drivers/ers.cpp:14:2: performance: Variable 'EmuClock' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/drivers/gfxdebugger.cpp:70:11: style: Expression is always true because 'else if' condition is opposite to previous condition at line 62. [multiCondition] mednafen/src/drivers/gfxdebugger.cpp:62:6: note: first condition mednafen/src/drivers/gfxdebugger.cpp:70:11: note: else if condition is opposite to first condition mednafen/src/drivers/gfxdebugger.cpp:93:5: style: Condition 'ism' is always false [knownConditionTrueFalse] mednafen/src/drivers/gfxdebugger.cpp:91:47: note: Assignment 'ism=Debugger_GT_IsInSteppingMode()', assigned value is 0 mednafen/src/drivers/gfxdebugger.cpp:93:5: note: Condition 'ism' is always false mednafen/src/drivers/gfxdebugger.cpp:138:6: style: Condition 'ism' is always false [knownConditionTrueFalse] mednafen/src/drivers/gfxdebugger.cpp:91:47: note: Assignment 'ism=Debugger_GT_IsInSteppingMode()', assigned value is 0 mednafen/src/drivers/gfxdebugger.cpp:138:6: note: Condition 'ism' is always false mednafen/src/drivers/help.cpp:30:21: debug: Wrong data detected by condition !tok->next()->astOperand2() [DacaWrongData] mednafen/src/drivers/help.cpp:77:6: style: Variable 'x' is assigned a value that is never used. [unreadVariable] mednafen/src/drivers/hq2x.cpp:28:5: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:33:5: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:38:5: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:43:5: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:49:5: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:55:5: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:61:5: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:156:16: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:157:16: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:158:16: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:162:18: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:163:18: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:164:18: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:175:18: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:176:18: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:177:18: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:494:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:512:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:527:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:541:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:757:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:765:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:781:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:790:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:805:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:813:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:826:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:835:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:848:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:864:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:881:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:895:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:909:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:926:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:940:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:953:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:1278:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:1295:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:1313:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:1331:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:1347:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:1363:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:1379:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:1396:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:1414:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:1427:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:1443:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:1460:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:1473:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:1490:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:1504:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:1517:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:1606:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:1626:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:1649:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:1672:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:1684:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:1708:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:1729:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:1750:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:1788:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:1816:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:1868:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:1880:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:2117:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:2125:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:2138:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:2148:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:2161:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:2178:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:2192:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:2210:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:2225:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:2240:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:2259:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:2273:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:2291:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:2305:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:2322:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:2340:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:2354:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:2362:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:2374:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:2383:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:2396:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:2404:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:2419:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:2428:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:2442:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:2450:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:2464:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:2472:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:2484:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:2493:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:2506:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:2515:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:2528:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:2536:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:2550:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:2558:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:2573:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:2582:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:2595:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:2604:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:2617:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:2625:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:2633:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:2647:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:2655:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:2667:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:2676:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:2684:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:2696:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:2705:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:2718:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:2726:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:2734:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:2747:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:2755:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:2769:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:2777:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:2786:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:2799:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:2808:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:2820:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:2828:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:2836:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq2x.cpp:2844:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:28:5: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:33:5: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:40:5: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:48:5: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:54:5: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:151:16: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:152:16: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:153:16: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:157:18: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:158:18: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:159:18: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:170:18: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:171:18: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:172:18: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:230:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:243:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:246:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:262:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:263:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:278:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:281:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:293:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:294:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:307:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:310:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:323:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:326:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:342:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:343:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:358:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:359:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:374:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:377:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:390:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:393:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:405:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:406:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:421:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:422:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:435:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:437:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:446:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:459:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:463:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:464:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:481:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:485:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:487:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:504:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:505:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:514:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:524:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:527:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:530:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:539:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:540:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:541:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:552:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:555:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:570:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:571:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:585:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:588:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:599:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:600:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:613:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:614:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:615:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:624:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:637:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:641:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:642:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:643:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:659:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:663:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:664:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:665:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:681:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:682:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:683:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:692:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:705:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:707:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:717:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:728:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:730:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:742:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:753:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:754:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:767:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:776:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:778:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:792:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:800:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:802:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:815:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:825:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:827:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:838:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:849:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:850:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:861:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:873:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:875:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:884:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:894:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:897:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:900:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:907:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:910:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:913:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:922:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:923:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:924:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:935:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:936:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:937:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:946:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:949:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:952:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:959:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:962:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:965:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:974:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:975:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:976:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:987:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:988:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:989:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1000:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1001:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1008:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1011:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1012:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1019:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1031:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1032:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1040:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1041:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1045:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1046:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1061:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1064:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1065:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1072:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1075:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1076:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1090:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1091:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1099:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1100:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1104:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1105:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1119:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1120:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1121:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1130:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1131:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1142:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1143:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1144:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1153:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1155:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1164:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1165:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1169:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1170:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1171:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1184:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1186:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1190:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1191:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1192:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1208:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1209:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1210:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1218:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1219:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1228:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1231:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1235:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1236:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1237:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1252:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1253:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1256:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1257:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1258:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1273:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1274:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1275:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1284:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1287:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1296:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1297:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1298:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1307:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1310:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1313:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1322:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1323:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1324:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1333:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1336:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1339:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1348:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1349:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1350:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1359:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1362:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1365:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1374:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1375:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1376:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1385:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1388:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1391:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1400:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1401:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1402:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1411:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1414:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1417:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1424:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1427:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1430:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1439:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1440:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1441:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1457:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1466:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1467:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1468:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1477:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1487:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1488:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1490:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1506:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1507:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1508:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1517:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1538:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1540:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1541:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1551:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1565:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1567:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1568:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1578:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1592:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1601:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1602:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1603:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1612:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1622:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1623:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1625:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1641:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1642:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1643:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1652:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1673:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1682:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1683:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1684:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1693:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1710:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1711:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1712:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1722:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1733:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1734:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1735:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1747:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1758:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1759:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1760:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1772:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1781:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1783:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1784:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1797:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1805:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1806:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1807:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1820:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1830:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1831:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1832:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1843:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1853:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1854:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1855:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1866:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1877:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1878:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1880:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1889:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1901:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1902:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1905:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1906:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1907:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1922:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1923:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1924:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1933:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1936:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1945:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1946:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1947:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1955:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1956:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1965:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1968:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1972:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1973:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1974:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1989:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1990:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:1991:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2000:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2002:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2011:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2012:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2016:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2017:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2018:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2031:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2033:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2037:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2038:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2039:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2054:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2055:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2056:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2065:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2066:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2077:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2078:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2079:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2090:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2091:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2092:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2103:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2104:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2105:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2116:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2117:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2118:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2127:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2130:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2133:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2140:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2143:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2146:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2153:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2156:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2159:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2166:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2169:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2172:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2181:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2182:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2193:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2194:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2195:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2217:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2218:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2219:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2227:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2228:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2244:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2246:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2250:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2251:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2252:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2266:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2276:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2280:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2281:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2282:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2296:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2297:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2298:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2314:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2315:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2326:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2327:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2330:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2331:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2332:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2355:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2356:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2357:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2366:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2368:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2383:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2384:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2385:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2394:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2404:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2418:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2427:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2428:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2431:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2432:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2433:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2463:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2464:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2465:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2473:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2474:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2483:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2504:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2513:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2514:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2525:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2526:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2527:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2541:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2542:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2543:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2559:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2560:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2569:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2586:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2589:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2596:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2599:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2611:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2612:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2625:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2626:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2642:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2651:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2652:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2653:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2662:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2672:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2673:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2675:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2691:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2692:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2693:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2702:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2723:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2725:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2726:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2736:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2746:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2747:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2757:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2772:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2774:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2775:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2786:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2796:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2797:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2810:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2811:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2813:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2829:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2830:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2831:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2840:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2843:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2846:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2855:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2856:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2857:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2865:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2868:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2869:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2870:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2885:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2886:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2887:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2896:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2900:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2901:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2902:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2917:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2918:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2919:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2930:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2931:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2940:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2941:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2942:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2953:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2954:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2962:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2963:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2965:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2974:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2977:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2985:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2986:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2987:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:2998:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3000:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3008:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3009:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3010:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3021:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3022:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3031:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3032:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3033:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3044:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3045:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3054:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3056:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3057:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3067:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3070:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3078:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3079:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3080:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3090:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3092:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3102:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3103:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3107:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3113:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3122:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3128:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3130:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3131:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3142:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3145:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3152:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3153:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3166:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3167:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3169:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3172:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3183:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3185:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3188:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3189:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3196:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3199:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3200:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3213:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3214:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3222:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3223:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3224:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3227:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3228:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3242:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3243:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3250:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3253:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3254:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3261:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3263:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3272:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3273:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3280:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3281:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3282:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3286:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3287:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3301:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3302:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3305:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3306:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3313:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3316:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3329:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3330:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3333:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3339:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3342:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3343:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3356:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3357:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3365:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3366:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3370:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3376:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3384:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3390:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3392:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3393:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3397:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3398:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3412:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3418:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3421:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3422:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3429:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3430:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3440:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3441:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3448:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3451:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3457:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3458:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3467:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3470:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3477:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3478:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3482:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3483:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3497:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3498:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3506:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3507:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3509:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3512:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3525:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3526:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3533:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3536:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3537:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3546:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3547:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3548:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3563:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3564:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3565:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3568:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3574:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3577:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3589:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3590:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3598:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3601:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3602:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3603:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3613:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3614:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3627:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3633:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3635:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3636:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3640:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3646:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3654:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3655:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3656:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3666:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3667:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3674:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3677:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3678:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3692:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3698:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3701:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3707:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3708:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3709:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3719:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3720:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3729:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3730:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3731:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3739:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3743:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3744:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3756:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3759:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3766:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3767:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3769:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3772:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3784:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3790:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3793:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3799:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3800:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3801:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3804:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3810:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq3x.cpp:3813:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:31:5: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:36:5: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:43:5: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:49:5: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:56:5: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:64:5: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:72:5: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:250:16: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:251:16: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:252:16: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:256:18: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:257:18: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:258:18: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:269:18: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:270:18: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:271:18: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:629:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:666:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:696:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:721:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:872:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:873:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:874:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:884:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:908:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:911:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:912:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:913:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:938:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:939:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:940:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:948:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:960:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:961:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:962:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:972:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:1414:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:1415:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:1416:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:1426:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:1427:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:1428:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:1436:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:1437:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:1455:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:1456:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:1457:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:1467:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:1470:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:1473:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:1474:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:1475:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:1500:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:1501:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:1502:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:1510:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:1511:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:1514:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:1515:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:1516:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:1531:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:1532:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:1533:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:1543:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:1548:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:1549:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:1550:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:1558:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:1569:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:1570:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:1571:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:1581:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:1600:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:1601:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:1602:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:1612:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:1635:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:1638:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:1639:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:1640:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:1664:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:1665:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:1666:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:1674:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:1687:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:1688:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:1689:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:1699:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:1722:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:1725:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:1726:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:1727:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:1751:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:1752:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:1753:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:1761:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:1772:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:1773:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:1774:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:1784:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:2051:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:2064:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:2092:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:2108:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:2137:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:2150:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:2171:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:2187:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:2211:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:2227:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:2251:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:2264:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:2292:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:2308:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:2337:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:2350:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:2371:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:2384:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:2397:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:2410:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:2424:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:2425:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:2426:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:2427:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:2457:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:2458:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:2459:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:2460:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:2493:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:2494:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:2495:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:2496:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:2531:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:2532:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:2535:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:2536:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:2562:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:2563:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:2564:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:2565:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:2589:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:2590:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:2591:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:2592:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:2620:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:2621:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:2622:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:2623:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:2653:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:2654:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:2657:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:2658:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:2693:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:2694:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:2695:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:2703:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:2714:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:2715:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:2716:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:2726:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:2745:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:2746:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:2747:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:2757:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:2780:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:2783:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:2784:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:2785:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:2803:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:2804:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:2805:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:2815:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:2838:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:2841:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:2842:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:2843:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:2867:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:2868:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:2869:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:2877:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:2888:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:2889:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:2890:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:2900:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:3093:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:3097:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:3100:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:3101:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:3102:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:3126:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:3130:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:3131:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:3132:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:3140:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:3165:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:3173:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:3174:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:3175:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:3183:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:3205:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:3212:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:3215:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:3216:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:3217:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:3233:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:3234:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:3235:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:3254:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:3257:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:3280:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:3281:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:3282:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:3290:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:3300:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:3313:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:3314:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:3315:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:3325:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:3337:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:3350:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:3351:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:3352:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:3362:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:3375:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:3399:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:3412:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:3417:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:3418:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:3419:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:3427:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:3437:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:3458:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:3462:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:3463:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:3464:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:3472:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:3483:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:3496:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:3517:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:3530:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:3543:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:3547:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:3550:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:3551:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:3552:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:3566:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:3567:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:3568:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:3587:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:3590:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:3601:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:3614:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:3715:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:3728:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:3756:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:3772:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:3801:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:3814:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:3835:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:3851:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:3882:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:3907:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:3939:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:3976:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4031:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4032:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4033:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4043:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4046:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4047:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4048:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4056:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4067:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4068:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4069:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4079:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4084:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4087:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4088:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4089:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4107:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4108:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4109:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4110:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4142:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4143:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4144:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4145:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4169:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4170:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4173:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4174:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4209:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4210:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4211:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4212:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4235:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4236:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4237:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4238:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4265:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4266:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4267:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4268:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4307:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4308:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4311:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4312:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4331:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4332:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4333:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4334:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4368:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4369:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4374:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4380:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4390:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4396:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4399:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4400:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4418:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4421:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4429:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4430:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4454:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4455:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4458:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4461:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4481:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4482:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4483:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4491:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4492:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4495:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4496:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4497:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4511:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4512:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4513:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4523:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4528:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4529:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4530:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4538:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4549:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4550:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4551:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4561:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4562:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4563:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4571:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4572:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4589:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4590:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4591:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4601:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4604:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4607:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4608:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4609:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4633:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4634:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4635:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4643:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4644:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4645:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4646:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4649:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4667:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4668:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4669:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4672:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4673:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4674:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4684:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4690:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4697:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4698:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4699:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4709:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4712:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4713:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4718:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4724:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4733:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4739:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4742:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4743:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4748:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4749:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4750:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4758:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4769:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4775:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4778:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4779:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4780:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4788:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4789:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4790:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4805:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4806:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4807:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4815:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4818:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4824:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4825:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4826:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4841:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4844:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4852:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4853:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4856:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4859:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4860:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4861:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4879:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4880:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4881:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4891:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4894:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4895:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4898:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4901:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4915:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4916:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4917:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4927:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4930:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4931:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4932:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4940:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4941:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4942:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4943:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4946:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4964:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4965:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4966:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4967:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4970:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4976:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4977:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4980:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4992:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4993:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:4994:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:5004:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:5007:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:5008:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:5009:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:5012:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:5013:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:5014:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:5024:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:5030:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:5037:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:5043:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:5046:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:5047:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:5050:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:5051:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:5056:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:5062:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:5071:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:5077:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:5080:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:5081:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:5082:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:5090:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:5091:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:5092:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:5095:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:5096:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:5097:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:5105:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:5116:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:5122:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:5123:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:5126:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:5132:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:5133:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:5134:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:5135:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:5150:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:5151:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:5152:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:5160:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:5163:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:5169:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:5170:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:5171:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:5174:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:5177:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:5178:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:5179:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:5195:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:5198:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:5206:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:5207:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:5210:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:5211:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:5214:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:5217:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:5229:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:5235:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:5236:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:5239:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:5245:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:5246:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:5247:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:5248:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:5249:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:5250:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:5251:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:5252:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:5255:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:5261:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:5262:11: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/hq4x.cpp:5265:13: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/input.cpp:1713:14: style:inconclusive: Boolean expression 'ck_af' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] mednafen/src/drivers/input.cpp:1719:14: style:inconclusive: Boolean expression 'ck_af' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] mednafen/src/drivers/input.cpp:2066:53: style:inconclusive: Boolean expression 'DTestButton(bic.BC,bypass_key_masking)' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] mednafen/src/drivers/input.cpp:1719:14: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] mednafen/src/drivers/input.cpp:1480:23: style: Condition 'Debugger_IsActive()' is always false [knownConditionTrueFalse] mednafen/src/drivers/input.cpp:1644:7: style: Condition '!Debugger_IsActive()' is always true [knownConditionTrueFalse] mednafen/src/drivers/input.cpp:1661:27: style: Condition '!Debugger_IsActive()' is always true [knownConditionTrueFalse] mednafen/src/drivers/input.cpp:1724:6: style: Condition '!Debugger_IsActive()' is always true [knownConditionTrueFalse] mednafen/src/drivers/input.cpp:2719:22: style: Condition 'Debugger_IsActive()' is always false [knownConditionTrueFalse] mednafen/src/drivers/input.cpp:787:14: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/input.cpp:790:6: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/input.cpp:791:6: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/input.cpp:792:6: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/input.cpp:793:6: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/input.cpp:794:6: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/input.cpp:795:6: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/input.cpp:796:6: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/input.cpp:797:6: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/input.cpp:798:6: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/input.cpp:2508:32: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/input.cpp:2550:14: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/input.cpp:2249:63: style:inconclusive: Function 'subcon' argument 2 names different: declaration 'bc' definition 'bcg'. [funcArgNamesDifferent] mednafen/src/drivers/input.cpp:91:63: note: Function 'subcon' argument 2 names different: declaration 'bc' definition 'bcg'. mednafen/src/drivers/input.cpp:2249:63: note: Function 'subcon' argument 2 names different: declaration 'bc' definition 'bcg'. mednafen/src/drivers/input.cpp:1507:15: style: Variable 'bic' can be declared as reference to const [constVariable] mednafen/src/drivers/input.cpp:1509:16: style: Variable 'b' can be declared as reference to const [constVariable] mednafen/src/drivers/keyboard.cpp:185:87: style:inconclusive: Boolean expression 'TestSC(230,bypass_key_masking)' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] mednafen/src/drivers/keyboard.cpp:185:87: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] mednafen/src/drivers/logdebugger.cpp:131:67: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] mednafen/src/drivers/logdebugger.cpp:186:67: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] mednafen/src/drivers/main.cpp:2610:33: warning: Either the condition 'WhichVideoBuffer>=0' is redundant or the array 'SoftFB[2]' is accessed at index 2, which is out of bounds. [arrayIndexOutOfBoundsCond] mednafen/src/drivers/main.cpp:2592:22: note: Assuming that condition 'WhichVideoBuffer>=0' is not redundant mednafen/src/drivers/main.cpp:2610:33: note: Array index out of bounds mednafen/src/drivers/main.cpp:2611:28: warning: Either the condition 'WhichVideoBuffer>=0' is redundant or the array 'SoftFB[2]' is accessed at index 2, which is out of bounds. [arrayIndexOutOfBoundsCond] mednafen/src/drivers/main.cpp:2592:22: note: Assuming that condition 'WhichVideoBuffer>=0' is not redundant mednafen/src/drivers/main.cpp:2611:28: note: Array index out of bounds mednafen/src/drivers/main.cpp:2612:21: warning: Either the condition 'WhichVideoBuffer>=0' is redundant or the array 'SoftFB[2]' is accessed at index 2, which is out of bounds. [arrayIndexOutOfBoundsCond] mednafen/src/drivers/main.cpp:2592:22: note: Assuming that condition 'WhichVideoBuffer>=0' is not redundant mednafen/src/drivers/main.cpp:2612:21: note: Array index out of bounds mednafen/src/drivers/main.cpp:1508:23: style: Condition 'Debugger_IsActive()' is always false [knownConditionTrueFalse] mednafen/src/drivers/main.cpp:844:26: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/main.cpp:886:21: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/main.cpp:1646:21: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/main.cpp:1650:21: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/main.cpp:1671:46: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/memdebugger.h:45:21: performance:inconclusive: Technically the member function 'MemDebugger::TextToBS' can be static (but you may consider moving to unnamed namespace). [functionStatic] mednafen/src/drivers/memdebugger.cpp:153:33: note: Technically the member function 'MemDebugger::TextToBS' can be static (but you may consider moving to unnamed namespace). mednafen/src/drivers/memdebugger.h:45:21: note: Technically the member function 'MemDebugger::TextToBS' can be static (but you may consider moving to unnamed namespace). mednafen/src/drivers/memdebugger.cpp:84:14: style: The function 'TheEnd' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/drivers/prompt.h:19:22: note: Virtual function in base class mednafen/src/drivers/memdebugger.cpp:84:14: note: Function in derived class mednafen/src/drivers/memdebugger.cpp:316:19: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/memdebugger.cpp:317:20: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/memdebugger.cpp:511:66: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/memdebugger.cpp:748:12: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/memdebugger.cpp:34:27: style: Redundant initialization for 'new_ict_game_to_utf8'. The initialized value is overwritten before it is read. [redundantInitialization] mednafen/src/drivers/memdebugger.cpp:32:31: note: new_ict_game_to_utf8 is initialized mednafen/src/drivers/memdebugger.cpp:34:27: note: new_ict_game_to_utf8 is overwritten mednafen/src/drivers/memdebugger.cpp:34:99: style: Redundant initialization for 'new_ict_utf8_to_game'. The initialized value is overwritten before it is read. [redundantInitialization] mednafen/src/drivers/memdebugger.cpp:32:67: note: new_ict_utf8_to_game is initialized mednafen/src/drivers/memdebugger.cpp:34:99: note: new_ict_utf8_to_game is overwritten mednafen/src/drivers/memdebugger.cpp:66:19: style: Variable 'ict_utf8_to_game' is reassigned a value before the old one has been used. [redundantAssignment] mednafen/src/drivers/memdebugger.cpp:62:20: note: ict_utf8_to_game is assigned mednafen/src/drivers/memdebugger.cpp:66:19: note: ict_utf8_to_game is overwritten mednafen/src/drivers/mouse.cpp:271:31: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] mednafen/src/drivers/mouse.cpp:281:31: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] mednafen/src/drivers/mouse.cpp:162:14: style: Unused variable: ret [unusedVariable] mednafen/src/drivers/netplay.cpp:117:40: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/netplay.cpp:230:23: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/netplay.cpp:259:37: style: C-style pointer casting [cstyleCast] mednafen/src/drivers/nongl.cpp:353:19: style: Redundant condition: true. 'true && (true || sl&(1U<>20)&0x3F)<<20', assigned value is 33554432 mednafen/src/gba/GBA.cpp:801:24: note: Condition 'mirroredRomSize<=0x800000' is always false mednafen/src/gba/GBA.cpp:264:12: style: C-style pointer casting [cstyleCast] mednafen/src/gba/GBA.cpp:742:19: style: C-style pointer casting [cstyleCast] mednafen/src/gba/GBA.cpp:808:15: style: C-style pointer casting [cstyleCast] mednafen/src/gba/GBA.cpp:2812:9: style: C-style pointer casting [cstyleCast] mednafen/src/gba/Gfx.cpp:69:21: style: C-style pointer casting [cstyleCast] mednafen/src/gba/Gfx.cpp:243:21: style: C-style pointer casting [cstyleCast] mednafen/src/gba/Gfx.cpp:506:21: style: C-style pointer casting [cstyleCast] mednafen/src/gba/Gfx.cpp:702:23: style: C-style pointer casting [cstyleCast] mednafen/src/gba/Gfx.cpp:703:31: style: C-style pointer casting [cstyleCast] mednafen/src/gba/Gfx.cpp:789:27: style: C-style pointer casting [cstyleCast] mednafen/src/gba/Gfx.cpp:1110:23: style: C-style pointer casting [cstyleCast] mednafen/src/gba/Gfx.cpp:1188:27: style: C-style pointer casting [cstyleCast] mednafen/src/gba/Gfx.cpp:699:7: style: The scope of the variable 'm' can be reduced. [variableScope] mednafen/src/gba/Gfx.cpp:414:14: style: Variable 'startX' is assigned a value that is never used. [unreadVariable] mednafen/src/gba/Gfx.cpp:416:12: style: Variable 'startX' is assigned a value that is never used. [unreadVariable] mednafen/src/gba/Gfx.cpp:417:14: style: Variable 'startY' is assigned a value that is never used. [unreadVariable] mednafen/src/gba/Gfx.cpp:419:12: style: Variable 'startY' is assigned a value that is never used. [unreadVariable] mednafen/src/gba/Mode0.cpp:29:21: style: C-style pointer casting [cstyleCast] mednafen/src/gba/Mode0.cpp:136:21: style: C-style pointer casting [cstyleCast] mednafen/src/gba/Mode0.cpp:306:21: style: C-style pointer casting [cstyleCast] mednafen/src/gba/Mode1.cpp:29:21: style: C-style pointer casting [cstyleCast] mednafen/src/gba/Mode1.cpp:130:21: style: C-style pointer casting [cstyleCast] mednafen/src/gba/Mode1.cpp:285:21: style: C-style pointer casting [cstyleCast] mednafen/src/gba/Mode2.cpp:29:21: style: C-style pointer casting [cstyleCast] mednafen/src/gba/Mode2.cpp:125:21: style: C-style pointer casting [cstyleCast] mednafen/src/gba/Mode2.cpp:268:21: style: C-style pointer casting [cstyleCast] mednafen/src/gba/Mode3.cpp:29:21: style: C-style pointer casting [cstyleCast] mednafen/src/gba/Mode3.cpp:106:21: style: C-style pointer casting [cstyleCast] mednafen/src/gba/Mode3.cpp:224:21: style: C-style pointer casting [cstyleCast] mednafen/src/gba/Mode4.cpp:29:21: style: C-style pointer casting [cstyleCast] mednafen/src/gba/Mode4.cpp:104:21: style: C-style pointer casting [cstyleCast] mednafen/src/gba/Mode4.cpp:221:21: style: C-style pointer casting [cstyleCast] mednafen/src/gba/Mode5.cpp:37:21: style: C-style pointer casting [cstyleCast] mednafen/src/gba/Mode5.cpp:114:21: style: C-style pointer casting [cstyleCast] mednafen/src/gba/Mode5.cpp:232:21: style: C-style pointer casting [cstyleCast] mednafen/src/gba/RTC.cpp:40:2: performance: Variable 'sec' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/gba/RTC.cpp:41:2: performance: Variable 'min' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/gba/RTC.cpp:42:2: performance: Variable 'hour' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/gba/RTC.cpp:43:2: performance: Variable 'wday' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/gba/RTC.cpp:44:2: performance: Variable 'mday' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/gba/RTC.cpp:45:2: performance: Variable 'mon' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/gba/RTC.cpp:46:2: performance: Variable 'year' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/gba/RTC.h:66:7: performance:inconclusive: Technically the member function 'MDFN_IEN_GBA::RTC::BCDInc' can be static (but you may consider moving to unnamed namespace). [functionStatic] mednafen/src/gba/RTC.cpp:99:11: note: Technically the member function 'MDFN_IEN_GBA::RTC::BCDInc' can be static (but you may consider moving to unnamed namespace). mednafen/src/gba/RTC.h:66:7: note: Technically the member function 'MDFN_IEN_GBA::RTC::BCDInc' can be static (but you may consider moving to unnamed namespace). mednafen/src/gba/arm.cpp:1654:13: style: Variable 'armNextPC' is reassigned a value before the old one has been used. [redundantAssignment] mednafen/src/gba/arm.cpp:1650:14: note: armNextPC is assigned mednafen/src/gba/arm.cpp:1654:13: note: armNextPC is overwritten mednafen/src/gba/arm.cpp:1720:5: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] mednafen/src/gba/arm.cpp:1721:5: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] mednafen/src/gba/arm.cpp:2799:5: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] mednafen/src/gba/arm.cpp:2800:5: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] mednafen/src/gba/arm.cpp:2847:5: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] mednafen/src/gba/arm.cpp:2848:5: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] mednafen/src/gba/arm.cpp:2849:5: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] mednafen/src/gba/arm.cpp:2850:5: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] mednafen/src/gba/arm.cpp:2851:5: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] mednafen/src/gba/arm.cpp:2852:5: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] mednafen/src/gba/arm.cpp:2903:5: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] mednafen/src/gba/arm.cpp:2904:5: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] mednafen/src/gba/arm.cpp:2961:5: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] mednafen/src/gba/arm.cpp:2962:5: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] mednafen/src/gba/arm.cpp:3019:5: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] mednafen/src/gba/arm.cpp:3020:5: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] mednafen/src/gba/arm.cpp:3081:5: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] mednafen/src/gba/arm.cpp:3099:5: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] mednafen/src/gba/arm.cpp:3150:5: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] mednafen/src/gba/arm.cpp:3167:5: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] mednafen/src/gba/arm.cpp:3184:5: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] mednafen/src/gba/arm.cpp:3185:5: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] mednafen/src/gba/arm.cpp:3186:5: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] mednafen/src/gba/arm.cpp:3187:5: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] mednafen/src/gba/arm.cpp:3188:5: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] mednafen/src/gba/arm.cpp:3189:5: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] mednafen/src/gba/arm.cpp:3190:5: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] mednafen/src/gba/arm.cpp:3191:5: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] mednafen/src/gba/arm.cpp:3877:9: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] mednafen/src/gba/arm.cpp:3967:9: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] mednafen/src/gba/arm.cpp:4042:9: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] mednafen/src/gba/arm.cpp:4119:9: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] mednafen/src/gba/arm.cpp:4194:9: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] mednafen/src/gba/arm.cpp:4271:9: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] mednafen/src/gba/arm.cpp:4388:9: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] mednafen/src/gba/arm.cpp:4514:9: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] mednafen/src/gba/arm.cpp:4622:9: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] mednafen/src/gba/arm.cpp:4734:9: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] mednafen/src/gba/arm.cpp:4842:9: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] mednafen/src/gba/arm.cpp:4954:9: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] mednafen/src/gba/arm.cpp:5053:9: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] mednafen/src/gba/arm.cpp:5143:9: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] mednafen/src/gba/arm.cpp:5218:9: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] mednafen/src/gba/arm.cpp:5295:9: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] mednafen/src/gba/arm.cpp:5370:9: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] mednafen/src/gba/arm.cpp:5447:9: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] mednafen/src/gba/arm.cpp:5564:9: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] mednafen/src/gba/arm.cpp:5690:9: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] mednafen/src/gba/arm.cpp:5798:9: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] mednafen/src/gba/arm.cpp:5910:9: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] mednafen/src/gba/arm.cpp:6018:9: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] mednafen/src/gba/arm.cpp:6130:9: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] mednafen/src/gba/arm.cpp:6981:9: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] mednafen/src/gba/arm.cpp:7061:9: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] mednafen/src/gba/arm.cpp:7228:9: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] mednafen/src/gba/arm.cpp:7308:9: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] mednafen/src/gba/arm.cpp:7479:9: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] mednafen/src/gba/arm.cpp:7559:9: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] mednafen/src/gba/arm.cpp:7731:9: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] mednafen/src/gba/arm.cpp:7811:9: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] mednafen/src/gba/thumb.cpp:1423:6: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] mednafen/src/gba/thumb.cpp:1443:6: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] mednafen/src/gba/thumb.cpp:1472:6: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] mednafen/src/gba/thumb.cpp:1533:6: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] mednafen/src/gba/thumb.cpp:1552:6: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] mednafen/src/gba/thumb.cpp:1571:6: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] mednafen/src/gba/thumb.cpp:1590:6: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] mednafen/src/gba/thumb.cpp:1609:6: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] mednafen/src/gba/thumb.cpp:1628:6: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] mednafen/src/gba/thumb.cpp:1647:6: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] mednafen/src/gba/thumb.cpp:1666:6: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] mednafen/src/gba/thumb.cpp:1695:6: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] mednafen/src/gba/thumb.cpp:1717:6: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] mednafen/src/gba/thumb.cpp:1739:6: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] mednafen/src/gba/thumb.cpp:1761:6: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] mednafen/src/gba/thumb.cpp:1783:6: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] mednafen/src/gba/thumb.cpp:1805:6: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] mednafen/src/gba/thumb.cpp:1827:6: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] mednafen/src/gba/thumb.cpp:1849:6: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] mednafen/src/hash/crc.cpp:112:20: style: C-style pointer casting [cstyleCast] mednafen/src/hash/md5.cpp:173:14: style: C-style pointer casting [cstyleCast] mednafen/src/hash/sha1.cpp:38:2: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] mednafen/src/hash/sha1.cpp:78:23: style: C-style pointer casting [cstyleCast] mednafen/src/hash/sha1.cpp:98:13: style: C-style pointer casting [cstyleCast] mednafen/src/hash/sha256.cpp:121:14: style: C-style pointer casting [cstyleCast] mednafen/src/hash/sha256.cpp:89:55: style:inconclusive: Function 'process_block' argument 1 names different: declaration 'data' definition 'blk_data'. [funcArgNamesDifferent] mednafen/src/hash/sha256.h:67:34: note: Function 'process_block' argument 1 names different: declaration 'data' definition 'blk_data'. mednafen/src/hash/sha256.cpp:89:55: note: Function 'process_block' argument 1 names different: declaration 'data' definition 'blk_data'. mednafen/src/hw_cpu/m68k/gen.cpp:189:22: style: The scope of the variable 'op_names' can be reduced. [variableScope] mednafen/src/hw_cpu/m68k/gen.cpp:234:22: style: The scope of the variable 'op_names' can be reduced. [variableScope] mednafen/src/hw_cpu/m68k/gen.cpp:324:22: style: The scope of the variable 'tmp_reg' can be reduced. [variableScope] mednafen/src/hw_cpu/m68k/gen.cpp:357:18: style: Local variable 'szi' shadows outer variable [shadowVariable] mednafen/src/hw_cpu/m68k/gen.cpp:305:11: note: Shadowed declaration mednafen/src/hw_cpu/m68k/gen.cpp:357:18: note: Shadow variable mednafen/src/hw_cpu/m68k/gen.cpp:109:15: style: struct member 'Anonymous1::name' is never used. [unusedStructMember] mednafen/src/hw_cpu/m68k/gen.cpp:110:12: style: struct member 'Anonymous1::flags' is never used. [unusedStructMember] mednafen/src/hw_cpu/m68k/m68k.cpp:2252:34: warning: Assert statement calls a function which may have desired side effects: 'GetSR'. [assertWithSideEffect] mednafen/src/hw_cpu/m68k/m68k.cpp:426:3: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] mednafen/src/hw_cpu/m68k/m68k.cpp:1838:2: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] mednafen/src/hw_cpu/m68k/m68k.cpp:76:2: performance: Variable 'timestamp' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/hw_cpu/m68k/m68k.cpp:77:2: performance: Variable 'XPending' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/hw_cpu/m68k/m68k.cpp:78:2: performance: Variable 'IPL' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/hw_cpu/m68k/m68k.h:124:4: performance:inconclusive: Technically the member function 'Mednafen::M68K::Read < uint32 >' can be static (but you may consider moving to unnamed namespace). [functionStatic] mednafen/src/hw_cpu/m68k/m68k.cpp:185:16: note: Technically the member function 'Mednafen::M68K::Read < uint32 >' can be static (but you may consider moving to unnamed namespace). mednafen/src/hw_cpu/m68k/m68k.h:124:4: note: Technically the member function 'Mednafen::M68K::Read < uint32 >' can be static (but you may consider moving to unnamed namespace). mednafen/src/hw_cpu/m68k/m68k.h:129:7: performance:inconclusive: Technically the member function 'Mednafen::M68K::Write < uint32 , true >' can be static (but you may consider moving to unnamed namespace). [functionStatic] mednafen/src/hw_cpu/m68k/m68k.cpp:213:19: note: Technically the member function 'Mednafen::M68K::Write < uint32 , true >' can be static (but you may consider moving to unnamed namespace). mednafen/src/hw_cpu/m68k/m68k.h:129:7: note: Technically the member function 'Mednafen::M68K::Write < uint32 , true >' can be static (but you may consider moving to unnamed namespace). mednafen/src/hw_cpu/m68k/m68k.h:129:7: performance:inconclusive: Technically the member function 'Mednafen::M68K::Write < uint16 , true >' can be static (but you may consider moving to unnamed namespace). [functionStatic] mednafen/src/hw_cpu/m68k/m68k.cpp:213:19: note: Technically the member function 'Mednafen::M68K::Write < uint16 , true >' can be static (but you may consider moving to unnamed namespace). mednafen/src/hw_cpu/m68k/m68k.h:129:7: note: Technically the member function 'Mednafen::M68K::Write < uint16 , true >' can be static (but you may consider moving to unnamed namespace). mednafen/src/hw_cpu/m68k/m68k.h:177:7: style:inconclusive: Technically the member function 'Mednafen::M68K::GetC' can be const. [functionConst] mednafen/src/hw_cpu/m68k/m68k.cpp:513:19: note: Technically the member function 'Mednafen::M68K::GetC' can be const. mednafen/src/hw_cpu/m68k/m68k.h:177:7: note: Technically the member function 'Mednafen::M68K::GetC' can be const. mednafen/src/hw_cpu/m68k/m68k.h:178:7: style:inconclusive: Technically the member function 'Mednafen::M68K::GetV' can be const. [functionConst] mednafen/src/hw_cpu/m68k/m68k.cpp:514:19: note: Technically the member function 'Mednafen::M68K::GetV' can be const. mednafen/src/hw_cpu/m68k/m68k.h:178:7: note: Technically the member function 'Mednafen::M68K::GetV' can be const. mednafen/src/hw_cpu/m68k/m68k.h:179:7: style:inconclusive: Technically the member function 'Mednafen::M68K::GetZ' can be const. [functionConst] mednafen/src/hw_cpu/m68k/m68k.cpp:515:19: note: Technically the member function 'Mednafen::M68K::GetZ' can be const. mednafen/src/hw_cpu/m68k/m68k.h:179:7: note: Technically the member function 'Mednafen::M68K::GetZ' can be const. mednafen/src/hw_cpu/m68k/m68k.h:180:7: style:inconclusive: Technically the member function 'Mednafen::M68K::GetN' can be const. [functionConst] mednafen/src/hw_cpu/m68k/m68k.cpp:516:19: note: Technically the member function 'Mednafen::M68K::GetN' can be const. mednafen/src/hw_cpu/m68k/m68k.h:180:7: note: Technically the member function 'Mednafen::M68K::GetN' can be const. mednafen/src/hw_cpu/m68k/m68k.h:181:7: style:inconclusive: Technically the member function 'Mednafen::M68K::GetX' can be const. [functionConst] mednafen/src/hw_cpu/m68k/m68k.cpp:517:19: note: Technically the member function 'Mednafen::M68K::GetX' can be const. mednafen/src/hw_cpu/m68k/m68k.h:181:7: note: Technically the member function 'Mednafen::M68K::GetX' can be const. mednafen/src/hw_cpu/m68k/m68k.h:387:7: performance:inconclusive: Technically the member function 'Mednafen::M68K::TAS' can be static (but you may consider moving to unnamed namespace). [functionStatic] mednafen/src/hw_cpu/m68k/m68k.cpp:1721:19: note: Technically the member function 'Mednafen::M68K::TAS' can be static (but you may consider moving to unnamed namespace). mednafen/src/hw_cpu/m68k/m68k.h:387:7: note: Technically the member function 'Mednafen::M68K::TAS' can be static (but you may consider moving to unnamed namespace). mednafen/src/hw_cpu/m68k/m68k.h:421:7: performance:inconclusive: Technically the member function 'Mednafen::M68K::JMP' can be static (but you may consider moving to unnamed namespace). [functionStatic] mednafen/src/hw_cpu/m68k/m68k.cpp:1980:19: note: Technically the member function 'Mednafen::M68K::JMP' can be static (but you may consider moving to unnamed namespace). mednafen/src/hw_cpu/m68k/m68k.h:421:7: note: Technically the member function 'Mednafen::M68K::JMP' can be static (but you may consider moving to unnamed namespace). mednafen/src/hw_cpu/m68k/m68k.h:450:7: performance:inconclusive: Technically the member function 'Mednafen::M68K::NOP' can be static (but you may consider moving to unnamed namespace). [functionStatic] mednafen/src/hw_cpu/m68k/m68k.cpp:2172:19: note: Technically the member function 'Mednafen::M68K::NOP' can be static (but you may consider moving to unnamed namespace). mednafen/src/hw_cpu/m68k/m68k.h:450:7: note: Technically the member function 'Mednafen::M68K::NOP' can be static (but you may consider moving to unnamed namespace). mednafen/src/hw_cpu/m68k/m68k.h:34:2: style: Class 'M68K' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mednafen/src/hw_cpu/m68k/m68k.cpp:268:9: style: Struct 'HAM' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mednafen/src/hw_cpu/v810/v810_fp_ops.h:27:1: style: The class 'V810_FP_Ops' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] mednafen/src/hw_cpu/v810/v810_cpu.cpp:60:7: warning: Member variable 'V810::PC_ptr' is not initialized in the constructor. [uninitMemberVar] mednafen/src/hw_cpu/v810/v810_cpu.cpp:60:7: warning: Member variable 'V810::PC_base' is not initialized in the constructor. [uninitMemberVar] mednafen/src/hw_cpu/v810/v810_cpu.cpp:60:7: warning: Member variable 'V810::EmuMode' is not initialized in the constructor. [uninitMemberVar] mednafen/src/hw_cpu/v810/v810_cpu.cpp:60:7: warning: Member variable 'V810::VBMode' is not initialized in the constructor. [uninitMemberVar] mednafen/src/hw_cpu/v810/v810_cpu.cpp:60:7: warning: Member variable 'V810::Running' is not initialized in the constructor. [uninitMemberVar] mednafen/src/hw_cpu/v810/v810_cpu.cpp:60:7: warning: Member variable 'V810::ilevel' is not initialized in the constructor. [uninitMemberVar] mednafen/src/hw_cpu/v810/v810_cpu.cpp:60:7: warning: Member variable 'V810::in_bstr' is not initialized in the constructor. [uninitMemberVar] mednafen/src/hw_cpu/v810/v810_cpu.cpp:60:7: warning: Member variable 'V810::Cache' is not initialized in the constructor. [uninitMemberVar] mednafen/src/hw_cpu/v810/v810_cpu.cpp:60:7: warning: Member variable 'V810::have_src_cache' is not initialized in the constructor. [uninitMemberVar] mednafen/src/hw_cpu/v810/v810_cpu.cpp:60:7: warning: Member variable 'V810::have_dst_cache' is not initialized in the constructor. [uninitMemberVar] mednafen/src/hw_cpu/v810/v810_cpu.cpp:60:7: warning: Member variable 'V810::fpo' is not initialized in the constructor. [uninitMemberVar] mednafen/src/hw_cpu/v810/v810_fp_ops.h:50:16: style:inconclusive: Technically the member function 'Mednafen::V810_FP_Ops::get_flags' can be const. [functionConst] mednafen/src/hw_cpu/v810/v810_cpu.h:157:7: performance:inconclusive: Technically the member function 'Mednafen::V810::SetMemReadHandlers' can be static (but you may consider moving to unnamed namespace). [functionStatic] mednafen/src/hw_cpu/v810/v810_cpu.cpp:416:12: note: Technically the member function 'Mednafen::V810::SetMemReadHandlers' can be static (but you may consider moving to unnamed namespace). mednafen/src/hw_cpu/v810/v810_cpu.h:157:7: note: Technically the member function 'Mednafen::V810::SetMemReadHandlers' can be static (but you may consider moving to unnamed namespace). mednafen/src/hw_cpu/v810/v810_cpu.h:158:7: performance:inconclusive: Technically the member function 'Mednafen::V810::SetMemWriteHandlers' can be static (but you may consider moving to unnamed namespace). [functionStatic] mednafen/src/hw_cpu/v810/v810_cpu.cpp:423:12: note: Technically the member function 'Mednafen::V810::SetMemWriteHandlers' can be static (but you may consider moving to unnamed namespace). mednafen/src/hw_cpu/v810/v810_cpu.h:158:7: note: Technically the member function 'Mednafen::V810::SetMemWriteHandlers' can be static (but you may consider moving to unnamed namespace). mednafen/src/hw_cpu/v810/v810_cpu.h:160:7: performance:inconclusive: Technically the member function 'Mednafen::V810::SetIOReadHandlers' can be static (but you may consider moving to unnamed namespace). [functionStatic] mednafen/src/hw_cpu/v810/v810_cpu.cpp:430:12: note: Technically the member function 'Mednafen::V810::SetIOReadHandlers' can be static (but you may consider moving to unnamed namespace). mednafen/src/hw_cpu/v810/v810_cpu.h:160:7: note: Technically the member function 'Mednafen::V810::SetIOReadHandlers' can be static (but you may consider moving to unnamed namespace). mednafen/src/hw_cpu/v810/v810_cpu.h:161:7: performance:inconclusive: Technically the member function 'Mednafen::V810::SetIOWriteHandlers' can be static (but you may consider moving to unnamed namespace). [functionStatic] mednafen/src/hw_cpu/v810/v810_cpu.cpp:437:12: note: Technically the member function 'Mednafen::V810::SetIOWriteHandlers' can be static (but you may consider moving to unnamed namespace). mednafen/src/hw_cpu/v810/v810_cpu.h:161:7: note: Technically the member function 'Mednafen::V810::SetIOWriteHandlers' can be static (but you may consider moving to unnamed namespace). mednafen/src/hw_cpu/v810/v810_cpu.h:207:9: style:inconclusive: Technically the member function 'Mednafen::V810::GetPC' can be const. [functionConst] mednafen/src/hw_cpu/v810/v810_cpu.cpp:793:14: note: Technically the member function 'Mednafen::V810::GetPC' can be const. mednafen/src/hw_cpu/v810/v810_cpu.h:207:9: note: Technically the member function 'Mednafen::V810::GetPC' can be const. mednafen/src/hw_cpu/v810/v810_cpu.h:327:7: style:inconclusive: Technically the member function 'Mednafen::V810::CacheOpMemStore' can be const. [functionConst] mednafen/src/hw_cpu/v810/v810_cpu.cpp:139:19: note: Technically the member function 'Mednafen::V810::CacheOpMemStore' can be const. mednafen/src/hw_cpu/v810/v810_cpu.h:327:7: note: Technically the member function 'Mednafen::V810::CacheOpMemStore' can be const. mednafen/src/hw_cpu/v810/v810_cpu.h:328:9: style:inconclusive: Technically the member function 'Mednafen::V810::CacheOpMemLoad' can be const. [functionConst] mednafen/src/hw_cpu/v810/v810_cpu.cpp:156:21: note: Technically the member function 'Mednafen::V810::CacheOpMemLoad' can be const. mednafen/src/hw_cpu/v810/v810_cpu.h:328:9: note: Technically the member function 'Mednafen::V810::CacheOpMemLoad' can be const. mednafen/src/hw_cpu/v810/v810_cpu.h:344:9: style:inconclusive: Technically the member function 'Mednafen::V810::GetSREG' can be const. [functionConst] mednafen/src/hw_cpu/v810/v810_cpu.cpp:565:21: note: Technically the member function 'Mednafen::V810::GetSREG' can be const. mednafen/src/hw_cpu/v810/v810_cpu.h:344:9: note: Technically the member function 'Mednafen::V810::GetSREG' can be const. mednafen/src/hw_cpu/v810/v810_cpu.h:347:7: performance:inconclusive: Technically the member function 'Mednafen::V810::IsSubnormal' can be static (but you may consider moving to unnamed namespace). [functionStatic] mednafen/src/hw_cpu/v810/v810_cpu.cpp:1228:12: note: Technically the member function 'Mednafen::V810::IsSubnormal' can be static (but you may consider moving to unnamed namespace). mednafen/src/hw_cpu/v810/v810_cpu.h:347:7: note: Technically the member function 'Mednafen::V810::IsSubnormal' can be static (but you may consider moving to unnamed namespace). mednafen/src/hw_cpu/v810/v810_cpu.h:355:9: style:inconclusive: Technically the member function 'Mednafen::V810::BSTR_RWORD' can be const. [functionConst] mednafen/src/hw_cpu/v810/v810_cpu.cpp:825:21: note: Technically the member function 'Mednafen::V810::BSTR_RWORD' can be const. mednafen/src/hw_cpu/v810/v810_cpu.h:355:9: note: Technically the member function 'Mednafen::V810::BSTR_RWORD' can be const. mednafen/src/hw_cpu/v810/v810_cpu.h:356:7: style:inconclusive: Technically the member function 'Mednafen::V810::BSTR_WWORD' can be const. [functionConst] mednafen/src/hw_cpu/v810/v810_cpu.cpp:845:19: note: Technically the member function 'Mednafen::V810::BSTR_WWORD' can be const. mednafen/src/hw_cpu/v810/v810_cpu.h:356:7: note: Technically the member function 'Mednafen::V810::BSTR_WWORD' can be const. mednafen/src/hw_cpu/v810/v810_cpu.cpp:742:14: style: Comparing expression of type 'unsigned int' against value 0. Condition is always true. [compareValueOutOfTypeRangeError] mednafen/src/hw_cpu/v810/v810_cpu.cpp:774:14: style: Comparing expression of type 'unsigned int' against value 0. Condition is always true. [compareValueOutOfTypeRangeError] mednafen/src/hw_cpu/v810/v810_cpu.cpp:742:11: style: Unsigned expression 'which' can't be negative so it is unnecessary to test it. [unsignedPositive] mednafen/src/hw_cpu/v810/v810_cpu.cpp:774:11: style: Unsigned expression 'which' can't be negative so it is unnecessary to test it. [unsignedPositive] mednafen/src/hw_cpu/v810/v810_cpu.cpp:616:29: style: Variable 'RB_AccurateMode' is assigned a value that is never used. [unreadVariable] mednafen/src/hw_cpu/v810/v810_cpu.cpp:670:29: style: Variable 'RB_AccurateMode' is assigned a value that is never used. [unreadVariable] mednafen/src/hw_cpu/v810/v810_cpuD.cpp:252:28: style:inconclusive: Boolean expression 'opcode>0x4F' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] mednafen/src/hw_cpu/v810/v810_cpuD.cpp:231:9: style: The scope of the variable 'lowB' can be reduced. [variableScope] mednafen/src/hw_cpu/v810/v810_cpuD.cpp:231:15: style: The scope of the variable 'highB' can be reduced. [variableScope] mednafen/src/hw_cpu/v810/v810_cpuD.cpp:231:22: style: The scope of the variable 'lowB2' can be reduced. [variableScope] mednafen/src/hw_cpu/v810/v810_cpuD.cpp:231:29: style: The scope of the variable 'highB2' can be reduced. [variableScope] mednafen/src/hw_cpu/v810/v810_cpuD.cpp:232:9: style: The scope of the variable 'opcode' can be reduced. [variableScope] mednafen/src/hw_cpu/v810/v810_cpuD.cpp:229:23: style:inconclusive: Function 'v810_dis' argument 1 names different: declaration 'PC' definition 'tPC'. [funcArgNamesDifferent] mednafen/src/hw_cpu/v810/v810_cpuD.h:12:23: note: Function 'v810_dis' argument 1 names different: declaration 'PC' definition 'tPC'. mednafen/src/hw_cpu/v810/v810_cpuD.cpp:229:23: note: Function 'v810_dis' argument 1 names different: declaration 'PC' definition 'tPC'. mednafen/src/hw_cpu/v810/v810_cpuD.cpp:42:17: style: struct member 'dasms::offset' is never used. [unusedStructMember] mednafen/src/hw_cpu/v810/v810_cpuD.cpp:45:22: style: struct member 'dasms::nextElement' is never used. [unusedStructMember] mednafen/src/hw_cpu/v810/v810_fp_ops.h:71:7: performance:inconclusive: Technically the member function 'Mednafen::V810_FP_Ops::fp_is_zero' can be static (but you may consider moving to unnamed namespace). [functionStatic] mednafen/src/hw_cpu/v810/v810_fp_ops.cpp:27:19: note: Technically the member function 'Mednafen::V810_FP_Ops::fp_is_zero' can be static (but you may consider moving to unnamed namespace). mednafen/src/hw_cpu/v810/v810_fp_ops.h:71:7: note: Technically the member function 'Mednafen::V810_FP_Ops::fp_is_zero' can be static (but you may consider moving to unnamed namespace). mednafen/src/hw_cpu/v810/v810_fp_ops.h:72:7: performance:inconclusive: Technically the member function 'Mednafen::V810_FP_Ops::fp_is_inf_nan_sub' can be static (but you may consider moving to unnamed namespace). [functionStatic] mednafen/src/hw_cpu/v810/v810_fp_ops.cpp:44:19: note: Technically the member function 'Mednafen::V810_FP_Ops::fp_is_inf_nan_sub' can be static (but you may consider moving to unnamed namespace). mednafen/src/hw_cpu/v810/v810_fp_ops.h:72:7: note: Technically the member function 'Mednafen::V810_FP_Ops::fp_is_inf_nan_sub' can be static (but you may consider moving to unnamed namespace). mednafen/src/hw_cpu/v810/v810_fp_ops.h:75:7: performance:inconclusive: Technically the member function 'Mednafen::V810_FP_Ops::fpim_decode' can be static (but you may consider moving to unnamed namespace). [functionStatic] mednafen/src/hw_cpu/v810/v810_fp_ops.cpp:58:19: note: Technically the member function 'Mednafen::V810_FP_Ops::fpim_decode' can be static (but you may consider moving to unnamed namespace). mednafen/src/hw_cpu/v810/v810_fp_ops.h:75:7: note: Technically the member function 'Mednafen::V810_FP_Ops::fpim_decode' can be static (but you may consider moving to unnamed namespace). mednafen/src/hw_cpu/v810/v810_fp_ops.cpp:160:19: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] mednafen/src/hw_cpu/z80-fuse/opcodes_base.c:28:7: error: syntax error: keyword 'break' is not allowed in global scope [syntaxError] mednafen/src/hw_cpu/z80-fuse/z80.cpp:75:9: style: The scope of the variable 'j' can be reduced. [variableScope] mednafen/src/hw_cpu/z80-fuse/z80_cb.c:29:7: error: syntax error: keyword 'break' is not allowed in global scope [syntaxError] mednafen/src/hw_cpu/z80-fuse/z80_ddfd.c:36:7: error: syntax error: keyword 'break' is not allowed in global scope [syntaxError] mednafen/src/hw_cpu/z80-fuse/z80_ddfdcb.c:32:7: error: syntax error: keyword 'break' is not allowed in global scope [syntaxError] mednafen/src/hw_cpu/z80-fuse/z80_ed.c:29:7: error: syntax error: keyword 'break' is not allowed in global scope [syntaxError] mednafen/src/hw_misc/arcade_card/arcade_card.h:47:7: style:inconclusive: Technically the member function 'Mednafen::ArcadeCard::PeekRAM' can be const. [functionConst] mednafen/src/hw_misc/arcade_card/arcade_card.cpp:334:18: note: Technically the member function 'Mednafen::ArcadeCard::PeekRAM' can be const. mednafen/src/hw_misc/arcade_card/arcade_card.h:47:7: note: Technically the member function 'Mednafen::ArcadeCard::PeekRAM' can be const. mednafen/src/hw_sound/gb_apu/Gb_Oscs.h:137:1: style: The class 'Gb_Wave' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] mednafen/src/hw_sound/gb_apu/Gb_Oscs.h:146:7: style:inconclusive: Technically the member function 'Gb_Wave::write' can be const. [functionConst] mednafen/src/hw_sound/gb_apu/Gb_Oscs.h:183:22: note: Technically the member function 'Gb_Wave::write' can be const. mednafen/src/hw_sound/gb_apu/Gb_Oscs.h:146:7: note: Technically the member function 'Gb_Wave::write' can be const. mednafen/src/hw_sound/gb_apu/blargg_common.h:59:13: style: C-style pointer casting [cstyleCast] mednafen/src/hw_sound/gb_apu/Gb_Apu.cpp:37:90: style:inconclusive: Function 'set_output' argument 4 names different: declaration 'chan' definition 'osc'. [funcArgNamesDifferent] mednafen/src/hw_sound/gb_apu/Gb_Apu.h:23:8: note: Function 'set_output' argument 4 names different: declaration 'chan' definition 'osc'. mednafen/src/hw_sound/gb_apu/Gb_Apu.cpp:37:90: note: Function 'set_output' argument 4 names different: declaration 'chan' definition 'osc'. mednafen/src/hw_sound/gb_apu/Gb_Apu.cpp:247:37: style:inconclusive: Function 'end_frame' argument 1 names different: declaration 'frame_length' definition 'end_time'. [funcArgNamesDifferent] mednafen/src/hw_sound/gb_apu/Gb_Apu.h:51:30: note: Function 'end_frame' argument 1 names different: declaration 'frame_length' definition 'end_time'. mednafen/src/hw_sound/gb_apu/Gb_Apu.cpp:247:37: note: Function 'end_frame' argument 1 names different: declaration 'frame_length' definition 'end_time'. mednafen/src/hw_sound/gb_apu/Gb_Apu.cpp:330:19: style: Local variable 'oscs' shadows outer variable [shadowVariable] mednafen/src/hw_sound/gb_apu/Gb_Apu.h:105:14: note: Shadowed declaration mednafen/src/hw_sound/gb_apu/Gb_Apu.cpp:330:19: note: Shadow variable mednafen/src/hw_sound/gb_apu/Gb_Apu.cpp:344:19: style: Local variable 'oscs' shadows outer variable [shadowVariable] mednafen/src/hw_sound/gb_apu/Gb_Apu.h:105:14: note: Shadowed declaration mednafen/src/hw_sound/gb_apu/Gb_Apu.cpp:344:19: note: Shadow variable mednafen/src/hw_sound/gb_apu/Gb_Apu.h:135:7: style:inconclusive: Technically the member function 'Gb_Apu::save_load2' can be const. [functionConst] mednafen/src/hw_sound/gb_apu/Gb_Apu_State.cpp:76:21: note: Technically the member function 'Gb_Apu::save_load2' can be const. mednafen/src/hw_sound/gb_apu/Gb_Apu.h:135:7: note: Technically the member function 'Gb_Apu::save_load2' can be const. mednafen/src/hw_sound/gb_apu/Gb_Apu_State.cpp:97:42: style:inconclusive: Function 'save_state' argument 1 names different: declaration 'state_out' definition 'out'. [funcArgNamesDifferent] mednafen/src/hw_sound/gb_apu/Gb_Apu.h:86:35: note: Function 'save_state' argument 1 names different: declaration 'state_out' definition 'out'. mednafen/src/hw_sound/gb_apu/Gb_Apu_State.cpp:97:42: note: Function 'save_state' argument 1 names different: declaration 'state_out' definition 'out'. mednafen/src/hw_sound/gb_apu/Gb_Oscs.cpp:195:60: style:inconclusive: Function 'write_register' argument 3 names different: declaration 'old_data' definition 'old'. [funcArgNamesDifferent] mednafen/src/hw_sound/gb_apu/Gb_Oscs.h:58:53: note: Function 'write_register' argument 3 names different: declaration 'old_data' definition 'old'. mednafen/src/hw_sound/gb_apu/Gb_Oscs.cpp:195:60: note: Function 'write_register' argument 3 names different: declaration 'old_data' definition 'old'. mednafen/src/hw_sound/pce_psg/pce_psg.cpp:117:40: error: Array 'dbtable[32][32]' accessed at index dbtable[*][32], which is out of bounds. [arrayIndexOutOfBounds] mednafen/src/hw_sound/pce_psg/pce_psg.cpp:115:33: note: Assignment 'sv=((ch->lfsr&1)<<5)-(ch->lfsr&1)', assigned value is 32 mednafen/src/hw_sound/pce_psg/pce_psg.cpp:117:40: note: Array index out of bounds mednafen/src/hw_sound/pce_psg/pce_psg.cpp:117:40: error: Array 'dbtable[32][32]' accessed at index dbtable[*][-1], which is out of bounds. [negativeIndex] mednafen/src/hw_sound/pce_psg/pce_psg.cpp:115:33: note: Assignment 'sv=((ch->lfsr&1)<<5)-(ch->lfsr&1)', assigned value is -1 mednafen/src/hw_sound/pce_psg/pce_psg.cpp:117:40: note: Negative array index mednafen/src/hw_sound/pce_psg/pce_psg.cpp:118:12: error: Array 'dbtable[32][32]' accessed at index dbtable[*][32], which is out of bounds. [arrayIndexOutOfBounds] mednafen/src/hw_sound/pce_psg/pce_psg.cpp:115:33: note: Assignment 'sv=((ch->lfsr&1)<<5)-(ch->lfsr&1)', assigned value is 32 mednafen/src/hw_sound/pce_psg/pce_psg.cpp:118:12: note: Array index out of bounds mednafen/src/hw_sound/pce_psg/pce_psg.cpp:118:12: error: Array 'dbtable[32][32]' accessed at index dbtable[*][-1], which is out of bounds. [negativeIndex] mednafen/src/hw_sound/pce_psg/pce_psg.cpp:115:33: note: Assignment 'sv=((ch->lfsr&1)<<5)-(ch->lfsr&1)', assigned value is -1 mednafen/src/hw_sound/pce_psg/pce_psg.cpp:118:12: note: Negative array index mednafen/src/hw_sound/pce_psg/pce_psg.h:145:9: style:inconclusive: Technically the member function 'Mednafen::PCE_PSG::GetRegister' can be const. [functionConst] mednafen/src/hw_sound/pce_psg/pce_psg.cpp:237:17: note: Technically the member function 'Mednafen::PCE_PSG::GetRegister' can be const. mednafen/src/hw_sound/pce_psg/pce_psg.h:145:9: note: Technically the member function 'Mednafen::PCE_PSG::GetRegister' can be const. mednafen/src/hw_sound/pce_psg/pce_psg.h:148:7: style:inconclusive: Technically the member function 'Mednafen::PCE_PSG::PeekWave' can be const. [functionConst] mednafen/src/hw_sound/pce_psg/pce_psg.cpp:209:15: note: Technically the member function 'Mednafen::PCE_PSG::PeekWave' can be const. mednafen/src/hw_sound/pce_psg/pce_psg.h:148:7: note: Technically the member function 'Mednafen::PCE_PSG::PeekWave' can be const. mednafen/src/hw_sound/sms_apu/Sms_Apu.cpp:22:10: warning: Member variable 'Sms_Osc::output_select' is not initialized in the constructor. [uninitMemberVar] mednafen/src/hw_sound/sms_apu/Sms_Apu.cpp:22:10: warning: Member variable 'Sms_Osc::delay' is not initialized in the constructor. [uninitMemberVar] mednafen/src/hw_sound/sms_apu/Sms_Apu.cpp:22:10: warning: Member variable 'Sms_Osc::last_amp' is not initialized in the constructor. [uninitMemberVar] mednafen/src/hw_sound/sms_apu/Sms_Apu.cpp:22:10: warning: Member variable 'Sms_Osc::volume' is not initialized in the constructor. [uninitMemberVar] mednafen/src/hw_sound/sms_apu/Sms_Apu.h:45:7: style:inconclusive: Technically the member function 'Sms_Apu::osc_output' can be const. [functionConst] mednafen/src/hw_sound/sms_apu/Sms_Apu.cpp:188:15: note: Technically the member function 'Sms_Apu::osc_output' can be const. mednafen/src/hw_sound/sms_apu/Sms_Apu.h:45:7: note: Technically the member function 'Sms_Apu::osc_output' can be const. mednafen/src/hw_sound/sms_apu/Sms_Apu.h:60:14: style:inconclusive: Technically the member function 'Sms_Apu::save_state' can be const. [functionConst] mednafen/src/hw_sound/sms_apu/Sms_Apu.cpp:334:15: note: Technically the member function 'Sms_Apu::save_state' can be const. mednafen/src/hw_sound/sms_apu/Sms_Apu.h:60:14: note: Technically the member function 'Sms_Apu::save_state' can be const. mednafen/src/hw_sound/sms_apu/Sms_Apu.h:84:43: style:inconclusive: Function 'output' argument 1 names different: declaration 'mono' definition 'b'. [funcArgNamesDifferent] mednafen/src/hw_sound/sms_apu/Sms_Apu.h:37:28: note: Function 'output' argument 1 names different: declaration 'mono' definition 'b'. mednafen/src/hw_sound/sms_apu/Sms_Apu.h:84:43: note: Function 'output' argument 1 names different: declaration 'mono' definition 'b'. mednafen/src/hw_sound/sms_apu/Sms_Apu.h:86:38: style:inconclusive: Function 'osc_output' argument 1 names different: declaration 'index' definition 'i'. [funcArgNamesDifferent] mednafen/src/hw_sound/sms_apu/Sms_Apu.h:44:23: note: Function 'osc_output' argument 1 names different: declaration 'index' definition 'i'. mednafen/src/hw_sound/sms_apu/Sms_Apu.h:86:38: note: Function 'osc_output' argument 1 names different: declaration 'index' definition 'i'. mednafen/src/hw_sound/sms_apu/Sms_Apu.h:86:54: style:inconclusive: Function 'osc_output' argument 2 names different: declaration 'mono' definition 'b'. [funcArgNamesDifferent] mednafen/src/hw_sound/sms_apu/Sms_Apu.h:44:43: note: Function 'osc_output' argument 2 names different: declaration 'mono' definition 'b'. mednafen/src/hw_sound/sms_apu/Sms_Apu.h:86:54: note: Function 'osc_output' argument 2 names different: declaration 'mono' definition 'b'. mednafen/src/hw_sound/sms_apu/Sms_Apu.cpp:205:31: style:inconclusive: Function 'reset' argument 1 names different: declaration 'noise_feedback' definition 'feedback'. [funcArgNamesDifferent] mednafen/src/hw_sound/sms_apu/Sms_Apu.h:48:23: note: Function 'reset' argument 1 names different: declaration 'noise_feedback' definition 'feedback'. mednafen/src/hw_sound/sms_apu/Sms_Apu.cpp:205:31: note: Function 'reset' argument 1 names different: declaration 'noise_feedback' definition 'feedback'. mednafen/src/hw_sound/sms_apu/Sms_Apu.cpp:240:13: style: Variable 'osc' can be declared as reference to const [constVariable] mednafen/src/hw_sound/ym2413/emu2413.cpp:858:72: style:inconclusive: Boolean expression 'opll->slot_on_flag[14]&&opll->slot_on_flag[15]' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] mednafen/src/hw_sound/ym2413/emu2413.cpp:878:74: style:inconclusive: Boolean expression 'opll->slot_on_flag[17]&&opll->slot_on_flag[16]' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] mednafen/src/hw_sound/ym2413/emu2413.cpp:1308:33: style:inconclusive: Boolean expression '!((slot->pgout>>(9-5))&1)' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] mednafen/src/hw_sound/ym2413/emu2413.cpp:1330:32: style:inconclusive: Boolean expression '!(((pgout_cym)>>(9-5))&1)' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] mednafen/src/hw_sound/ym2413/emu2413.cpp:1308:33: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] mednafen/src/hw_sound/ym2413/emu2413.cpp:1330:32: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] mednafen/src/hw_sound/ym2413/emu2413.cpp:986:11: style: C-style pointer casting [cstyleCast] mednafen/src/hw_sound/ym2413/emu2413.cpp:979:30: style:inconclusive: Function 'EMU2413_new' argument 1 names different: declaration 'clk' definition 'new_clk'. [funcArgNamesDifferent] mednafen/src/hw_sound/ym2413/emu2413.h:93:29: note: Function 'EMU2413_new' argument 1 names different: declaration 'clk' definition 'new_clk'. mednafen/src/hw_sound/ym2413/emu2413.cpp:979:30: note: Function 'EMU2413_new' argument 1 names different: declaration 'clk' definition 'new_clk'. mednafen/src/hw_sound/ym2413/emu2413.cpp:1450:59: style:inconclusive: Function 'EMU2413_writeReg' argument 3 names different: declaration 'val' definition 'data'. [funcArgNamesDifferent] mednafen/src/hw_sound/ym2413/emu2413.h:103:53: note: Function 'EMU2413_writeReg' argument 3 names different: declaration 'val' definition 'data'. mednafen/src/hw_sound/ym2413/emu2413.cpp:1450:59: note: Function 'EMU2413_writeReg' argument 3 names different: declaration 'val' definition 'data'. mednafen/src/hw_sound/ym2413/emu2413.cpp:1687:46: style:inconclusive: Function 'EMU2413_writeIO' argument 2 names different: declaration 'reg' definition 'adr'. [funcArgNamesDifferent] mednafen/src/hw_sound/ym2413/emu2413.h:102:40: note: Function 'EMU2413_writeIO' argument 2 names different: declaration 'reg' definition 'adr'. mednafen/src/hw_sound/ym2413/emu2413.cpp:1687:46: note: Function 'EMU2413_writeIO' argument 2 names different: declaration 'reg' definition 'adr'. mednafen/src/hw_sound/ym2413/emu2413.cpp:342:17: style: Variable 'kltable' can be declared as const array [constVariable] mednafen/src/hw_sound/ym2413/emu2413.cpp:1138:17: style: Variable 'SL' can be declared as const array [constVariable] mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:819:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:593:14: warning: Either the condition 'opn_addr<0x30' is redundant or the array 'YM2612.REG[2][256]' is accessed at index YM2612.REG[0][256], which is out of bounds. [arrayIndexOutOfBoundsCond] mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:586:16: note: Assuming that condition 'opn_addr<0x30' is not redundant mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:593:14: note: Array index out of bounds mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:608:14: warning: Either the condition 'opn_addr>=0x30' is redundant or the array 'YM2612.REG[2][256]' is accessed at index YM2612.REG[1][256], which is out of bounds. [arrayIndexOutOfBoundsCond] mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:606:16: note: Assuming that condition 'opn_addr>=0x30' is not redundant mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:608:14: note: Array index out of bounds mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:229:6: style:inconclusive: Technically the member function 'Mednafen::Ym2612_Impl::read' can be const. [functionConst] mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:617:25: note: Technically the member function 'Mednafen::Ym2612_Impl::read' can be const. mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:229:6: note: Technically the member function 'Mednafen::Ym2612_Impl::read' can be const. mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:570:2: warning: Class 'Ym2612_Emu' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:570:2: warning: Class 'Ym2612_Emu' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:981:19: style: The comparison 'version_saved != cur_version' is always false because 'version_saved' and 'cur_version' represent the same value. [knownConditionTrueFalse] mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:975:22: note: 'version_saved' is assigned value 'cur_version' here. mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:981:19: note: The comparison 'version_saved != cur_version' is always false because 'version_saved' and 'cur_version' represent the same value. mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:582:31: style:inconclusive: Function 'write0' argument 1 names different: declaration 'addr' definition 'opn_addr'. [funcArgNamesDifferent] mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:227:19: note: Function 'write0' argument 1 names different: declaration 'addr' definition 'opn_addr'. mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:582:31: note: Function 'write0' argument 1 names different: declaration 'addr' definition 'opn_addr'. mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:602:31: style:inconclusive: Function 'write1' argument 1 names different: declaration 'addr' definition 'opn_addr'. [funcArgNamesDifferent] mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:228:19: note: Function 'write1' argument 1 names different: declaration 'addr' definition 'opn_addr'. mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:602:31: note: Function 'write1' argument 1 names different: declaration 'addr' definition 'opn_addr'. mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:979:9: warning:inconclusive: Found suspicious operator '^', result is not used. [constStatement] mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:990:11: warning:inconclusive: Found suspicious operator '^', result is not used. [constStatement] mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:994:9: warning:inconclusive: Found suspicious operator '^', result is not used. [constStatement] mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:995:9: warning:inconclusive: Found suspicious operator '^', result is not used. [constStatement] mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:996:9: warning:inconclusive: Found suspicious operator '^', result is not used. [constStatement] mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:997:9: warning:inconclusive: Found suspicious operator '^', result is not used. [constStatement] mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:998:9: warning:inconclusive: Found suspicious operator '^', result is not used. [constStatement] mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:999:9: warning:inconclusive: Found suspicious operator '^', result is not used. [constStatement] mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:1000:9: warning:inconclusive: Found suspicious operator '^', result is not used. [constStatement] mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:1001:9: warning:inconclusive: Found suspicious operator '^', result is not used. [constStatement] mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:1002:9: warning:inconclusive: Found suspicious operator '^', result is not used. [constStatement] mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:1003:9: warning:inconclusive: Found suspicious operator '^', result is not used. [constStatement] mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:1004:9: warning:inconclusive: Found suspicious operator '^', result is not used. [constStatement] mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:1005:9: warning:inconclusive: Found suspicious operator '^', result is not used. [constStatement] mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:1007:9: warning:inconclusive: Found suspicious operator '^', result is not used. [constStatement] mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:1008:9: warning:inconclusive: Found suspicious operator '^', result is not used. [constStatement] mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:1017:11: warning:inconclusive: Found suspicious operator '^', result is not used. [constStatement] mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:1020:10: warning:inconclusive: Found suspicious operator '^', result is not used. [constStatement] mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:1021:10: warning:inconclusive: Found suspicious operator '^', result is not used. [constStatement] mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:1022:10: warning:inconclusive: Found suspicious operator '^', result is not used. [constStatement] mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:1023:10: warning:inconclusive: Found suspicious operator '^', result is not used. [constStatement] mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:1024:10: warning:inconclusive: Found suspicious operator '^', result is not used. [constStatement] mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:1025:10: warning:inconclusive: Found suspicious operator '^', result is not used. [constStatement] mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:1035:11: warning:inconclusive: Found suspicious operator '^', result is not used. [constStatement] mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:1040:11: warning:inconclusive: Found suspicious operator '^', result is not used. [constStatement] mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:1044:11: warning:inconclusive: Found suspicious operator '^', result is not used. [constStatement] mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:1057:11: warning:inconclusive: Found suspicious operator '^', result is not used. [constStatement] mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:1065:11: warning:inconclusive: Found suspicious operator '^', result is not used. [constStatement] mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:1066:11: warning:inconclusive: Found suspicious operator '^', result is not used. [constStatement] mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:1068:11: warning:inconclusive: Found suspicious operator '^', result is not used. [constStatement] mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:1070:11: warning:inconclusive: Found suspicious operator '^', result is not used. [constStatement] mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:1071:11: warning:inconclusive: Found suspicious operator '^', result is not used. [constStatement] mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:1072:11: warning:inconclusive: Found suspicious operator '^', result is not used. [constStatement] mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:716:61: style: Parameter 'g' can be declared as reference to const [constParameter] mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:716:61: style: Parameter 'g' can be declared as reference to const. However it seems that 'func' is a callback function, if 'g' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:832:26: note: You might need to cast the function pointer here mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:716:61: note: Parameter 'g' can be declared as reference to const mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:716:61: style: Parameter 'g' can be declared as reference to const. However it seems that 'func' is a callback function, if 'g' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:833:26: note: You might need to cast the function pointer here mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:716:61: note: Parameter 'g' can be declared as reference to const mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:716:61: style: Parameter 'g' can be declared as reference to const. However it seems that 'func' is a callback function, if 'g' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:834:26: note: You might need to cast the function pointer here mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:716:61: note: Parameter 'g' can be declared as reference to const mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:716:61: style: Parameter 'g' can be declared as reference to const. However it seems that 'func' is a callback function, if 'g' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:835:26: note: You might need to cast the function pointer here mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:716:61: note: Parameter 'g' can be declared as reference to const mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:716:61: style: Parameter 'g' can be declared as reference to const. However it seems that 'func' is a callback function, if 'g' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:836:26: note: You might need to cast the function pointer here mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:716:61: note: Parameter 'g' can be declared as reference to const mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:716:61: style: Parameter 'g' can be declared as reference to const. However it seems that 'func' is a callback function, if 'g' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:837:26: note: You might need to cast the function pointer here mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:716:61: note: Parameter 'g' can be declared as reference to const mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:811:3: error: Uninitialized variable: CH_OUTd [legacyUninitvar] mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:819:7: style: Variable 'buf' is assigned a value that is never used. [unreadVariable] mednafen/src/hw_video/huc6270/vdc.h:181:8: style:inconclusive: Boolean expression 'A' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] mednafen/src/hw_video/huc6270/vdc.h:261:7: style:inconclusive: Technically the member function 'Mednafen::VDC::FixTileCache' can be const. [functionConst] mednafen/src/hw_video/huc6270/vdc.cpp:47:11: note: Technically the member function 'Mednafen::VDC::FixTileCache' can be const. mednafen/src/hw_video/huc6270/vdc.h:261:7: note: Technically the member function 'Mednafen::VDC::FixTileCache' can be const. mednafen/src/hw_video/huc6270/vdc.h:271:7: style:inconclusive: Technically the member function 'Mednafen::VDC::StateExtra' can be const. [functionConst] mednafen/src/hw_video/huc6270/vdc.cpp:1721:11: note: Technically the member function 'Mednafen::VDC::StateExtra' can be const. mednafen/src/hw_video/huc6270/vdc.h:271:7: note: Technically the member function 'Mednafen::VDC::StateExtra' can be const. mednafen/src/hw_video/huc6270/vdc.h:332:9: style:inconclusive: Technically the member function 'Mednafen::VDC::GetRegister' can be const. [functionConst] mednafen/src/hw_video/huc6270/vdc.cpp:88:13: note: Technically the member function 'Mednafen::VDC::GetRegister' can be const. mednafen/src/hw_video/huc6270/vdc.h:332:9: note: Technically the member function 'Mednafen::VDC::GetRegister' can be const. mednafen/src/hw_video/huc6270/vdc.h:357:6: style:inconclusive: Technically the member function 'Mednafen::VDC::TimeFromHDSStartToBYRLatch' can be const. [functionConst] mednafen/src/hw_video/huc6270/vdc.cpp:468:10: note: Technically the member function 'Mednafen::VDC::TimeFromHDSStartToBYRLatch' can be const. mednafen/src/hw_video/huc6270/vdc.h:357:6: note: Technically the member function 'Mednafen::VDC::TimeFromHDSStartToBYRLatch' can be const. mednafen/src/hw_video/huc6270/vdc.h:358:6: style:inconclusive: Technically the member function 'Mednafen::VDC::TimeFromBYRLatchToBXRLatch' can be const. [functionConst] mednafen/src/hw_video/huc6270/vdc.cpp:481:10: note: Technically the member function 'Mednafen::VDC::TimeFromBYRLatchToBXRLatch' can be const. mednafen/src/hw_video/huc6270/vdc.h:358:6: note: Technically the member function 'Mednafen::VDC::TimeFromBYRLatchToBXRLatch' can be const. mednafen/src/hw_video/huc6270/vdc.h:421:7: style:inconclusive: Technically the member function 'Mednafen::VDC::CalcWidthStartEnd' can be const. [functionConst] mednafen/src/hw_video/huc6270/vdc.cpp:835:11: note: Technically the member function 'Mednafen::VDC::CalcWidthStartEnd' can be const. mednafen/src/hw_video/huc6270/vdc.h:421:7: note: Technically the member function 'Mednafen::VDC::CalcWidthStartEnd' can be const. mednafen/src/hw_video/huc6270/vdc.cpp:858:22: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] mednafen/src/hw_video/huc6270/vdc.cpp:392:13: style: Variable 'NeedBGYInc' is reassigned a value before the old one has been used. [redundantAssignment] mednafen/src/hw_video/huc6270/vdc.cpp:385:14: note: NeedBGYInc is assigned mednafen/src/hw_video/huc6270/vdc.cpp:392:13: note: NeedBGYInc is overwritten mednafen/src/hw_video/huc6270/vdc.cpp:1701:36: style:inconclusive: Function 'SetVRAMSize' argument 1 names different: declaration 'par_VRAM_size' definition 'par_VRAM_Size'. [funcArgNamesDifferent] mednafen/src/hw_video/huc6270/vdc.h:66:32: note: Function 'SetVRAMSize' argument 1 names different: declaration 'par_VRAM_size' definition 'par_VRAM_Size'. mednafen/src/hw_video/huc6270/vdc.cpp:1701:36: note: Function 'SetVRAMSize' argument 1 names different: declaration 'par_VRAM_size' definition 'par_VRAM_Size'. mednafen/src/hw_video/huc6270/vdc.cpp:1727:13: warning:inconclusive: Found suspicious operator '^', result is not used. [constStatement] mednafen/src/hw_video/huc6270/vdc.cpp:1728:13: warning:inconclusive: Found suspicious operator '^', result is not used. [constStatement] mednafen/src/hw_video/huc6270/vdc.cpp:1729:13: warning:inconclusive: Found suspicious operator '^', result is not used. [constStatement] mednafen/src/hw_video/huc6270/vdc.cpp:1732:14: warning:inconclusive: Found suspicious operator '^', result is not used. [constStatement] mednafen/src/lynx/ram.h:70:10: performance:inconclusive: Technically the member function 'CRam::ReadCycle' can be static (but you may consider moving to unnamed namespace). [functionStatic] mednafen/src/lynx/ram.h:71:10: performance:inconclusive: Technically the member function 'CRam::WriteCycle' can be static (but you may consider moving to unnamed namespace). [functionStatic] mednafen/src/lynx/rom.h:69:10: performance:inconclusive: Technically the member function 'CRom::ReadCycle' can be static (but you may consider moving to unnamed namespace). [functionStatic] mednafen/src/lynx/rom.h:70:10: performance:inconclusive: Technically the member function 'CRom::WriteCycle' can be static (but you may consider moving to unnamed namespace). [functionStatic] mednafen/src/lynx/memmap.h:79:10: performance:inconclusive: Technically the member function 'CMemMap::ReadCycle' can be static (but you may consider moving to unnamed namespace). [functionStatic] mednafen/src/lynx/memmap.h:80:10: performance:inconclusive: Technically the member function 'CMemMap::WriteCycle' can be static (but you may consider moving to unnamed namespace). [functionStatic] mednafen/src/lynx/cart.h:88:10: performance:inconclusive: Technically the member function 'CCart::ReadCycle' can be static (but you may consider moving to unnamed namespace). [functionStatic] mednafen/src/lynx/cart.h:89:10: performance:inconclusive: Technically the member function 'CCart::WriteCycle' can be static (but you may consider moving to unnamed namespace). [functionStatic] mednafen/src/lynx/cart.h:93:15: style:inconclusive: Technically the member function 'CCart::CartGetName' can be const. [functionConst] mednafen/src/lynx/cart.h:94:15: style:inconclusive: Technically the member function 'CCart::CartGetManufacturer' can be const. [functionConst] mednafen/src/lynx/cart.h:95:10: style:inconclusive: Technically the member function 'CCart::CartGetRotate' can be const. [functionConst] mednafen/src/lynx/susie.h:322:10: performance:inconclusive: Technically the member function 'CSusie::ReadCycle' can be static (but you may consider moving to unnamed namespace). [functionStatic] mednafen/src/lynx/susie.h:323:10: performance:inconclusive: Technically the member function 'CSusie::WriteCycle' can be static (but you may consider moving to unnamed namespace). [functionStatic] mednafen/src/lynx/mikie.h:193:10: performance:inconclusive: Technically the member function 'CMikie::ReadCycle' can be static (but you may consider moving to unnamed namespace). [functionStatic] mednafen/src/lynx/mikie.h:194:10: performance:inconclusive: Technically the member function 'CMikie::WriteCycle' can be static (but you may consider moving to unnamed namespace). [functionStatic] mednafen/src/lynx/mikie.h:213:15: performance:inconclusive: Technically the member function 'CMikie::SetCPUSleep' can be static (but you may consider moving to unnamed namespace). [functionStatic] mednafen/src/lynx/mikie.h:214:15: performance:inconclusive: Technically the member function 'CMikie::ClearCPUSleep' can be static (but you may consider moving to unnamed namespace). [functionStatic] mednafen/src/lynx/c65c02.h:237:14: style:inconclusive: Technically the member function 'C65C02::GetPC' can be const. [functionConst] mednafen/src/lynx/ram.h:60:3: style: Class 'CRam' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mednafen/src/lynx/rom.h:63:3: style: Class 'CRom' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mednafen/src/lynx/memmap.h:72:3: style: Class 'CMemMap' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mednafen/src/lynx/cart.h:74:3: style: Class 'CCart' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mednafen/src/lynx/susie.h:315:3: style: Class 'CSusie' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mednafen/src/lynx/mikie.h:182:3: style: Class 'CMikie' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mednafen/src/lynx/c65c02.h:135:3: style: Class 'C65C02' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mednafen/src/lynx/system.h:103:3: style: Class 'CSystem' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mednafen/src/lynx/ram.h:66:8: style: The function 'Reset' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/lynx/lynxbase.h:46:16: note: Virtual function in base class mednafen/src/lynx/ram.h:66:8: note: Function in derived class mednafen/src/lynx/ram.h:68:8: style: The function 'Poke' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/lynx/lynxbase.h:48:16: note: Virtual function in base class mednafen/src/lynx/ram.h:68:8: note: Function in derived class mednafen/src/lynx/ram.h:69:9: style: The function 'Peek' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/lynx/lynxbase.h:49:17: note: Virtual function in base class mednafen/src/lynx/ram.h:69:9: note: Function in derived class mednafen/src/lynx/ram.h:72:12: style: The function 'ObjectSize' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/lynx/lynxbase.h:53:18: note: Virtual function in base class mednafen/src/lynx/ram.h:72:12: note: Function in derived class mednafen/src/lynx/rom.h:66:8: style: The function 'Reset' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/lynx/lynxbase.h:46:16: note: Virtual function in base class mednafen/src/lynx/rom.h:66:8: note: Function in derived class mednafen/src/lynx/rom.h:67:8: style: The function 'Poke' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/lynx/lynxbase.h:48:16: note: Virtual function in base class mednafen/src/lynx/rom.h:67:8: note: Function in derived class mednafen/src/lynx/rom.h:68:9: style: The function 'Peek' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/lynx/lynxbase.h:49:17: note: Virtual function in base class mednafen/src/lynx/rom.h:68:9: note: Function in derived class mednafen/src/lynx/rom.h:71:10: style: The function 'ObjectSize' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/lynx/lynxbase.h:53:18: note: Virtual function in base class mednafen/src/lynx/rom.h:71:10: note: Function in derived class mednafen/src/lynx/memmap.h:75:8: style: The function 'Reset' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/lynx/lynxbase.h:46:16: note: Virtual function in base class mednafen/src/lynx/memmap.h:75:8: note: Function in derived class mednafen/src/lynx/memmap.h:77:8: style: The function 'Poke' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/lynx/lynxbase.h:48:16: note: Virtual function in base class mednafen/src/lynx/memmap.h:77:8: note: Function in derived class mednafen/src/lynx/memmap.h:78:9: style: The function 'Peek' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/lynx/lynxbase.h:49:17: note: Virtual function in base class mednafen/src/lynx/memmap.h:78:9: note: Function in derived class mednafen/src/lynx/memmap.h:81:10: style: The function 'ObjectSize' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/lynx/lynxbase.h:53:18: note: Virtual function in base class mednafen/src/lynx/memmap.h:81:10: note: Function in derived class mednafen/src/lynx/cart.h:85:8: style: The function 'Reset' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/lynx/lynxbase.h:46:16: note: Virtual function in base class mednafen/src/lynx/cart.h:85:8: note: Function in derived class mednafen/src/lynx/cart.h:86:8: style: The function 'Poke' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/lynx/lynxbase.h:48:16: note: Virtual function in base class mednafen/src/lynx/cart.h:86:8: note: Function in derived class mednafen/src/lynx/cart.h:87:9: style: The function 'Peek' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/lynx/lynxbase.h:49:17: note: Virtual function in base class mednafen/src/lynx/cart.h:87:9: note: Function in derived class mednafen/src/lynx/cart.h:90:8: style: The function 'BankSelect' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/lynx/lynxbase.h:52:16: note: Virtual function in base class mednafen/src/lynx/cart.h:90:8: note: Function in derived class mednafen/src/lynx/cart.h:91:10: style: The function 'ObjectSize' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/lynx/lynxbase.h:53:18: note: Virtual function in base class mednafen/src/lynx/cart.h:91:10: note: Function in derived class mednafen/src/lynx/susie.h:318:8: style: The function 'Reset' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/lynx/lynxbase.h:46:16: note: Virtual function in base class mednafen/src/lynx/susie.h:318:8: note: Function in derived class mednafen/src/lynx/susie.h:320:9: style: The function 'Peek' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/lynx/lynxbase.h:49:17: note: Virtual function in base class mednafen/src/lynx/susie.h:320:9: note: Function in derived class mednafen/src/lynx/susie.h:321:8: style: The function 'Poke' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/lynx/lynxbase.h:48:16: note: Virtual function in base class mednafen/src/lynx/susie.h:321:8: note: Function in derived class mednafen/src/lynx/susie.h:324:10: style: The function 'ObjectSize' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/lynx/lynxbase.h:53:18: note: Virtual function in base class mednafen/src/lynx/susie.h:324:10: note: Function in derived class mednafen/src/lynx/mikie.h:189:8: style: The function 'Reset' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/lynx/lynxbase.h:46:16: note: Virtual function in base class mednafen/src/lynx/mikie.h:189:8: note: Function in derived class mednafen/src/lynx/mikie.h:191:9: style: The function 'Peek' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/lynx/lynxbase.h:49:17: note: Virtual function in base class mednafen/src/lynx/mikie.h:191:9: note: Function in derived class mednafen/src/lynx/mikie.h:192:8: style: The function 'Poke' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/lynx/lynxbase.h:48:16: note: Virtual function in base class mednafen/src/lynx/mikie.h:192:8: note: Function in derived class mednafen/src/lynx/mikie.h:195:10: style: The function 'ObjectSize' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/lynx/lynxbase.h:53:18: note: Virtual function in base class mednafen/src/lynx/mikie.h:195:10: note: Function in derived class mednafen/src/lynx/system.h:107:8: style: The function 'Reset' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/lynx/sysbase.h:58:16: note: Virtual function in base class mednafen/src/lynx/system.h:107:8: note: Function in derived class mednafen/src/lynx/system.h:145:16: style: The function 'Poke_CPU' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/lynx/sysbase.h:59:16: note: Virtual function in base class mednafen/src/lynx/system.h:145:16: note: Function in derived class mednafen/src/lynx/system.h:146:16: style: The function 'Peek_CPU' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/lynx/sysbase.h:60:17: note: Virtual function in base class mednafen/src/lynx/system.h:146:16: note: Function in derived class mednafen/src/lynx/system.h:147:16: style: The function 'PokeW_CPU' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/lynx/sysbase.h:61:16: note: Virtual function in base class mednafen/src/lynx/system.h:147:16: note: Function in derived class mednafen/src/lynx/system.h:148:17: style: The function 'PeekW_CPU' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/lynx/sysbase.h:62:18: note: Virtual function in base class mednafen/src/lynx/system.h:148:17: note: Function in derived class mednafen/src/lynx/system.h:191:10: style: The function 'GetRamPointer' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/lynx/sysbase.h:64:18: note: Virtual function in base class mednafen/src/lynx/system.h:191:10: note: Function in derived class mednafen/src/lynx/c65c02.cpp:317:4: style: Variable 'mPC' is reassigned a value before the old one has been used. [redundantAssignment] mednafen/src/lynx/c65c02.cpp:316:4: note: mPC is assigned mednafen/src/lynx/c65c02.cpp:317:4: note: mPC is overwritten mednafen/src/lynx/c65c02.h:207:35: style: Parameter 'regs' can be declared as reference to const [constParameter] mednafen/src/lynx/cart.cpp:79:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] mednafen/src/lynx/cart.cpp:102:2: performance: Variable 'mWriteEnableBank0' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/lynx/cart.cpp:103:2: performance: Variable 'mWriteEnableBank1' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/lynx/cart.cpp:104:2: performance: Variable 'mCartRAM' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/lynx/cart.cpp:79:7: style: Variable 'data' is assigned a value that is never used. [unreadVariable] mednafen/src/lynx/cart.cpp:270:12: style: Variable 'banktype1' is assigned a value that is never used. [unreadVariable] mednafen/src/lynx/mikie.cpp:68:9: warning: Member variable 'CMikie::mpSkipFrame' is not initialized in the constructor. [uninitMemberVar] mednafen/src/lynx/mikie.cpp:68:9: warning: Member variable 'CMikie::mUART_Rx_input_queue' is not initialized in the constructor. [uninitMemberVar] mednafen/src/lynx/mikie.h:197:10: performance:inconclusive: Technically the member function 'CMikie::GetLfsrNext' can be static (but you may consider moving to unnamed namespace). [functionStatic] mednafen/src/lynx/mikie.cpp:274:16: note: Technically the member function 'CMikie::GetLfsrNext' can be static (but you may consider moving to unnamed namespace). mednafen/src/lynx/mikie.h:197:10: note: Technically the member function 'CMikie::GetLfsrNext' can be static (but you may consider moving to unnamed namespace). mednafen/src/lynx/mikie.cpp:1887:28: style: Condition 'gSuzieDoneTime>gSystemCycleCount' is always true [knownConditionTrueFalse] mednafen/src/lynx/mikie.cpp:1882:26: note: Assuming that condition 'gSystemCycleCount>=gSuzieDoneTime' is not redundant mednafen/src/lynx/mikie.cpp:1887:28: note: Condition 'gSuzieDoneTime>gSystemCycleCount' is always true mednafen/src/lynx/mikie.cpp:1588:11: style: C-style pointer casting [cstyleCast] mednafen/src/lynx/susie.h:342:10: style:inconclusive: Technically the member function 'CSusie::ReadPixel' can be const. [functionConst] mednafen/src/lynx/susie.cpp:868:23: note: Technically the member function 'CSusie::ReadPixel' can be const. mednafen/src/lynx/susie.h:342:10: note: Technically the member function 'CSusie::ReadPixel' can be const. mednafen/src/lynx/susie.h:344:10: style:inconclusive: Technically the member function 'CSusie::ReadCollision' can be const. [functionConst] mednafen/src/lynx/susie.cpp:913:23: note: Technically the member function 'CSusie::ReadCollision' can be const. mednafen/src/lynx/susie.h:344:10: note: Technically the member function 'CSusie::ReadCollision' can be const. mednafen/src/lynx/susie.cpp:564:8: style: Condition 'superclip' is always false [knownConditionTrueFalse] mednafen/src/lynx/susie.cpp:499:19: note: Assignment 'superclip=false', assigned value is 0 mednafen/src/lynx/susie.cpp:564:8: note: Condition 'superclip' is always false mednafen/src/lynx/susie.cpp:627:8: style: Condition 'render' is always true [knownConditionTrueFalse] mednafen/src/lynx/susie.cpp:613:13: note: Assignment 'render=true', assigned value is 1 mednafen/src/lynx/susie.cpp:627:8: note: Condition 'render' is always true mednafen/src/lynx/susie.cpp:1171:56: style: Condition 'pixel!=0x0e' is always true [knownConditionTrueFalse] mednafen/src/lynx/susie.cpp:283:6: style: The scope of the variable 'data' can be reduced. [variableScope] mednafen/src/lynx/susie.cpp:284:6: style: The scope of the variable 'everonscreen' can be reduced. [variableScope] mednafen/src/lynx/susie.cpp:501:8: style: The scope of the variable 'hsign' can be reduced. [variableScope] mednafen/src/lynx/susie.cpp:501:14: style: The scope of the variable 'vsign' can be reduced. [variableScope] mednafen/src/lynx/susie.cpp:620:9: style: The scope of the variable 'pixel_height' can be reduced. [variableScope] mednafen/src/lynx/susie.cpp:621:9: style: The scope of the variable 'pixel_width' can be reduced. [variableScope] mednafen/src/lynx/susie.cpp:622:9: style: The scope of the variable 'pixel' can be reduced. [variableScope] mednafen/src/lynx/susie.cpp:623:9: style: The scope of the variable 'hoff' can be reduced. [variableScope] mednafen/src/lynx/susie.cpp:623:14: style: The scope of the variable 'voff' can be reduced. [variableScope] mednafen/src/lynx/susie.cpp:624:9: style: The scope of the variable 'hloop' can be reduced. [variableScope] mednafen/src/lynx/susie.cpp:624:15: style: The scope of the variable 'vloop' can be reduced. [variableScope] mednafen/src/lynx/susie.cpp:625:10: style: The scope of the variable 'onscreen' can be reduced. [variableScope] mednafen/src/lynx/susie.cpp:283:10: style: Variable 'data' is assigned a value that is never used. [unreadVariable] mednafen/src/lynx/susie.cpp:284:18: style: Variable 'everonscreen' is assigned a value that is never used. [unreadVariable] mednafen/src/lynx/system.cpp:78:2: performance: Variable 'mFileType' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/lynx/system.cpp:182:45: style: Condition '(unsigned long)CCart::HEADER_RAW_SIZE>(unsigned long)CRam::HEADER_RAW_SIZE' is always true [knownConditionTrueFalse] mednafen/src/lynx/system.cpp:338:9: style: C-style pointer casting [cstyleCast] mednafen/src/md/cart/cart.cpp:45:41: style:inconclusive: Function 'MDCart_Write8' argument 1 names different: declaration 'address' definition 'A'. [funcArgNamesDifferent] mednafen/src/md/cart/cart.h:6:41: note: Function 'MDCart_Write8' argument 1 names different: declaration 'address' definition 'A'. mednafen/src/md/cart/cart.cpp:45:41: note: Function 'MDCart_Write8' argument 1 names different: declaration 'address' definition 'A'. mednafen/src/md/cart/cart.cpp:45:50: style:inconclusive: Function 'MDCart_Write8' argument 2 names different: declaration 'value' definition 'V'. [funcArgNamesDifferent] mednafen/src/md/cart/cart.h:6:56: note: Function 'MDCart_Write8' argument 2 names different: declaration 'value' definition 'V'. mednafen/src/md/cart/cart.cpp:45:50: note: Function 'MDCart_Write8' argument 2 names different: declaration 'value' definition 'V'. mednafen/src/md/cart/cart.cpp:50:42: style:inconclusive: Function 'MDCart_Write16' argument 1 names different: declaration 'address' definition 'A'. [funcArgNamesDifferent] mednafen/src/md/cart/cart.h:7:42: note: Function 'MDCart_Write16' argument 1 names different: declaration 'address' definition 'A'. mednafen/src/md/cart/cart.cpp:50:42: note: Function 'MDCart_Write16' argument 1 names different: declaration 'address' definition 'A'. mednafen/src/md/cart/cart.cpp:50:52: style:inconclusive: Function 'MDCart_Write16' argument 2 names different: declaration 'value' definition 'V'. [funcArgNamesDifferent] mednafen/src/md/cart/cart.h:7:58: note: Function 'MDCart_Write16' argument 2 names different: declaration 'value' definition 'V'. mednafen/src/md/cart/cart.cpp:50:52: note: Function 'MDCart_Write16' argument 2 names different: declaration 'value' definition 'V'. mednafen/src/md/cart/cart.cpp:55:41: style:inconclusive: Function 'MDCart_Read8' argument 1 names different: declaration 'address' definition 'A'. [funcArgNamesDifferent] mednafen/src/md/cart/cart.h:8:41: note: Function 'MDCart_Read8' argument 1 names different: declaration 'address' definition 'A'. mednafen/src/md/cart/cart.cpp:55:41: note: Function 'MDCart_Read8' argument 1 names different: declaration 'address' definition 'A'. mednafen/src/md/cart/cart.cpp:60:43: style:inconclusive: Function 'MDCart_Read16' argument 1 names different: declaration 'address' definition 'A'. [funcArgNamesDifferent] mednafen/src/md/cart/cart.h:9:43: note: Function 'MDCart_Read16' argument 1 names different: declaration 'address' definition 'A'. mednafen/src/md/cart/cart.cpp:60:43: note: Function 'MDCart_Read16' argument 1 names different: declaration 'address' definition 'A'. mednafen/src/md/cart/map_eeprom.cpp:168:2: performance: Variable 'sda' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/md/cart/map_eeprom.cpp:168:8: performance: Variable 'old_sda' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/md/cart/map_eeprom.cpp:169:2: performance: Variable 'scl' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/md/cart/map_eeprom.cpp:169:8: performance: Variable 'old_scl' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/md/cart/map_eeprom.cpp:187:2: warning: Class 'MD_Cart_Type_EEPROM' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] mednafen/src/md/cart/map_eeprom.cpp:187:2: warning: Class 'MD_Cart_Type_EEPROM' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] mednafen/src/md/cart/map_eeprom.cpp:239:74: style:inconclusive: Function 'WriteEEPROM' argument 2 names different: declaration 'value' definition 'data'. [funcArgNamesDifferent] mednafen/src/md/cart/map_eeprom.cpp:134:54: note: Function 'WriteEEPROM' argument 2 names different: declaration 'value' definition 'data'. mednafen/src/md/cart/map_eeprom.cpp:239:74: note: Function 'WriteEEPROM' argument 2 names different: declaration 'value' definition 'data'. mednafen/src/md/cart/map_ff.cpp:160:2: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] mednafen/src/md/cart/map_realtec.cpp:52:23: warning: Member variable 'MD_Cart_Type_REALTEC::boot_mode' is not initialized in the constructor. [uninitMemberVar] mednafen/src/md/cart/map_realtec.cpp:169:2: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] mednafen/src/md/cart/map_sram.cpp:57:20: warning: Member variable 'MD_Cart_Type_SRAM::sram_enabled' is not initialized in the constructor. [uninitMemberVar] mednafen/src/md/cart/map_sram.cpp:62:2: performance: Variable 'sram_start' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/md/cart/map_sram.cpp:63:2: performance: Variable 'sram_end' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/md/cart/map_sram.cpp:65:2: performance: Variable 'sram_size' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/md/cart/map_sram.cpp:78:2: warning: Class 'MD_Cart_Type_SRAM' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] mednafen/src/md/cart/map_sram.cpp:78:2: warning: Class 'MD_Cart_Type_SRAM' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] mednafen/src/md/cart/map_ssf2.cpp:151:2: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] mednafen/src/md/cd/cd.cpp:148:20: style:inconclusive: Boolean expression 'SBRQ' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] mednafen/src/md/cd/cd.cpp:244:27: style:inconclusive: Boolean expression 'SBRQ' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] mednafen/src/md/cd/cd.cpp:289:12: style: Condition 'A>=0x20000' is always true [knownConditionTrueFalse] mednafen/src/md/cd/cd.cpp:285:7: note: Assuming that condition 'A<=0x1FFFF' is not redundant mednafen/src/md/cd/cd.cpp:289:12: note: Condition 'A>=0x20000' is always true mednafen/src/md/cd/cd.cpp:374:12: style: Condition 'A>=0x20000' is always true [knownConditionTrueFalse] mednafen/src/md/cd/cd.cpp:370:7: note: Assuming that condition 'A<=0x1FFFF' is not redundant mednafen/src/md/cd/cd.cpp:374:12: note: Condition 'A>=0x20000' is always true mednafen/src/md/debug.cpp:226:35: style: Unused variable: bpit [unusedVariable] mednafen/src/md/debug.cpp:166:65: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] mednafen/src/md/debug.cpp:314:69: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] mednafen/src/md/debug.cpp:339:69: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] mednafen/src/md/debug.cpp:359:71: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] mednafen/src/md/debug.cpp:375:71: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] mednafen/src/md/genio.cpp:408:32: style:inconclusive: Function 'MDINPUT_SetInput' argument 1 names different: declaration 'port' definition 'vp'. [funcArgNamesDifferent] mednafen/src/md/genio.h:22:32: note: Function 'MDINPUT_SetInput' argument 1 names different: declaration 'port' definition 'vp'. mednafen/src/md/genio.cpp:408:32: note: Function 'MDINPUT_SetInput' argument 1 names different: declaration 'port' definition 'vp'. mednafen/src/md/input/gamepad.cpp:218:11: warning: Member variable 'Gamepad6::compat_mode' is not initialized in the constructor. [uninitMemberVar] mednafen/src/md/input/gamepad.cpp:102:2: performance: Variable 'buttons' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/md/input/gamepad.cpp:155:2: performance: Variable 'buttons' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/md/input/gamepad.cpp:220:2: performance: Variable 'buttons' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/md/input/gamepad.cpp:222:2: performance: Variable 'prev_timestamp' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/md/input/gamepad.cpp:138:13: style: C-style pointer casting [cstyleCast] mednafen/src/md/input/gamepad.cpp:178:13: style: C-style pointer casting [cstyleCast] mednafen/src/md/input/gamepad.cpp:394:25: style: C-style pointer casting [cstyleCast] mednafen/src/md/input/megamouse.cpp:90:9: performance: Variable 'mouse_x' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/md/input/megamouse.cpp:91:9: performance: Variable 'mouse_y' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/md/input/megamouse.cpp:92:9: performance: Variable 'buttons' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/md/input/megamouse.cpp:94:2: performance: Variable 'phase' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/md/input/megamouse.cpp:95:2: performance: Variable 'busy_until' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/md/input/megamouse.cpp:249:33: style: C-style pointer casting [cstyleCast] mednafen/src/md/input/megamouse.cpp:250:33: style: C-style pointer casting [cstyleCast] mednafen/src/md/input/megamouse.cpp:251:13: style: C-style pointer casting [cstyleCast] mednafen/src/md/input/multitap.h:32:15: style: Virtual function 'Power' is called from constructor 'MD_Multitap()' at line 38. Dynamic binding is not used. [virtualCallInConstructor] mednafen/src/md/input/multitap.cpp:38:2: note: Calling Power mednafen/src/md/input/multitap.h:32:15: note: Power is a virtual function mednafen/src/md/input/multitap.cpp:173:32: style: Condition 'phase<=17' is always true [knownConditionTrueFalse] mednafen/src/md/input/multitap.cpp:117:16: note: Assuming that condition 'phase<18' is not redundant mednafen/src/md/input/multitap.cpp:173:32: note: Condition 'phase<=17' is always true mednafen/src/md/input/multitap.cpp:138:16: style: Comparing expression of type 'unsigned int' against value 0. Condition is always true. [compareValueOutOfTypeRangeError] mednafen/src/md/input/multitap.cpp:138:13: style: Unsigned expression 'phase' can't be negative so it is unnecessary to test it. [unsignedPositive] mednafen/src/md/system.cpp:257:7: style: struct member 'Anonymous6::compat_6button' is never used. [unusedStructMember] mednafen/src/md/vdp.cpp:56:8: warning: Member variable 'MDVDP::hint_pending' is not initialized in the constructor. [uninitMemberVar] mednafen/src/md/vdp.cpp:56:8: warning: Member variable 'MDVDP::vint_pending' is not initialized in the constructor. [uninitMemberVar] mednafen/src/md/vdp.cpp:56:8: warning: Member variable 'MDVDP::dma_fill' is not initialized in the constructor. [uninitMemberVar] mednafen/src/md/vdp.cpp:56:8: warning: Member variable 'MDVDP::im2_flag' is not initialized in the constructor. [uninitMemberVar] mednafen/src/md/vdp.cpp:56:8: warning: Member variable 'MDVDP::visible_frame_end' is not initialized in the constructor. [uninitMemberVar] mednafen/src/md/vdp.cpp:56:8: warning: Member variable 'MDVDP::v_counter' is not initialized in the constructor. [uninitMemberVar] mednafen/src/md/vdp.cpp:56:8: warning: Member variable 'MDVDP::v_update' is not initialized in the constructor. [uninitMemberVar] mednafen/src/md/vdp.cpp:56:8: warning: Member variable 'MDVDP::is_pal' is not initialized in the constructor. [uninitMemberVar] mednafen/src/md/vdp.cpp:56:8: warning: Member variable 'MDVDP::report_pal' is not initialized in the constructor. [uninitMemberVar] mednafen/src/md/vdp.cpp:56:8: warning: Member variable 'MDVDP::WantAutoAspect' is not initialized in the constructor. [uninitMemberVar] mednafen/src/md/vdp.cpp:56:8: warning: Member variable 'MDVDP::surface' is not initialized in the constructor. [uninitMemberVar] mednafen/src/md/vdp.cpp:56:8: warning: Member variable 'MDVDP::rect' is not initialized in the constructor. [uninitMemberVar] mednafen/src/md/vdp.cpp:56:8: warning: Member variable 'MDVDP::espec' is not initialized in the constructor. [uninitMemberVar] mednafen/src/md/vdp.cpp:60:5: performance: Variable 'UserLE' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/md/vdp.h:64:7: performance:inconclusive: Technically the member function 'MDFN_IEN_MD::MDVDP::vdp_test_w' can be static (but you may consider moving to unnamed namespace). [functionStatic] mednafen/src/md/vdp.cpp:678:13: note: Technically the member function 'MDFN_IEN_MD::MDVDP::vdp_test_w' can be static (but you may consider moving to unnamed namespace). mednafen/src/md/vdp.h:64:7: note: Technically the member function 'MDFN_IEN_MD::MDVDP::vdp_test_w' can be static (but you may consider moving to unnamed namespace). mednafen/src/md/vdp.h:184:7: performance:inconclusive: Technically the member function 'MDFN_IEN_MD::MDVDP::RedoViewport' can be static (but you may consider moving to unnamed namespace). [functionStatic] mednafen/src/md/vdp.cpp:97:13: note: Technically the member function 'MDFN_IEN_MD::MDVDP::RedoViewport' can be static (but you may consider moving to unnamed namespace). mednafen/src/md/vdp.h:184:7: note: Technically the member function 'MDFN_IEN_MD::MDVDP::RedoViewport' can be static (but you may consider moving to unnamed namespace). mednafen/src/md/vdp.h:230:6: performance:inconclusive: Technically the member function 'MDFN_IEN_MD::MDVDP::make_lut_bg' can be static (but you may consider moving to unnamed namespace). [functionStatic] mednafen/src/md/vdp.cpp:1391:12: note: Technically the member function 'MDFN_IEN_MD::MDVDP::make_lut_bg' can be static (but you may consider moving to unnamed namespace). mednafen/src/md/vdp.h:230:6: note: Technically the member function 'MDFN_IEN_MD::MDVDP::make_lut_bg' can be static (but you may consider moving to unnamed namespace). mednafen/src/md/vdp.h:231:6: performance:inconclusive: Technically the member function 'MDFN_IEN_MD::MDVDP::make_lut_obj' can be static (but you may consider moving to unnamed namespace). [functionStatic] mednafen/src/md/vdp.cpp:1420:12: note: Technically the member function 'MDFN_IEN_MD::MDVDP::make_lut_obj' can be static (but you may consider moving to unnamed namespace). mednafen/src/md/vdp.h:231:6: note: Technically the member function 'MDFN_IEN_MD::MDVDP::make_lut_obj' can be static (but you may consider moving to unnamed namespace). mednafen/src/md/vdp.h:232:6: performance:inconclusive: Technically the member function 'MDFN_IEN_MD::MDVDP::make_lut_bg_ste' can be static (but you may consider moving to unnamed namespace). [functionStatic] mednafen/src/md/vdp.cpp:1458:12: note: Technically the member function 'MDFN_IEN_MD::MDVDP::make_lut_bg_ste' can be static (but you may consider moving to unnamed namespace). mednafen/src/md/vdp.h:232:6: note: Technically the member function 'MDFN_IEN_MD::MDVDP::make_lut_bg_ste' can be static (but you may consider moving to unnamed namespace). mednafen/src/md/vdp.h:233:6: performance:inconclusive: Technically the member function 'MDFN_IEN_MD::MDVDP::make_lut_obj_ste' can be static (but you may consider moving to unnamed namespace). [functionStatic] mednafen/src/md/vdp.cpp:1492:12: note: Technically the member function 'MDFN_IEN_MD::MDVDP::make_lut_obj_ste' can be static (but you may consider moving to unnamed namespace). mednafen/src/md/vdp.h:233:6: note: Technically the member function 'MDFN_IEN_MD::MDVDP::make_lut_obj_ste' can be static (but you may consider moving to unnamed namespace). mednafen/src/md/vdp.h:234:6: performance:inconclusive: Technically the member function 'MDFN_IEN_MD::MDVDP::make_lut_bgobj_ste' can be static (but you may consider moving to unnamed namespace). [functionStatic] mednafen/src/md/vdp.cpp:1516:12: note: Technically the member function 'MDFN_IEN_MD::MDVDP::make_lut_bgobj_ste' can be static (but you may consider moving to unnamed namespace). mednafen/src/md/vdp.h:234:6: note: Technically the member function 'MDFN_IEN_MD::MDVDP::make_lut_bgobj_ste' can be static (but you may consider moving to unnamed namespace). mednafen/src/md/vdp.h:236:7: performance:inconclusive: Technically the member function 'MDFN_IEN_MD::MDVDP::merge' can be static (but you may consider moving to unnamed namespace). [functionStatic] mednafen/src/md/vdp.cpp:1673:13: note: Technically the member function 'MDFN_IEN_MD::MDVDP::merge' can be static (but you may consider moving to unnamed namespace). mednafen/src/md/vdp.h:236:7: note: Technically the member function 'MDFN_IEN_MD::MDVDP::merge' can be static (but you may consider moving to unnamed namespace). mednafen/src/md/vdp.h:241:7: style:inconclusive: Technically the member function 'MDFN_IEN_MD::MDVDP::Recalc68KSuspend' can be const. [functionConst] mednafen/src/md/vdp.cpp:380:20: note: Technically the member function 'MDFN_IEN_MD::MDVDP::Recalc68KSuspend' can be const. mednafen/src/md/vdp.h:241:7: note: Technically the member function 'MDFN_IEN_MD::MDVDP::Recalc68KSuspend' can be const. mednafen/src/md/vdp.h:250:7: performance:inconclusive: Technically the member function 'MDFN_IEN_MD::MDVDP::Run' can be static (but you may consider moving to unnamed namespace). [functionStatic] mednafen/src/md/vdp.cpp:682:13: note: Technically the member function 'MDFN_IEN_MD::MDVDP::Run' can be static (but you may consider moving to unnamed namespace). mednafen/src/md/vdp.h:250:7: note: Technically the member function 'MDFN_IEN_MD::MDVDP::Run' can be static (but you may consider moving to unnamed namespace). mednafen/src/md/vdp.cpp:1443:20: style: Condition 's' is always true [knownConditionTrueFalse] mednafen/src/md/vdp.cpp:1812:17: style: Condition 'xpos==0' is always true [knownConditionTrueFalse] mednafen/src/md/vdp.cpp:1810:17: note: Assuming that condition 'xpos!=0' is not redundant mednafen/src/md/vdp.cpp:1812:17: note: Condition 'xpos==0' is always true mednafen/src/md/vdp.cpp:1884:17: style: Condition 'xpos==0' is always true [knownConditionTrueFalse] mednafen/src/md/vdp.cpp:1882:17: note: Assuming that condition 'xpos!=0' is not redundant mednafen/src/md/vdp.cpp:1884:17: note: Condition 'xpos==0' is always true mednafen/src/md/vdp.cpp:1287:33: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] mednafen/src/md/vdp.cpp:1540:29: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] mednafen/src/md/vdp.cpp:1580:37: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] mednafen/src/md/vdp.cpp:1613:33: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] mednafen/src/md/vdp.cpp:1693:23: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] mednafen/src/md/vdp.cpp:1700:23: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] mednafen/src/md/vdp.cpp:1235:9: style: Variable 'end' is reassigned a value before the old one has been used. [redundantAssignment] mednafen/src/md/vdp.cpp:1224:13: note: end is assigned mednafen/src/md/vdp.cpp:1235:9: note: end is overwritten mednafen/src/md/vdp.cpp:1235:9: style: Variable 'end' is reassigned a value before the old one has been used. [redundantAssignment] mednafen/src/md/vdp.cpp:1230:13: note: end is assigned mednafen/src/md/vdp.cpp:1235:9: note: end is overwritten mednafen/src/md/vdp.cpp:873:9: style: The scope of the variable 'col' can be reduced. [variableScope] mednafen/src/md/vdp.cpp:873:14: style: The scope of the variable 'row' can be reduced. [variableScope] mednafen/src/md/vdp.cpp:874:9: style: The scope of the variable 'vcol' can be reduced. [variableScope] mednafen/src/md/vdp.cpp:874:15: style: The scope of the variable 'vrow' can be reduced. [variableScope] mednafen/src/md/vdp.cpp:875:9: style: The scope of the variable 'width' can be reduced. [variableScope] mednafen/src/md/vdp.cpp:875:16: style: The scope of the variable 'height' can be reduced. [variableScope] mednafen/src/md/vdp.cpp:876:9: style: The scope of the variable 'flipx' can be reduced. [variableScope] mednafen/src/md/vdp.cpp:876:16: style: The scope of the variable 'flipy' can be reduced. [variableScope] mednafen/src/md/vdp.cpp:877:12: style: The scope of the variable 'name' can be reduced. [variableScope] mednafen/src/md/vdp.cpp:1036:18: style: The scope of the variable 'src' can be reduced. [variableScope] mednafen/src/md/vdp.cpp:1054:18: style: The scope of the variable 'src' can be reduced. [variableScope] mednafen/src/md/vdp.cpp:1719:9: style: The scope of the variable 'height' can be reduced. [variableScope] mednafen/src/md/vdp.cpp:1787:9: style: The scope of the variable 'width' can be reduced. [variableScope] mednafen/src/md/vdp.cpp:1858:9: style: The scope of the variable 'width' can be reduced. [variableScope] mednafen/src/md/vdp.cpp:857:43: style:inconclusive: Function 'SetSurface' argument 1 names different: declaration 'espec' definition 'espec_arg'. [funcArgNamesDifferent] mednafen/src/md/vdp.h:69:37: note: Function 'SetSurface' argument 1 names different: declaration 'espec' definition 'espec_arg'. mednafen/src/md/vdp.cpp:857:43: note: Function 'SetSurface' argument 1 names different: declaration 'espec' definition 'espec_arg'. mednafen/src/md/vdp.cpp:1648:87: style:inconclusive: Function 'CopyLineSurface < uint16 >' argument 3 names different: declaration 'vp_w' definition 'width'. [funcArgNamesDifferent] mednafen/src/md/vdp.h:235:102: note: Function 'CopyLineSurface < uint16 >' argument 3 names different: declaration 'vp_w' definition 'width'. mednafen/src/md/vdp.cpp:1648:87: note: Function 'CopyLineSurface < uint16 >' argument 3 names different: declaration 'vp_w' definition 'width'. mednafen/src/md/vdp.cpp:1648:87: style:inconclusive: Function 'CopyLineSurface < uint32 >' argument 3 names different: declaration 'vp_w' definition 'width'. [funcArgNamesDifferent] mednafen/src/md/vdp.h:235:102: note: Function 'CopyLineSurface < uint32 >' argument 3 names different: declaration 'vp_w' definition 'width'. mednafen/src/md/vdp.cpp:1648:87: note: Function 'CopyLineSurface < uint32 >' argument 3 names different: declaration 'vp_w' definition 'width'. mednafen/src/md/vdp.cpp:1673:26: style: Parameter 'srca' can be declared as pointer to const [constParameter] mednafen/src/md/vdp.cpp:1673:39: style: Parameter 'srcb' can be declared as pointer to const [constParameter] mednafen/src/md/vdp.cpp:1673:64: style: Parameter 'table' can be declared as pointer to const [constParameter] mednafen/src/md/vdp.cpp:1780:11: style: Variable 'sizetab' can be declared as const array [constVariable] mednafen/src/md/vdp.cpp:1775:53: style: Parameter 'table' can be declared as pointer to const [constParameter] mednafen/src/md/vdp.cpp:1851:11: style: Variable 'sizetab' can be declared as const array [constVariable] mednafen/src/md/vdp.cpp:1846:57: style: Parameter 'table' can be declared as pointer to const [constParameter] mednafen/src/minilzo/lzodefs.h:2105:0: error: #error "LZO_SIZEOF_SHORT" [preprocessorErrorDirective] mednafen/src/mpcdec/crc32.c:39:67: style: Parameter 'buf' can be declared as pointer to const [constParameter] mednafen/src/mpcdec/internal.h:91:51: style: Parameter 'key' can be declared as pointer to const [constParameter] mednafen/src/mpcdec/mpc_decoder.c:143:19: style: Condition 'samples_left<=0' is always false [knownConditionTrueFalse] mednafen/src/mpcdec/mpc_decoder.c:141:49: note: Assignment 'samples_left=d->samples-d->decoded_samples+MPC_DECODER_SYNTH_DELAY', assigned value is greater than 480 mednafen/src/mpcdec/mpc_decoder.c:143:19: note: Condition 'samples_left<=0' is always false mednafen/src/mpcdec/mpc_decoder.c:129:36: style:inconclusive: Function 'mpc_decoder_exit' argument 1 names different: declaration 'p_dec' definition 'd'. [funcArgNamesDifferent] mednafen/src/mpcdec/mpcdec.h:84:44: note: Function 'mpc_decoder_exit' argument 1 names different: declaration 'p_dec' definition 'd'. mednafen/src/mpcdec/mpc_decoder.c:129:36: note: Function 'mpc_decoder_exit' argument 1 names different: declaration 'p_dec' definition 'd'. mednafen/src/mpcdec/mpc_decoder.c:561:11: style: Variable 'tmp' is assigned a value that is never used. [unreadVariable] mednafen/src/mpcdec/mpc_decoder.c:614:28: style: Variable 'idx' is assigned a value that is never used. [unreadVariable] mednafen/src/mpcdec/mpc_demux.c:102:21: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] mednafen/src/mpcdec/mpc_demux.c:103:39: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] mednafen/src/mpcdec/mpc_demux.c:155:57: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] mednafen/src/mpcdec/mpc_demux.c:305:24: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] mednafen/src/mpcdec/requant.c:94:39: style:inconclusive: Function 'mpc_decoder_scale_output' argument 1 names different: declaration 'p_dec' definition 'd'. [funcArgNamesDifferent] mednafen/src/mpcdec/mpcdec.h:91:52: note: Function 'mpc_decoder_scale_output' argument 1 names different: declaration 'p_dec' definition 'd'. mednafen/src/mpcdec/requant.c:94:39: note: Function 'mpc_decoder_scale_output' argument 1 names different: declaration 'p_dec' definition 'd'. mednafen/src/mpcdec/requant.c:94:49: style:inconclusive: Function 'mpc_decoder_scale_output' argument 2 names different: declaration 'scale_factor' definition 'factor'. [funcArgNamesDifferent] mednafen/src/mpcdec/mpcdec.h:91:66: note: Function 'mpc_decoder_scale_output' argument 2 names different: declaration 'scale_factor' definition 'factor'. mednafen/src/mpcdec/requant.c:94:49: note: Function 'mpc_decoder_scale_output' argument 2 names different: declaration 'scale_factor' definition 'factor'. mednafen/src/mpcdec/streaminfo.c:73:6: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] mednafen/src/mpcdec/streaminfo.c:73:6: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] mednafen/src/mpcdec/streaminfo.c:77:6: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] mednafen/src/mpcdec/streaminfo.c:77:6: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] mednafen/src/mpcdec/streaminfo.c:81:6: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] mednafen/src/mpcdec/streaminfo.c:81:6: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] mednafen/src/mpcdec/streaminfo.c:95:3: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] mednafen/src/mpcdec/streaminfo.c:95:3: warning: %u in format string (no. 3) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] mednafen/src/mpcdec/streaminfo.c:95:3: warning: %u in format string (no. 4) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] mednafen/src/mthreading/MThreading_POSIX.cpp:80:2: warning: Member variable 'Thread::t' is not initialized in the constructor. [uninitMemberVar] mednafen/src/mthreading/MThreading_POSIX.cpp:80:2: warning: Member variable 'Thread::ep' is not initialized in the constructor. [uninitMemberVar] mednafen/src/mthreading/MThreading_POSIX.cpp:80:2: warning: Member variable 'Thread::data' is not initialized in the constructor. [uninitMemberVar] mednafen/src/mthreading/MThreading_POSIX.cpp:80:2: warning: Member variable 'Thread::rv' is not initialized in the constructor. [uninitMemberVar] mednafen/src/mthreading/MThreading_POSIX.cpp:92:2: warning: Member variable 'Mutex::m' is not initialized in the constructor. [uninitMemberVar] mednafen/src/mthreading/MThreading_POSIX.cpp:101:2: warning: Member variable 'Cond::c' is not initialized in the constructor. [uninitMemberVar] mednafen/src/mthreading/MThreading_POSIX.cpp:682:2: warning: Member variable 'Sem::v' is not initialized in the constructor. [uninitMemberVar] mednafen/src/mthreading/MThreading_POSIX.cpp:110:14: style: C-style pointer casting [cstyleCast] mednafen/src/mthreading/MThreading_POSIX.cpp:131:21: style: C-style pointer casting [cstyleCast] mednafen/src/mthreading/MThreading_Win32.cpp:132:14: style: C-style pointer casting [cstyleCast] mednafen/src/mthreading/MThreading_Win32.cpp:147:13: style: C-style pointer casting [cstyleCast] mednafen/src/mthreading/MThreading_Win32.cpp:194:13: style: C-style pointer casting [cstyleCast] mednafen/src/mthreading/MThreading_Win32.cpp:238:13: style: C-style pointer casting [cstyleCast] mednafen/src/mthreading/MThreading_Win32.cpp:372:13: style: C-style pointer casting [cstyleCast] mednafen/src/mthreading/MThreading_Win32.cpp:114:19: style: Variable 'test_array' is not assigned a value. [unassignedVariable] mednafen/src/nes/boards/16.cpp:77:22: style:inconclusive: Boolean expression 'prev_sda_in' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] mednafen/src/nes/boards/16.cpp:96:90: style:inconclusive: Boolean expression 'scl_in' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] mednafen/src/nes/boards/189.cpp:45:8: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] mednafen/src/nes/boards/25.cpp:108:15: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] mednafen/src/nes/boards/96.cpp:66:17: style: C-style pointer casting [cstyleCast] mednafen/src/nes/boards/emu2413.cpp:597:10: style: C-style pointer casting [cstyleCast] mednafen/src/nes/boards/emu2413.cpp:885:12: style: The scope of the variable 'ret' can be reduced. [variableScope] mednafen/src/nes/boards/emu2413.cpp:900:12: style: The scope of the variable 'ret' can be reduced. [variableScope] mednafen/src/nes/boards/emu2413.cpp:969:57: style:inconclusive: Function 'OPLL_writeReg' argument 3 names different: declaration 'val' definition 'data'. [funcArgNamesDifferent] mednafen/src/nes/boards/emu2413.h:189:63: note: Function 'OPLL_writeReg' argument 3 names different: declaration 'val' definition 'data'. mednafen/src/nes/boards/emu2413.cpp:969:57: note: Function 'OPLL_writeReg' argument 3 names different: declaration 'val' definition 'data'. mednafen/src/nes/boards/emu2413.cpp:1135:42: style:inconclusive: Function 'OPLL_writeIO' argument 2 names different: declaration 'reg' definition 'adr'. [funcArgNamesDifferent] mednafen/src/nes/boards/emu2413.h:188:48: note: Function 'OPLL_writeIO' argument 2 names different: declaration 'reg' definition 'adr'. mednafen/src/nes/boards/emu2413.cpp:1135:42: note: Function 'OPLL_writeIO' argument 2 names different: declaration 'reg' definition 'adr'. mednafen/src/nes/boards/emu2413.cpp:217:12: style: Variable 'mltable' can be declared as const array [constVariable] mednafen/src/nes/boards/ffe.cpp:119:20: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] mednafen/src/nes/boards/mmc1.cpp:519:13: style: C-style pointer casting [cstyleCast] mednafen/src/nes/boards/mmc1.cpp:540:15: style: C-style pointer casting [cstyleCast] mednafen/src/nes/boards/sachen.cpp:107:6: style: The scope of the variable 'x' can be reduced. [variableScope] mednafen/src/nes/boards/vrc7.cpp:208:11: style: C-style pointer casting [cstyleCast] mednafen/src/nes/cart.cpp:134:18: portability: Undefined behaviour, pointer arithmetic 'nothing-x*2048' is out of bounds. [pointerOutOfBounds] mednafen/src/nes/cart.cpp:132:11: note: Assuming that condition 'x<32' is not redundant mednafen/src/nes/cart.cpp:134:18: note: Pointer arithmetic overflow mednafen/src/nes/cart.cpp:140:51: portability: Undefined behaviour, pointer arithmetic 'nothing-0x400*x' is out of bounds. [pointerOutOfBounds] mednafen/src/nes/cart.cpp:138:11: note: Assuming that condition 'x<8' is not redundant mednafen/src/nes/cart.cpp:140:51: note: Pointer arithmetic overflow mednafen/src/nes/cart.cpp:95:55: style: Parameter 'p' can be declared as pointer to const [constParameter] mednafen/src/nes/cart.cpp:363:32: style: Parameter 'p' can be declared as pointer to const [constParameter] mednafen/src/nes/cart.cpp:374:23: style: Parameter 'p' can be declared as pointer to const [constParameter] mednafen/src/nes/cart.cpp:381:23: style: Parameter 'p' can be declared as pointer to const [constParameter] mednafen/src/nes/cart.cpp:388:23: style: Parameter 'p' can be declared as pointer to const [constParameter] mednafen/src/nes/debug.cpp:217:8: style: The function 'GetX' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/nes/dis6502.h:11:16: note: Virtual function in base class mednafen/src/nes/debug.cpp:217:8: note: Function in derived class mednafen/src/nes/debug.cpp:222:8: style: The function 'GetY' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/nes/dis6502.h:12:16: note: Virtual function in base class mednafen/src/nes/debug.cpp:222:8: note: Function in derived class mednafen/src/nes/debug.cpp:227:8: style: The function 'Read' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/nes/dis6502.h:10:16: note: Virtual function in base class mednafen/src/nes/debug.cpp:227:8: note: Function in derived class mednafen/src/nes/debug.cpp:130:13: style: Variable 'fceuindbg' is reassigned a value before the old one has been used. [redundantAssignment] mednafen/src/nes/debug.cpp:128:14: note: fceuindbg is assigned mednafen/src/nes/debug.cpp:130:13: note: fceuindbg is overwritten mednafen/src/nes/debug.cpp:170:13: style: Variable 'fceuindbg' is reassigned a value before the old one has been used. [redundantAssignment] mednafen/src/nes/debug.cpp:161:13: note: fceuindbg is assigned mednafen/src/nes/debug.cpp:170:13: note: fceuindbg is overwritten mednafen/src/nes/debug.cpp:232:13: style: Variable 'fceuindbg' is reassigned a value before the old one has been used. [redundantAssignment] mednafen/src/nes/debug.cpp:230:13: note: fceuindbg is assigned mednafen/src/nes/debug.cpp:232:13: note: fceuindbg is overwritten mednafen/src/nes/debug.cpp:242:14: style: Unused variable: ret [unusedVariable] mednafen/src/nes/debug.cpp:344:36: style: Unused variable: bpit [unusedVariable] mednafen/src/nes/debug.cpp:265:66: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] mednafen/src/nes/debug.cpp:287:70: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] mednafen/src/nes/debug.cpp:305:72: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] mednafen/src/nes/dis6502.cpp:187:9: style: The scope of the variable 'borked' can be reduced. [variableScope] mednafen/src/nes/fds.cpp:566:0: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] mednafen/src/nes/ines.cpp:489:13: error: Array 'moo[1]' accessed at index 1, which is out of bounds. [arrayIndexOutOfBounds] mednafen/src/nes/ines.cpp:444:4: note: Assignment 'x=0', assigned value is 0 mednafen/src/nes/ines.cpp:448:54: note: Assuming condition is false mednafen/src/nes/ines.cpp:488:3: note: x is incremented', new value is 1 mednafen/src/nes/ines.cpp:489:13: note: Array index out of bounds mednafen/src/nes/ines.cpp:321:3: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] mednafen/src/nes/ines.cpp:351:3: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] mednafen/src/nes/input.cpp:608:12: style: C-style pointer casting [cstyleCast] mednafen/src/nes/input/arkanoid.cpp:78:15: style: C-style pointer casting [cstyleCast] mednafen/src/nes/input/arkanoid.cpp:154:15: style: C-style pointer casting [cstyleCast] mednafen/src/nes/input/bbattler2.cpp:64:13: style: C-style pointer casting [cstyleCast] mednafen/src/nes/input/ftrainer.cpp:58:23: style: C-style pointer casting [cstyleCast] mednafen/src/nes/input/hypershot.cpp:43:9: style: C-style pointer casting [cstyleCast] mednafen/src/nes/input/mahjong.cpp:70:23: style: C-style pointer casting [cstyleCast] mednafen/src/nes/input/oekakids.cpp:79:28: style: C-style pointer casting [cstyleCast] mednafen/src/nes/input/oekakids.cpp:80:28: style: C-style pointer casting [cstyleCast] mednafen/src/nes/input/oekakids.cpp:81:7: style: C-style pointer casting [cstyleCast] mednafen/src/nes/input/partytap.cpp:68:9: style: C-style pointer casting [cstyleCast] mednafen/src/nes/input/powerpad.cpp:58:36: style: C-style pointer casting [cstyleCast] mednafen/src/nes/input/shadow.cpp:109:14: style: C-style pointer casting [cstyleCast] mednafen/src/nes/input/toprider.cpp:52:7: style: C-style pointer casting [cstyleCast] mednafen/src/nes/input/zapper.cpp:118:18: style: C-style pointer casting [cstyleCast] mednafen/src/nes/input/zapper.cpp:121:17: style: C-style pointer casting [cstyleCast] mednafen/src/nes/nes.cpp:538:14: style: Variable 'lets' can be declared as const array [constVariable] mednafen/src/nes/nes.cpp:145:91: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] mednafen/src/nes/nes.cpp:500:76: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] mednafen/src/nes/nsf.cpp:170:20: style: C-style pointer casting [cstyleCast] mednafen/src/nes/nsf.cpp:171:20: style: C-style pointer casting [cstyleCast] mednafen/src/nes/nsf.cpp:172:20: style: C-style pointer casting [cstyleCast] mednafen/src/nes/nsf.cpp:174:12: style: C-style pointer casting [cstyleCast] mednafen/src/nes/nsf.cpp:175:12: style: C-style pointer casting [cstyleCast] mednafen/src/nes/nsf.cpp:176:12: style: C-style pointer casting [cstyleCast] mednafen/src/nes/nsf.cpp:178:35: style: C-style pointer casting [cstyleCast] mednafen/src/nes/nsf.cpp:179:33: style: C-style pointer casting [cstyleCast] mednafen/src/nes/nsf.cpp:180:36: style: C-style pointer casting [cstyleCast] mednafen/src/nes/ntsc/demo.c:110:1: error: Resource leak: out [resourceLeak] mednafen/src/nes/ntsc/demo.c:108:11: error: Uninitialized variable: palette [uninitvar] mednafen/src/nes/ntsc/nes_ntsc.cpp:535:0: error: #error "Need 16-bit int type" [preprocessorErrorDirective] mednafen/src/nes/ppu/ppu.cpp:1509:3: portability: Using memset() on struct which contains a floating point number. [memsetClassFloat] mednafen/src/nes/ppu/ppu-subline.h:42:37: style: Condition 'scanline>=0' is always true [knownConditionTrueFalse] mednafen/src/nes/ppu/ppu-subline.h:26:27: note: Assuming that condition 'scanline>=0' is not redundant mednafen/src/nes/ppu/ppu-subline.h:42:37: note: Condition 'scanline>=0' is always true mednafen/src/nes/ppu/ppu.cpp:1546:18: style: C-style pointer casting [cstyleCast] mednafen/src/nes/ppu/ppu.cpp:806:17: style: C-style pointer casting [cstyleCast] mednafen/src/nes/ppu/ppu.cpp:817:25: style: C-style pointer casting [cstyleCast] mednafen/src/nes/ppu/ppu.cpp:821:25: style: C-style pointer casting [cstyleCast] mednafen/src/nes/ppu/ppu.cpp:825:25: style: C-style pointer casting [cstyleCast] mednafen/src/nes/ppu/ppu.cpp:838:17: style: C-style pointer casting [cstyleCast] mednafen/src/nes/ppu/ppu.cpp:842:17: style: C-style pointer casting [cstyleCast] mednafen/src/nes/ppu/ppu.cpp:846:17: style: C-style pointer casting [cstyleCast] mednafen/src/nes/ppu/ppu-subline.h:4:16: style: The comparison 'MMC5Mode >= 3' is always true. [knownConditionTrueFalse] mednafen/src/nes/ppu/ppu.cpp:712:26: note: 'MMC5Mode' is assigned value '3' here. mednafen/src/nes/ppu/ppu-subline.h:4:16: note: The comparison 'MMC5Mode >= 3' is always true. mednafen/src/nes/ppu/ppu-subline.h:78:17: style: The comparison 'MMC5Mode >= 3' is always true. [knownConditionTrueFalse] mednafen/src/nes/ppu/ppu.cpp:712:26: note: 'MMC5Mode' is assigned value '3' here. mednafen/src/nes/ppu/ppu-subline.h:78:17: note: The comparison 'MMC5Mode >= 3' is always true. mednafen/src/nes/ppu/ppu.cpp:687:6: style: The scope of the variable 'x' can be reduced. [variableScope] mednafen/src/nes/ppu/ppu.cpp:1141:17: style: The scope of the variable 'C' can be reduced. [variableScope] mednafen/src/nes/ppu/ppu.cpp:200:53: style:inconclusive: Function 'MDFNNES_SetPixelFormat' argument 1 names different: declaration 'nf' definition 'pixel_format'. [funcArgNamesDifferent] mednafen/src/nes/ppu/ppu.h:27:53: note: Function 'MDFNNES_SetPixelFormat' argument 1 names different: declaration 'nf' definition 'pixel_format'. mednafen/src/nes/ppu/ppu.cpp:200:53: note: Function 'MDFNNES_SetPixelFormat' argument 1 names different: declaration 'nf' definition 'pixel_format'. mednafen/src/nes/sound.cpp:821:17: style: C-style pointer casting [cstyleCast] mednafen/src/nes/sound.cpp:823:19: style: C-style pointer casting [cstyleCast] mednafen/src/nes/sound.cpp:824:11: style: C-style pointer casting [cstyleCast] mednafen/src/nes/sound.cpp:827:12: style: C-style pointer casting [cstyleCast] mednafen/src/nes/sound.cpp:942:34: style:inconclusive: Function 'MDFNNES_SetSoundRate' argument 1 names different: declaration 'Rate' definition 'rate'. [funcArgNamesDifferent] mednafen/src/nes/sound.h:32:34: note: Function 'MDFNNES_SetSoundRate' argument 1 names different: declaration 'Rate' definition 'rate'. mednafen/src/nes/sound.cpp:942:34: note: Function 'MDFNNES_SetSoundRate' argument 1 names different: declaration 'Rate' definition 'rate'. mednafen/src/nes/sound.cpp:727:92: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] mednafen/src/nes/sound.cpp:749:94: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] mednafen/src/nes/sound.cpp:835:92: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] mednafen/src/nes/unif.cpp:309:20: style: C-style pointer casting [cstyleCast] mednafen/src/nes/unif.cpp:482:16: style: C-style pointer casting [cstyleCast] mednafen/src/nes/unif.cpp:168:22: style: The scope of the variable 'stuffo' can be reduced. [variableScope] mednafen/src/nes/x6502.cpp:655:10: style: Variable 'X.mooPI' is reassigned a value before the old one has been used. [redundantAssignment] mednafen/src/nes/x6502.cpp:609:11: note: X.mooPI is assigned mednafen/src/nes/x6502.cpp:655:10: note: X.mooPI is overwritten mednafen/src/nes/ops.h:78:12: style: Variable 'pbackus' is reassigned a value before the old one has been used. [redundantAssignment] mednafen/src/nes/ops.h:77:6: note: pbackus is assigned mednafen/src/nes/ops.h:78:12: note: pbackus is overwritten mednafen/src/net/Net_WS2.cpp:309:17: style: C-style pointer casting [cstyleCast] mednafen/src/net/Net_WS2.cpp:331:16: style: C-style pointer casting [cstyleCast] mednafen/src/ngp/T6W28_Apu.cpp:25:12: warning: Member variable 'T6W28_Osc::output' is not initialized in the constructor. [uninitMemberVar] mednafen/src/ngp/T6W28_Apu.cpp:25:12: warning: Member variable 'T6W28_Osc::output_select' is not initialized in the constructor. [uninitMemberVar] mednafen/src/ngp/T6W28_Apu.cpp:25:12: warning: Member variable 'T6W28_Osc::delay' is not initialized in the constructor. [uninitMemberVar] mednafen/src/ngp/T6W28_Apu.cpp:25:12: warning: Member variable 'T6W28_Osc::last_amp_left' is not initialized in the constructor. [uninitMemberVar] mednafen/src/ngp/T6W28_Apu.cpp:25:12: warning: Member variable 'T6W28_Osc::last_amp_right' is not initialized in the constructor. [uninitMemberVar] mednafen/src/ngp/T6W28_Apu.cpp:25:12: warning: Member variable 'T6W28_Osc::volume_left' is not initialized in the constructor. [uninitMemberVar] mednafen/src/ngp/T6W28_Apu.cpp:25:12: warning: Member variable 'T6W28_Osc::volume_right' is not initialized in the constructor. [uninitMemberVar] mednafen/src/ngp/T6W28_Apu.h:54:7: style:inconclusive: Technically the member function 'MDFN_IEN_NGP::T6W28_Apu::osc_output' can be const. [functionConst] mednafen/src/ngp/T6W28_Apu.cpp:245:17: note: Technically the member function 'MDFN_IEN_NGP::T6W28_Apu::osc_output' can be const. mednafen/src/ngp/T6W28_Apu.h:54:7: note: Technically the member function 'MDFN_IEN_NGP::T6W28_Apu::osc_output' can be const. mednafen/src/ngp/T6W28_Apu.h:69:7: style:inconclusive: Technically the member function 'MDFN_IEN_NGP::T6W28_Apu::save_state' can be const. [functionConst] mednafen/src/ngp/T6W28_Apu.cpp:375:17: note: Technically the member function 'MDFN_IEN_NGP::T6W28_Apu::save_state' can be const. mednafen/src/ngp/T6W28_Apu.h:69:7: note: Technically the member function 'MDFN_IEN_NGP::T6W28_Apu::save_state' can be const. mednafen/src/ngp/T6W28_Apu.h:89:45: style:inconclusive: Function 'output' argument 1 names different: declaration 'mono' definition 'b'. [funcArgNamesDifferent] mednafen/src/ngp/T6W28_Apu.h:46:28: note: Function 'output' argument 1 names different: declaration 'mono' definition 'b'. mednafen/src/ngp/T6W28_Apu.h:89:45: note: Function 'output' argument 1 names different: declaration 'mono' definition 'b'. mednafen/src/ngp/T6W28_Apu.h:91:40: style:inconclusive: Function 'osc_output' argument 1 names different: declaration 'index' definition 'i'. [funcArgNamesDifferent] mednafen/src/ngp/T6W28_Apu.h:53:23: note: Function 'osc_output' argument 1 names different: declaration 'index' definition 'i'. mednafen/src/ngp/T6W28_Apu.h:91:40: note: Function 'osc_output' argument 1 names different: declaration 'index' definition 'i'. mednafen/src/ngp/T6W28_Apu.h:91:56: style:inconclusive: Function 'osc_output' argument 2 names different: declaration 'mono' definition 'b'. [funcArgNamesDifferent] mednafen/src/ngp/T6W28_Apu.h:53:43: note: Function 'osc_output' argument 2 names different: declaration 'mono' definition 'b'. mednafen/src/ngp/T6W28_Apu.h:91:56: note: Function 'osc_output' argument 2 names different: declaration 'mono' definition 'b'. mednafen/src/ngp/T6W28_Apu.cpp:282:15: style: Variable 'osc' can be declared as reference to const [constVariable] mednafen/src/ngp/TLCS-900h/TLCS900h_disassemble.cpp:286:14: style: C-style pointer casting [cstyleCast] mednafen/src/ngp/TLCS-900h/TLCS900h_disassemble.cpp:294:7: style: C-style pointer casting [cstyleCast] mednafen/src/ngp/TLCS-900h/TLCS900h_disassemble.cpp:302:14: style: C-style pointer casting [cstyleCast] mednafen/src/ngp/TLCS-900h/TLCS900h_disassemble.cpp:368:8: style: Local variable 'dst' shadows outer function [shadowFunction] mednafen/src/ngp/TLCS-900h/TLCS900h_disassemble.cpp:312:13: note: Shadowed declaration mednafen/src/ngp/TLCS-900h/TLCS900h_disassemble.cpp:368:8: note: Shadow variable mednafen/src/ngp/TLCS-900h/TLCS900h_disassemble.cpp:379:8: style: Local variable 'dst' shadows outer function [shadowFunction] mednafen/src/ngp/TLCS-900h/TLCS900h_disassemble.cpp:312:13: note: Shadowed declaration mednafen/src/ngp/TLCS-900h/TLCS900h_disassemble.cpp:379:8: note: Shadow variable mednafen/src/ngp/TLCS-900h/TLCS900h_disassemble.cpp:531:8: style: Local variable 'dst' shadows outer function [shadowFunction] mednafen/src/ngp/TLCS-900h/TLCS900h_disassemble.cpp:312:13: note: Shadowed declaration mednafen/src/ngp/TLCS-900h/TLCS900h_disassemble.cpp:531:8: note: Shadow variable mednafen/src/ngp/biosHLE.cpp:143:8: style: Local variable 'interrupt' shadows outer function [shadowFunction] mednafen/src/ngp/interrupt.h:22:6: note: Shadowed declaration mednafen/src/ngp/biosHLE.cpp:143:8: note: Shadow variable mednafen/src/ngp/flash.cpp:152:36: style: C-style pointer casting [cstyleCast] mednafen/src/ngp/gfx.cpp:24:15: warning: Member variable 'NGPGFX_CLASS::C_OVR' is not initialized in the constructor. [uninitMemberVar] mednafen/src/ngp/gfx.cpp:24:15: warning: Member variable 'NGPGFX_CLASS::BLNK' is not initialized in the constructor. [uninitMemberVar] mednafen/src/ngp/gfx_scanline_colour.cpp:122:58: style: C-style pointer casting [cstyleCast] mednafen/src/ngp/gfx_scanline_colour.cpp:142:58: style: C-style pointer casting [cstyleCast] mednafen/src/ngp/gfx_scanline_colour.cpp:259:6: style: C-style pointer casting [cstyleCast] mednafen/src/ngp/gfx_scanline_mono.cpp:128:6: style: The scope of the variable 'spr' can be reduced. [variableScope] mednafen/src/ngp/gfx_scanline_mono.cpp:24:45: style: Parameter 'palette_ptr' can be declared as pointer to const [constParameter] mednafen/src/ngp/mem.cpp:206:22: style: C-style pointer casting [cstyleCast] mednafen/src/ngp/mem.cpp:261:23: style: C-style pointer casting [cstyleCast] mednafen/src/ngp/mem.cpp:417:15: style: C-style pointer casting [cstyleCast] mednafen/src/ngp/mem.cpp:513:16: style: C-style pointer casting [cstyleCast] mednafen/src/ngp/rom.cpp:91:15: style: C-style pointer casting [cstyleCast] mednafen/src/pce/dis6280.h:5:3: warning:inconclusive: Class 'Dis6280' which has virtual members does not have a virtual destructor. [virtualDestructor] mednafen/src/pce/vce.h:52:13: style:inconclusive: Technically the member function 'MDFN_IEN_PCE::VCE::GetScanlineNo' can be const. [functionConst] mednafen/src/pce/vce.h:31:2: style: Class 'VCE' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mednafen/src/pce/debug.cpp:278:8: style: The function 'GetX' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/pce/dis6280.h:8:16: note: Virtual function in base class mednafen/src/pce/debug.cpp:278:8: note: Function in derived class mednafen/src/pce/debug.cpp:283:8: style: The function 'GetY' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/pce/dis6280.h:9:16: note: Virtual function in base class mednafen/src/pce/debug.cpp:283:8: note: Function in derived class mednafen/src/pce/debug.cpp:288:8: style: The function 'Read' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/pce/dis6280.h:7:16: note: Virtual function in base class mednafen/src/pce/debug.cpp:288:8: note: Function in derived class mednafen/src/pce/huc6280.h:398:12: style: C-style pointer casting [cstyleCast] mednafen/src/pce/debug.cpp:307:14: style: Unused variable: ret [unusedVariable] mednafen/src/pce/debug.cpp:503:36: style: Unused variable: bpit [unusedVariable] mednafen/src/pce/debug.cpp:209:26: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] mednafen/src/pce/debug.cpp:387:69: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] mednafen/src/pce/debug.cpp:422:71: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] mednafen/src/pce/dis6280.cpp:319:9: style: The scope of the variable 'borked' can be reduced. [variableScope] mednafen/src/pce/mcgenjin.h:46:2: style: Class 'MCGenjin' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mednafen/src/pce/huc.cpp:193:44: style: C-style pointer casting [cstyleCast] mednafen/src/pce/huc6280.cpp:440:10: warning: Member variable 'HuC6280::FastPageR' is not initialized in the constructor. [uninitMemberVar] mednafen/src/pce/huc6280.cpp:440:10: warning: Member variable 'HuC6280::FastMap' is not initialized in the constructor. [uninitMemberVar] mednafen/src/pce/huc6280.cpp:692:3: style: Label 'skip_T_flag_clear' is not used. [unusedLabel] mednafen/src/pce/input.cpp:160:19: style: C-style pointer casting [cstyleCast] mednafen/src/pce/input/gamepad.cpp:44:20: warning: Member variable 'PCE_Input_Gamepad::SEL' is not initialized in the constructor. [uninitMemberVar] mednafen/src/pce/input/gamepad.cpp:44:20: warning: Member variable 'PCE_Input_Gamepad::CLR' is not initialized in the constructor. [uninitMemberVar] mednafen/src/pce/input/gamepad.cpp:44:20: warning: Member variable 'PCE_Input_Gamepad::AVPad6Which' is not initialized in the constructor. [uninitMemberVar] mednafen/src/pce/input/mouse.cpp:59:18: warning: Member variable 'PCE_Input_Mouse::SEL' is not initialized in the constructor. [uninitMemberVar] mednafen/src/pce/input/mouse.cpp:59:18: warning: Member variable 'PCE_Input_Mouse::CLR' is not initialized in the constructor. [uninitMemberVar] mednafen/src/pce/input/tsushinkb.cpp:55:22: warning: Member variable 'PCE_Input_TsushinKB::SEL' is not initialized in the constructor. [uninitMemberVar] mednafen/src/pce/input/tsushinkb.cpp:55:22: warning: Member variable 'PCE_Input_TsushinKB::CLR' is not initialized in the constructor. [uninitMemberVar] mednafen/src/pce/input/tsushinkb.cpp:55:22: warning: Member variable 'PCE_Input_TsushinKB::last_capslock' is not initialized in the constructor. [uninitMemberVar] mednafen/src/pce/pce.cpp:859:16: warning: Assert statement calls a function which may have desired side effects: 'Timestamp'. [assertWithSideEffect] mednafen/src/pce/pce.cpp:297:2: portability: Using memset() on struct which contains a floating point number. [memsetClassFloat] mednafen/src/pce/pce.cpp:527:15: style: C-style pointer casting [cstyleCast] mednafen/src/pce/pce.cpp:530:15: style: C-style pointer casting [cstyleCast] mednafen/src/pce/pce.cpp:576:15: style: C-style pointer casting [cstyleCast] mednafen/src/pce/pce.cpp:592:36: style: C-style pointer casting [cstyleCast] mednafen/src/pce/pce.cpp:391:6: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] mednafen/src/pce/pce.cpp:1127:76: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] mednafen/src/pce/vce.cpp:110:6: warning: Member variable 'VCE::FrameDone' is not initialized in the constructor. [uninitMemberVar] mednafen/src/pce/vce.cpp:110:6: warning: Member variable 'VCE::skipframe' is not initialized in the constructor. [uninitMemberVar] mednafen/src/pce/vce.cpp:110:6: warning: Member variable 'VCE::LW' is not initialized in the constructor. [uninitMemberVar] mednafen/src/pce/vce.cpp:110:6: warning: Member variable 'VCE::scanline_out_ptr' is not initialized in the constructor. [uninitMemberVar] mednafen/src/pce/vce.cpp:110:6: warning: Member variable 'VCE::hblank' is not initialized in the constructor. [uninitMemberVar] mednafen/src/pce/vce.cpp:110:6: warning: Member variable 'VCE::vblank' is not initialized in the constructor. [uninitMemberVar] mednafen/src/pce/vce.cpp:110:6: warning: Member variable 'VCE::NeedSLReset' is not initialized in the constructor. [uninitMemberVar] mednafen/src/pce/vce.cpp:110:6: warning: Member variable 'VCE::lc263' is not initialized in the constructor. [uninitMemberVar] mednafen/src/pce/vce.cpp:110:6: warning: Member variable 'VCE::bw' is not initialized in the constructor. [uninitMemberVar] mednafen/src/pce/vce.cpp:119:2: performance: Variable 'cd_event' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/pce/vce.cpp:122:2: performance: Variable 'pitch32' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/pce/vce.cpp:775:7: style: The scope of the variable 'chip' can be reduced. [variableScope] mednafen/src/pce/vce.cpp:817:7: style: The scope of the variable 'chip' can be reduced. [variableScope] mednafen/src/pce_fast/hes.cpp:217:69: style:inconclusive: Function 'HES_Draw' argument 3 names different: declaration 'samples' definition 'SoundBuf'. [funcArgNamesDifferent] mednafen/src/pce_fast/hes.h:5:69: note: Function 'HES_Draw' argument 3 names different: declaration 'samples' definition 'SoundBuf'. mednafen/src/pce_fast/hes.cpp:217:69: note: Function 'HES_Draw' argument 3 names different: declaration 'samples' definition 'SoundBuf'. mednafen/src/pce_fast/hes.cpp:217:85: style:inconclusive: Function 'HES_Draw' argument 4 names different: declaration 'sampcount' definition 'SoundBufSize'. [funcArgNamesDifferent] mednafen/src/pce_fast/hes.h:5:84: note: Function 'HES_Draw' argument 4 names different: declaration 'sampcount' definition 'SoundBufSize'. mednafen/src/pce_fast/hes.cpp:217:85: note: Function 'HES_Draw' argument 4 names different: declaration 'sampcount' definition 'SoundBufSize'. mednafen/src/pce_fast/huc.cpp:167:13: style: The statement 'if (m_len!=sf2_required_size) m_len=sf2_required_size' is logically equivalent to 'm_len=sf2_required_size'. [duplicateConditionalAssign] mednafen/src/pce_fast/huc.cpp:168:11: note: Assignment 'm_len=sf2_required_size' mednafen/src/pce_fast/huc.cpp:167:13: note: Condition 'm_len!=sf2_required_size' is redundant mednafen/src/pce_fast/huc6280.cpp:169:10: style: C-style pointer casting [cstyleCast] mednafen/src/pce_fast/huc6280.cpp:683:9: style: C-style pointer casting [cstyleCast] mednafen/src/pce_fast/vdc.h:123:6: style: The scope of the variable 'chip' can be reduced. [variableScope] mednafen/src/pce_fast/huc6280.cpp:715:2: style: Label 'GetOutBMT' is not used. [unusedLabel] mednafen/src/pce_fast/input.cpp:67:19: style: C-style pointer casting [cstyleCast] mednafen/src/pce_fast/input.cpp:102:27: style: C-style pointer casting [cstyleCast] mednafen/src/pce_fast/pce.cpp:98:1: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] mednafen/src/pce_fast/pce.cpp:105:1: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] mednafen/src/pce_fast/pce.cpp:161:2: portability: Using memset() on struct which contains a floating point number. [memsetClassFloat] mednafen/src/pce_fast/psg.h:42:9: style: Class 'PCEFast_PSG' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mednafen/src/pce_fast/pce.cpp:410:15: style: C-style pointer casting [cstyleCast] mednafen/src/pce_fast/pce.cpp:426:36: style: C-style pointer casting [cstyleCast] mednafen/src/pce_fast/pce.cpp:440:15: style: C-style pointer casting [cstyleCast] mednafen/src/pce_fast/pce.cpp:488:3: performance: Passing the result of c_str() to a function that takes std::string as argument no. 1 is slow and redundant. [stlcstrParam] mednafen/src/pce_fast/pce.cpp:268:6: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] mednafen/src/pce_fast/pcecd_drive.cpp:400:31: style:inconclusive: Function 'PCECD_Drive_SetDisc' argument 1 names different: declaration 'tray_open' definition 'new_tray_open'. [funcArgNamesDifferent] mednafen/src/pce_fast/pcecd_drive.h:84:31: note: Function 'PCECD_Drive_SetDisc' argument 1 names different: declaration 'tray_open' definition 'new_tray_open'. mednafen/src/pce_fast/pcecd_drive.cpp:400:31: note: Function 'PCECD_Drive_SetDisc' argument 1 names different: declaration 'tray_open' definition 'new_tray_open'. mednafen/src/pce_fast/pcecd_drive.cpp:1221:27: style:inconclusive: Function 'PCECD_Drive_Init' argument 1 names different: declaration 'CDDATimeDiv' definition 'cdda_time_div'. [funcArgNamesDifferent] mednafen/src/pce_fast/pcecd_drive.h:77:27: note: Function 'PCECD_Drive_Init' argument 1 names different: declaration 'CDDATimeDiv' definition 'cdda_time_div'. mednafen/src/pce_fast/pcecd_drive.cpp:1221:27: note: Function 'PCECD_Drive_Init' argument 1 names different: declaration 'CDDATimeDiv' definition 'cdda_time_div'. mednafen/src/pce_fast/pcecd_drive.cpp:795:14: style: struct member 'SCSICH::format_string' is never used. [unusedStructMember] mednafen/src/pce_fast/psg.cpp:54:19: error: Array 'dbtable[32][32]' accessed at index dbtable[*][32], which is out of bounds. [arrayIndexOutOfBounds] mednafen/src/pce_fast/psg.cpp:52:33: note: Assignment 'sv=((ch->lfsr&1)<<5)-(ch->lfsr&1)', assigned value is 32 mednafen/src/pce_fast/psg.cpp:54:19: note: Array index out of bounds mednafen/src/pce_fast/psg.cpp:54:19: error: Array 'dbtable[32][32]' accessed at index dbtable[*][-1], which is out of bounds. [negativeIndex] mednafen/src/pce_fast/psg.cpp:52:33: note: Assignment 'sv=((ch->lfsr&1)<<5)-(ch->lfsr&1)', assigned value is -1 mednafen/src/pce_fast/psg.cpp:54:19: note: Negative array index mednafen/src/pce_fast/psg.cpp:55:19: error: Array 'dbtable[32][32]' accessed at index dbtable[*][32], which is out of bounds. [arrayIndexOutOfBounds] mednafen/src/pce_fast/psg.cpp:52:33: note: Assignment 'sv=((ch->lfsr&1)<<5)-(ch->lfsr&1)', assigned value is 32 mednafen/src/pce_fast/psg.cpp:55:19: note: Array index out of bounds mednafen/src/pce_fast/psg.cpp:55:19: error: Array 'dbtable[32][32]' accessed at index dbtable[*][-1], which is out of bounds. [negativeIndex] mednafen/src/pce_fast/psg.cpp:52:33: note: Assignment 'sv=((ch->lfsr&1)<<5)-(ch->lfsr&1)', assigned value is -1 mednafen/src/pce_fast/psg.cpp:55:19: note: Negative array index mednafen/src/pce_fast/vdc.cpp:784:23: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] mednafen/src/pce_fast/vdc.cpp:1359:18: style: C-style pointer casting [cstyleCast] mednafen/src/pce_fast/vdc.cpp:1361:18: style: C-style pointer casting [cstyleCast] mednafen/src/pce_fast/vdc.cpp:514:6: style: The scope of the variable 'chip' can be reduced. [variableScope] mednafen/src/pce_fast/vdc.cpp:1635:59: style:inconclusive: Function 'VDC_SetSettings' argument 2 names different: declaration 'correct_aspect' definition 'arg_correct_aspect'. [funcArgNamesDifferent] mednafen/src/pce_fast/vdc.h:199:59: note: Function 'VDC_SetSettings' argument 2 names different: declaration 'correct_aspect' definition 'arg_correct_aspect'. mednafen/src/pce_fast/vdc.cpp:1635:59: note: Function 'VDC_SetSettings' argument 2 names different: declaration 'correct_aspect' definition 'arg_correct_aspect'. mednafen/src/pce_fast/vdc.cpp:1201:13: style: Variable 'vdc' is assigned a value that is never used. [unreadVariable] mednafen/src/pcfx/debug.cpp:713:21: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] mednafen/src/pcfx/debug.cpp:717:21: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] mednafen/src/pcfx/debug.cpp:387:11: style: C-style pointer casting [cstyleCast] mednafen/src/pcfx/debug.cpp:388:12: style: C-style pointer casting [cstyleCast] mednafen/src/pcfx/debug.cpp:519:29: error: Uninitialized variable: tmp.logical [uninitvar] mednafen/src/pcfx/debug.cpp:519:29: error: Uninitialized struct member: tmp.logical [uninitStructMember] mednafen/src/pcfx/debug.cpp:521:30: error: Uninitialized struct member: tmp.logical [uninitStructMember] mednafen/src/pcfx/debug.cpp:523:31: error: Uninitialized struct member: tmp.logical [uninitStructMember] mednafen/src/pcfx/debug.cpp:525:32: error: Uninitialized struct member: tmp.logical [uninitStructMember] mednafen/src/pcfx/debug.cpp:527:33: error: Uninitialized struct member: tmp.logical [uninitStructMember] mednafen/src/pcfx/debug.cpp:529:34: error: Uninitialized struct member: tmp.logical [uninitStructMember] mednafen/src/pcfx/debug.cpp:531:27: error: Uninitialized struct member: tmp.logical [uninitStructMember] mednafen/src/pcfx/debug.cpp:48:14: style: struct member '__PCFX_BPOINT::logical' is never used. [unusedStructMember] mednafen/src/pcfx/debug.cpp:489:37: style: Unused variable: bpit [unusedVariable] mednafen/src/pcfx/debug.cpp:256:26: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] mednafen/src/pcfx/debug.cpp:419:65: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] mednafen/src/pcfx/input.cpp:315:30: style: C-style pointer casting [cstyleCast] mednafen/src/pcfx/input.cpp:89:64: style:inconclusive: Function 'TransformInput' argument 2 names different: declaration 'DisableSR' definition 'DisableSR_L'. [funcArgNamesDifferent] mednafen/src/pcfx/input.h:51:54: note: Function 'TransformInput' argument 2 names different: declaration 'DisableSR' definition 'DisableSR_L'. mednafen/src/pcfx/input.cpp:89:64: note: Function 'TransformInput' argument 2 names different: declaration 'DisableSR' definition 'DisableSR_L'. mednafen/src/pcfx/input.cpp:337:34: error: Signed integer overflow for expression 'FX_SIG_TAP<<28'. [integerOverflow] mednafen/src/pcfx/input/gamepad.cpp:34:3: performance: Variable 'buttons' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/pcfx/input/gamepad.cpp:83:26: style: C-style pointer casting [cstyleCast] mednafen/src/pcfx/input/gamepad.cpp:54:32: error: Signed integer overflow for expression 'FX_SIG_PAD<<28'. [integerOverflow] mednafen/src/pcfx/input/mouse.cpp:34:3: performance: Variable 'x' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/pcfx/input/mouse.cpp:35:3: performance: Variable 'y' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/pcfx/input/mouse.cpp:36:3: performance: Variable 'button' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/pcfx/input/mouse.cpp:32:2: style: Class 'PCFX_Input_Mouse' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mednafen/src/pcfx/input/mouse.cpp:90:28: style: C-style pointer casting [cstyleCast] mednafen/src/pcfx/input/mouse.cpp:91:28: style: C-style pointer casting [cstyleCast] mednafen/src/pcfx/input/mouse.cpp:92:23: style: C-style pointer casting [cstyleCast] mednafen/src/pcfx/input/mouse.cpp:56:29: error: Signed integer overflow for expression 'FX_SIG_MOUSE<<28'. [integerOverflow] mednafen/src/pcfx/king.cpp:2718:10: style: The scope of the variable 'ble_cache_any' can be reduced. [variableScope] mednafen/src/pcfx/king.cpp:1472:28: error: Signed integer overflow for expression '0xFFFF<<(msh?0:16)'. [integerOverflow] mednafen/src/pcfx/king.cpp:1473:28: error: Signed integer overflow for expression '0xFFFF<<(msh?0:16)'. [integerOverflow] mednafen/src/pcfx/king.cpp:1474:14: error: Signed integer overflow for expression '0xFFFF<<(msh?0:16)'. [integerOverflow] mednafen/src/pcfx/king.cpp:1491:28: error: Signed integer overflow for expression '0xFFFF<<(msh?0:16)'. [integerOverflow] mednafen/src/pcfx/king.cpp:1492:28: error: Signed integer overflow for expression '0xFFFF<<(msh?0:16)'. [integerOverflow] mednafen/src/pcfx/king.cpp:1510:14: error: Signed integer overflow for expression '0xFFFF<<(msh?0:16)'. [integerOverflow] mednafen/src/pcfx/king.cpp:1516:14: error: Signed integer overflow for expression '0xFFFF<<(msh?0:16)'. [integerOverflow] mednafen/src/pcfx/king.cpp:1548:14: error: Signed integer overflow for expression '0xFFFF<<(msh?0:16)'. [integerOverflow] mednafen/src/pcfx/king.cpp:1550:14: error: Signed integer overflow for expression '0xFFFF<<(msh?0:16)'. [integerOverflow] mednafen/src/pcfx/king.cpp:1552:14: error: Signed integer overflow for expression '0xFFFF<<(msh?0:16)'. [integerOverflow] mednafen/src/pcfx/king.cpp:1553:14: error: Signed integer overflow for expression '0xFFFF<<(msh?0:16)'. [integerOverflow] mednafen/src/pcfx/king.cpp:1554:14: error: Signed integer overflow for expression '0xFFFF<<(msh?0:16)'. [integerOverflow] mednafen/src/pcfx/king.cpp:1555:16: error: Signed integer overflow for expression '0xFFFF<<(msh?0:16)'. [integerOverflow] mednafen/src/pcfx/king.cpp:1557:14: error: Signed integer overflow for expression '0xFFFF<<(msh?0:16)'. [integerOverflow] mednafen/src/pcfx/king.cpp:1558:14: error: Signed integer overflow for expression '0xFFFF<<(msh?0:16)'. [integerOverflow] mednafen/src/pcfx/king.cpp:1559:14: error: Signed integer overflow for expression '0xFFFF<<(msh?0:16)'. [integerOverflow] mednafen/src/pcfx/king.cpp:1560:14: error: Signed integer overflow for expression '0xFFFF<<(msh?0:16)'. [integerOverflow] mednafen/src/pcfx/king.cpp:1561:14: error: Signed integer overflow for expression '0xFFFF<<(msh?0:16)'. [integerOverflow] mednafen/src/pcfx/king.cpp:1562:14: error: Signed integer overflow for expression '0xFFFF<<(msh?0:16)'. [integerOverflow] mednafen/src/pcfx/king.cpp:1564:14: error: Signed integer overflow for expression '0xFFFF<<(msh?0:16)'. [integerOverflow] mednafen/src/pcfx/king.cpp:1565:14: error: Signed integer overflow for expression '0xFFFF<<(msh?0:16)'. [integerOverflow] mednafen/src/pcfx/king.cpp:1566:14: error: Signed integer overflow for expression '0xFFFF<<(msh?0:16)'. [integerOverflow] mednafen/src/pcfx/king.cpp:1567:14: error: Signed integer overflow for expression '0xFFFF<<(msh?0:16)'. [integerOverflow] mednafen/src/pcfx/king.cpp:1569:14: error: Signed integer overflow for expression '0xFFFF<<(msh?0:16)'. [integerOverflow] mednafen/src/pcfx/king.cpp:1570:14: error: Signed integer overflow for expression '0xFFFF<<(msh?0:16)'. [integerOverflow] mednafen/src/pcfx/king.cpp:1572:14: error: Signed integer overflow for expression '0xFFFF<<(msh?0:16)'. [integerOverflow] mednafen/src/pcfx/king.cpp:1573:14: error: Signed integer overflow for expression '0xFFFF<<(msh?0:16)'. [integerOverflow] mednafen/src/pcfx/king.cpp:1575:14: error: Signed integer overflow for expression '0xFFFF<<(msh?0:16)'. [integerOverflow] mednafen/src/pcfx/king.cpp:1576:14: error: Signed integer overflow for expression '0xFFFF<<(msh?0:16)'. [integerOverflow] mednafen/src/pcfx/king.cpp:1578:14: error: Signed integer overflow for expression '0xFFFF<<(msh?0:16)'. [integerOverflow] mednafen/src/pcfx/king.cpp:1579:14: error: Signed integer overflow for expression '0xFFFF<<(msh?0:16)'. [integerOverflow] mednafen/src/pcfx/king.cpp:1582:14: error: Signed integer overflow for expression '0xFFFF<<(msh?0:16)'. [integerOverflow] mednafen/src/pcfx/king.cpp:1583:14: error: Signed integer overflow for expression '0xFFFF<<(msh?0:16)'. [integerOverflow] mednafen/src/pcfx/king.cpp:1584:14: error: Signed integer overflow for expression '0xFFFF<<(msh?0:16)'. [integerOverflow] mednafen/src/pcfx/king.cpp:1585:14: error: Signed integer overflow for expression '0xFFFF<<(msh?0:16)'. [integerOverflow] mednafen/src/pcfx/king.cpp:1586:14: error: Signed integer overflow for expression '0xFFFF<<(msh?0:16)'. [integerOverflow] mednafen/src/pcfx/king.cpp:1587:14: error: Signed integer overflow for expression '0xFFFF<<(msh?0:16)'. [integerOverflow] mednafen/src/pcfx/king.cpp:1613:28: error: Signed integer overflow for expression '0xFFFF<<(msh?0:16)'. [integerOverflow] mednafen/src/pcfx/king.cpp:1627:14: error: Signed integer overflow for expression '0xFFFF<<(msh?0:16)'. [integerOverflow] mednafen/src/pcfx/king.cpp:1656:14: error: Signed integer overflow for expression '0xFFFF<<(msh?0:16)'. [integerOverflow] mednafen/src/pcfx/king.cpp:1660:14: error: Signed integer overflow for expression '0xFFFF<<(msh?0:16)'. [integerOverflow] mednafen/src/pcfx/king.cpp:1664:14: error: Signed integer overflow for expression '0xFFFF<<(msh?0:16)'. [integerOverflow] mednafen/src/pcfx/king.cpp:1665:14: error: Signed integer overflow for expression '0xFFFF<<(msh?0:16)'. [integerOverflow] mednafen/src/pcfx/king.cpp:1666:14: error: Signed integer overflow for expression '0xFFFF<<(msh?0:16)'. [integerOverflow] mednafen/src/pcfx/king.cpp:1668:14: error: Signed integer overflow for expression '0xFFFF<<(msh?0:16)'. [integerOverflow] mednafen/src/pcfx/king.cpp:1669:14: error: Signed integer overflow for expression '0xFFFF<<(msh?0:16)'. [integerOverflow] mednafen/src/pcfx/king.cpp:1670:14: error: Signed integer overflow for expression '0xFFFF<<(msh?0:16)'. [integerOverflow] mednafen/src/pcfx/king.cpp:2718:24: style: Variable 'ble_cache_any' is assigned a value that is never used. [unreadVariable] mednafen/src/pcfx/king.cpp:2741:21: style: Variable 'ble_cache_any' is assigned a value that is never used. [unreadVariable] mednafen/src/pcfx/king.cpp:2765:13: style: Variable 'target' is assigned a value that is never used. [unreadVariable] mednafen/src/pcfx/king.cpp:2767:13: style: Variable 'target' is assigned a value that is never used. [unreadVariable] mednafen/src/pcfx/pcfx.cpp:895:47: style: C-style pointer casting [cstyleCast] mednafen/src/pcfx/pcfx.cpp:897:47: style: C-style pointer casting [cstyleCast] mednafen/src/pcfx/rainbow.cpp:204:16: style: Condition 'code>=0x10' is always true [knownConditionTrueFalse] mednafen/src/pcfx/rainbow.cpp:198:16: note: Assuming that condition 'code==0xF' is not redundant mednafen/src/pcfx/rainbow.cpp:204:16: note: Condition 'code>=0x10' is always true mednafen/src/pcfx/rainbow.cpp:522:25: style: C-style pointer casting [cstyleCast] mednafen/src/pcfx/rainbow.cpp:723:70: style: Parameter 'palette_ptr' can be declared as pointer to const [constParameter] mednafen/src/pcfx/rainbow.cpp:409:14: error: Signed integer overflow for expression '0xFFFF<<(msh?0:16)'. [integerOverflow] mednafen/src/pcfx/rainbow.cpp:410:14: error: Signed integer overflow for expression '0xFFFF<<(msh?0:16)'. [integerOverflow] mednafen/src/pcfx/rainbow.cpp:411:14: error: Signed integer overflow for expression '0xFFFF<<(msh?0:16)'. [integerOverflow] mednafen/src/pcfx/rainbow.cpp:412:14: error: Signed integer overflow for expression '0xFFFF<<(msh?0:16)'. [integerOverflow] mednafen/src/pcfx/rainbow.cpp:413:14: error: Signed integer overflow for expression '0xFFFF<<(msh?0:16)'. [integerOverflow] mednafen/src/pcfx/soundbox.cpp:344:5: portability: Using memset() on struct which contains a floating point number. [memsetClassFloat] mednafen/src/pcfx/soundbox.cpp:638:45: style:inconclusive: Function 'SoundBox_Flush' argument 1 names different: declaration 'timestamp' definition 'end_timestamp'. [funcArgNamesDifferent] mednafen/src/pcfx/soundbox.h:29:45: note: Function 'SoundBox_Flush' argument 1 names different: declaration 'timestamp' definition 'end_timestamp'. mednafen/src/pcfx/soundbox.cpp:638:45: note: Function 'SoundBox_Flush' argument 1 names different: declaration 'timestamp' definition 'end_timestamp'. mednafen/src/psx/cdc.cpp:80:9: warning: Member variable 'PS_CDC::DiscChanged' is not initialized in the constructor. [uninitMemberVar] mednafen/src/psx/cdc.cpp:80:9: warning: Member variable 'PS_CDC::SubQChecksumOK' is not initialized in the constructor. [uninitMemberVar] mednafen/src/psx/cdc.cpp:80:9: warning: Member variable 'PS_CDC::HeaderBufValid' is not initialized in the constructor. [uninitMemberVar] mednafen/src/psx/cdc.cpp:80:9: warning: Member variable 'PS_CDC::StatusAfterSeek' is not initialized in the constructor. [uninitMemberVar] mednafen/src/psx/cdc.cpp:80:9: warning: Member variable 'PS_CDC::Forward' is not initialized in the constructor. [uninitMemberVar] mednafen/src/psx/cdc.cpp:80:9: warning: Member variable 'PS_CDC::Backward' is not initialized in the constructor. [uninitMemberVar] mednafen/src/psx/cdc.cpp:80:9: warning: Member variable 'PS_CDC::Muted' is not initialized in the constructor. [uninitMemberVar] mednafen/src/psx/cdc.cpp:80:9: warning: Member variable 'PS_CDC::HoldLogicalPos' is not initialized in the constructor. [uninitMemberVar] mednafen/src/psx/cdc.cpp:80:9: warning: Member variable 'PS_CDC::AsyncIRQPending' is not initialized in the constructor. [uninitMemberVar] mednafen/src/psx/cdc.cpp:80:9: warning: Member variable 'PS_CDC::SeekFinished' is not initialized in the constructor. [uninitMemberVar] mednafen/src/psx/cdc.cpp:80:9: warning: Member variable 'PS_CDC::CommandLoc_Dirty' is not initialized in the constructor. [uninitMemberVar] mednafen/src/psx/cdc.h:52:8: style:inconclusive: Technically the member function 'MDFN_IEN_PSX::PS_CDC::CalcNextEvent' can be const. [functionConst] mednafen/src/psx/cdc.cpp:119:15: note: Technically the member function 'MDFN_IEN_PSX::PS_CDC::CalcNextEvent' can be const. mednafen/src/psx/cdc.h:52:8: note: Technically the member function 'MDFN_IEN_PSX::PS_CDC::CalcNextEvent' can be const. mednafen/src/psx/cdc.h:119:7: style:inconclusive: Technically the member function 'MDFN_IEN_PSX::PS_CDC::RecalcIRQ' can be const. [functionConst] mednafen/src/psx/cdc.cpp:385:14: note: Technically the member function 'MDFN_IEN_PSX::PS_CDC::RecalcIRQ' can be const. mednafen/src/psx/cdc.h:119:7: note: Technically the member function 'MDFN_IEN_PSX::PS_CDC::RecalcIRQ' can be const. mednafen/src/psx/cdc.h:229:7: style:inconclusive: Technically the member function 'MDFN_IEN_PSX::PS_CDC::XA_Test' can be const. [functionConst] mednafen/src/psx/cdc.cpp:644:14: note: Technically the member function 'MDFN_IEN_PSX::PS_CDC::XA_Test' can be const. mednafen/src/psx/cdc.h:229:7: note: Technically the member function 'MDFN_IEN_PSX::PS_CDC::XA_Test' can be const. mednafen/src/psx/cdc.h:288:8: performance:inconclusive: Technically the member function 'MDFN_IEN_PSX::PS_CDC::Command_Init' can be static (but you may consider moving to unnamed namespace). [functionStatic] mednafen/src/psx/cdc.cpp:2477:15: note: Technically the member function 'MDFN_IEN_PSX::PS_CDC::Command_Init' can be static (but you may consider moving to unnamed namespace). mednafen/src/psx/cdc.h:288:8: note: Technically the member function 'MDFN_IEN_PSX::PS_CDC::Command_Init' can be static (but you may consider moving to unnamed namespace). mednafen/src/psx/cdc.cpp:113:12: style: C-style pointer casting [cstyleCast] mednafen/src/psx/cdc.cpp:816:65: style: Parameter 'r' can be declared as pointer to const [constParameter] mednafen/src/psx/cpu.h:97:9: style:inconclusive: Technically the member function 'MDFN_IEN_PSX::PS_CPU::GetBIU' can be const. [functionConst] mednafen/src/psx/cpu.cpp:259:16: note: Technically the member function 'MDFN_IEN_PSX::PS_CPU::GetBIU' can be const. mednafen/src/psx/cpu.h:97:9: note: Technically the member function 'MDFN_IEN_PSX::PS_CPU::GetBIU' can be const. mednafen/src/psx/cpu.h:237:7: style:inconclusive: Technically the member function 'MDFN_IEN_PSX::PS_CPU::CheckBreakpoints' can be const. [functionConst] mednafen/src/psx/cpu.cpp:2638:14: note: Technically the member function 'MDFN_IEN_PSX::PS_CPU::CheckBreakpoints' can be const. mednafen/src/psx/cpu.h:237:7: note: Technically the member function 'MDFN_IEN_PSX::PS_CPU::CheckBreakpoints' can be const. mednafen/src/psx/cpu.h:263:7: style:inconclusive: Technically the member function 'MDFN_IEN_PSX::PS_CPU::PeekCheckICache' can be const. [functionConst] mednafen/src/psx/cpu.cpp:2587:14: note: Technically the member function 'MDFN_IEN_PSX::PS_CPU::PeekCheckICache' can be const. mednafen/src/psx/cpu.h:263:7: note: Technically the member function 'MDFN_IEN_PSX::PS_CPU::PeekCheckICache' can be const. mednafen/src/psx/cpu.cpp:493:42: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] mednafen/src/psx/cpu.cpp:2292:46: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] mednafen/src/psx/cpu.cpp:2355:41: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] mednafen/src/psx/cpu.cpp:2468:14: style: Comparing expression of type 'unsigned int' against value 0. Condition is always true. [compareValueOutOfTypeRangeError] mednafen/src/psx/cpu.cpp:2544:14: style: Comparing expression of type 'unsigned int' against value 0. Condition is always true. [compareValueOutOfTypeRangeError] mednafen/src/psx/cpu.cpp:484:31: style: C-style pointer casting [cstyleCast] mednafen/src/psx/cpu.cpp:490:23: style: C-style pointer casting [cstyleCast] mednafen/src/psx/cpu.cpp:949:2: style: C-style pointer casting [cstyleCast] mednafen/src/psx/cpu.cpp:968:2: style: C-style pointer casting [cstyleCast] mednafen/src/psx/cpu.cpp:986:2: style: C-style pointer casting [cstyleCast] mednafen/src/psx/cpu.cpp:1003:2: style: C-style pointer casting [cstyleCast] mednafen/src/psx/cpu.cpp:1021:2: style: C-style pointer casting [cstyleCast] mednafen/src/psx/cpu.cpp:1153:4: style: C-style pointer casting [cstyleCast] mednafen/src/psx/cpu.cpp:1261:4: style: C-style pointer casting [cstyleCast] mednafen/src/psx/cpu.cpp:1297:4: style: C-style pointer casting [cstyleCast] mednafen/src/psx/cpu.cpp:1476:2: style: C-style pointer casting [cstyleCast] mednafen/src/psx/cpu.cpp:1491:2: style: C-style pointer casting [cstyleCast] mednafen/src/psx/cpu.cpp:1509:2: style: C-style pointer casting [cstyleCast] mednafen/src/psx/cpu.cpp:1527:2: style: C-style pointer casting [cstyleCast] mednafen/src/psx/cpu.cpp:1083:12: style: Variable 'LDWhich' is reassigned a value before the old one has been used. [redundantAssignment] mednafen/src/psx/cpu.cpp:1080:4: note: LDWhich is assigned mednafen/src/psx/cpu.cpp:1083:12: note: LDWhich is overwritten mednafen/src/psx/cpu.cpp:1212:11: style: Variable 'LDWhich' is reassigned a value before the old one has been used. [redundantAssignment] mednafen/src/psx/cpu.cpp:1202:3: note: LDWhich is assigned mednafen/src/psx/cpu.cpp:1212:11: note: LDWhich is overwritten mednafen/src/psx/cpu.cpp:1239:11: style: Variable 'LDWhich' is reassigned a value before the old one has been used. [redundantAssignment] mednafen/src/psx/cpu.cpp:1229:3: note: LDWhich is assigned mednafen/src/psx/cpu.cpp:1239:11: note: LDWhich is overwritten mednafen/src/psx/cpu.cpp:2069:10: style: Variable 'LDWhich' is reassigned a value before the old one has been used. [redundantAssignment] mednafen/src/psx/cpu.cpp:2067:2: note: LDWhich is assigned mednafen/src/psx/cpu.cpp:2069:10: note: LDWhich is overwritten mednafen/src/psx/cpu.cpp:2090:17: style: Variable 'LDWhich' is reassigned a value before the old one has been used. [redundantAssignment] mednafen/src/psx/cpu.cpp:2088:2: note: LDWhich is assigned mednafen/src/psx/cpu.cpp:2090:17: note: LDWhich is overwritten mednafen/src/psx/cpu.cpp:2120:11: style: Variable 'LDWhich' is reassigned a value before the old one has been used. [redundantAssignment] mednafen/src/psx/cpu.cpp:2118:3: note: LDWhich is assigned mednafen/src/psx/cpu.cpp:2120:11: note: LDWhich is overwritten mednafen/src/psx/cpu.cpp:2151:11: style: Variable 'LDWhich' is reassigned a value before the old one has been used. [redundantAssignment] mednafen/src/psx/cpu.cpp:2149:3: note: LDWhich is assigned mednafen/src/psx/cpu.cpp:2151:11: note: LDWhich is overwritten mednafen/src/psx/cpu.cpp:2183:11: style: Variable 'LDWhich' is reassigned a value before the old one has been used. [redundantAssignment] mednafen/src/psx/cpu.cpp:2181:3: note: LDWhich is assigned mednafen/src/psx/cpu.cpp:2183:11: note: LDWhich is overwritten mednafen/src/psx/cpu.cpp:2280:10: style: Variable 'LDWhich' is reassigned a value before the old one has been used. [redundantAssignment] mednafen/src/psx/cpu.cpp:2277:3: note: LDWhich is assigned mednafen/src/psx/cpu.cpp:2280:10: note: LDWhich is overwritten mednafen/src/psx/cpu.cpp:2352:10: style: Variable 'LDWhich' is reassigned a value before the old one has been used. [redundantAssignment] mednafen/src/psx/cpu.cpp:2349:3: note: LDWhich is assigned mednafen/src/psx/cpu.cpp:2352:10: note: LDWhich is overwritten mednafen/src/psx/cpu.cpp:2468:11: style: Unsigned expression 'which' can't be negative so it is unnecessary to test it. [unsignedPositive] mednafen/src/psx/cpu.cpp:2544:11: style: Unsigned expression 'which' can't be negative so it is unnecessary to test it. [unsignedPositive] mednafen/src/psx/cpu.cpp:391:52: style: Parameter 'timestamp' can be declared as reference to const [constParameter] mednafen/src/psx/cpu.cpp:2644:19: error: Signed integer overflow for expression '0x3F<<26'. [integerOverflow] mednafen/src/psx/cpu.cpp:673:21: error: Signed integer overflow for expression '0x3F<<26'. [integerOverflow] mednafen/src/psx/cpu.cpp:2283:33: error: Signed integer overflow for expression '0xFF<<24'. [integerOverflow] mednafen/src/psx/cpu.cpp:2286:35: error: Signed integer overflow for expression '0xFFFF<<16'. [integerOverflow] mednafen/src/psx/cpu.cpp:2289:37: error: Signed integer overflow for expression '0xFFFFFF<<8'. [integerOverflow] mednafen/src/psx/debug.cpp:464:12: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] mednafen/src/psx/debug.cpp:141:3: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] mednafen/src/psx/debug.cpp:168:99: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] mednafen/src/psx/dis.cpp:287:19: style: Comparing expression of type 'unsigned int' against value 0. Condition is always false. [compareValueOutOfTypeRangeError] mednafen/src/psx/dis.cpp:287:17: style: Checking if unsigned expression 'immediate' is less than zero. [unsignedLessThanZero] mednafen/src/psx/frontio.cpp:275:10: warning: Member variable 'FrontIO::ReceivePending' is not initialized in the constructor. [uninitMemberVar] mednafen/src/psx/frontio.cpp:275:10: warning: Member variable 'FrontIO::TransmitPending' is not initialized in the constructor. [uninitMemberVar] mednafen/src/psx/frontio.cpp:275:10: warning: Member variable 'FrontIO::ReceiveInProgress' is not initialized in the constructor. [uninitMemberVar] mednafen/src/psx/frontio.cpp:275:10: warning: Member variable 'FrontIO::TransmitInProgress' is not initialized in the constructor. [uninitMemberVar] mednafen/src/psx/frontio.cpp:275:10: warning: Member variable 'FrontIO::ReceiveBufferAvail' is not initialized in the constructor. [uninitMemberVar] mednafen/src/psx/frontio.cpp:275:10: warning: Member variable 'FrontIO::istatus' is not initialized in the constructor. [uninitMemberVar] mednafen/src/psx/frontio.cpp:275:10: warning: Member variable 'FrontIO::amct_enabled' is not initialized in the constructor. [uninitMemberVar] mednafen/src/psx/frontio.h:96:20: style:inconclusive: Technically the member function 'MDFN_IEN_PSX::FrontIO::CalcNextEventTS' can be const. [functionConst] mednafen/src/psx/frontio.cpp:344:28: note: Technically the member function 'MDFN_IEN_PSX::FrontIO::CalcNextEventTS' can be const. mednafen/src/psx/frontio.h:96:20: note: Technically the member function 'MDFN_IEN_PSX::FrontIO::CalcNextEventTS' can be const. mednafen/src/psx/frontio.cpp:137:68: style:inconclusive: Function 'GPULineHook' argument 1 names different: declaration 'line_timestamp' definition 'timestamp'. [funcArgNamesDifferent] mednafen/src/psx/frontio.h:46:64: note: Function 'GPULineHook' argument 1 names different: declaration 'line_timestamp' definition 'timestamp'. mednafen/src/psx/frontio.cpp:137:68: note: Function 'GPULineHook' argument 1 names different: declaration 'line_timestamp' definition 'timestamp'. mednafen/src/psx/frontio.cpp:198:31: style: Parameter 'emulate_multitap' can be declared as const array [constParameter] mednafen/src/psx/frontio.cpp:211:38: style: Parameter 'emulate_multitap' can be declared as const array [constParameter] mednafen/src/psx/gpu.cpp:1120:68: style:inconclusive: Function 'GPU_Update' argument 1 names different: declaration 'timestamp' definition 'sys_timestamp'. [funcArgNamesDifferent] mednafen/src/psx/gpu.h:230:69: note: Function 'GPU_Update' argument 1 names different: declaration 'timestamp' definition 'sys_timestamp'. mednafen/src/psx/gpu.cpp:1120:68: note: Function 'GPU_Update' argument 1 names different: declaration 'timestamp' definition 'sys_timestamp'. mednafen/src/psx/gpu.cpp:1504:40: style:inconclusive: Function 'GPU_StartFrame' argument 1 names different: declaration 'espec' definition 'espec_arg'. [funcArgNamesDifferent] mednafen/src/psx/gpu.h:228:41: note: Function 'GPU_StartFrame' argument 1 names different: declaration 'espec' definition 'espec_arg'. mednafen/src/psx/gpu.cpp:1504:40: note: Function 'GPU_StartFrame' argument 1 names different: declaration 'espec' definition 'espec_arg'. mednafen/src/psx/gpu_line.cpp:246:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] mednafen/src/psx/gpu_line.cpp:246:4: style: Variable 'cb' is assigned a value that is never used. [unreadVariable] mednafen/src/psx/gpu_sprite.cpp:181:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] mednafen/src/psx/gte.cpp:1171:8: style: Variable 'IR_temp' can be declared as const array [constVariable] mednafen/src/psx/gte.cpp:353:61: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] mednafen/src/psx/gte.cpp:1686:14: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] mednafen/src/psx/gte.cpp:353:61: error: Signed integer overflow for expression '1<<31'. [integerOverflow] mednafen/src/psx/gte.cpp:1686:14: error: Signed integer overflow for expression '1<<31'. [integerOverflow] mednafen/src/psx/input/dualanalog.cpp:36:15: style: Virtual function 'Power' is called from constructor 'InputDevice_DualAnalog(bool joystick_mode_)' at line 68. Dynamic binding is not used. [virtualCallInConstructor] mednafen/src/psx/input/dualanalog.cpp:68:2: note: Calling Power mednafen/src/psx/input/dualanalog.cpp:36:15: note: Power is a virtual function mednafen/src/psx/input/dualanalog.cpp:33:2: style: Class 'InputDevice_DualAnalog' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mednafen/src/psx/input/dualanalog.cpp:135:14: style: C-style pointer casting [cstyleCast] mednafen/src/psx/input/dualshock.cpp:130:24: warning: Member variable 'InputDevice_DualShock::cur_ana_button_state' is not initialized in the constructor. [uninitMemberVar] mednafen/src/psx/input/dualshock.cpp:66:15: style: Virtual function 'Power' is called from constructor 'InputDevice_DualShock()' at line 132. Dynamic binding is not used. [virtualCallInConstructor] mednafen/src/psx/input/dualshock.cpp:132:2: note: Calling Power mednafen/src/psx/input/dualshock.cpp:66:15: note: Power is a virtual function mednafen/src/psx/input/dualshock.cpp:451:34: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] mednafen/src/psx/input/dualshock.cpp:511:34: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] mednafen/src/psx/input/dualshock.cpp:164:21: style: C-style pointer casting [cstyleCast] mednafen/src/psx/input/dualshock.cpp:291:14: style: C-style pointer casting [cstyleCast] mednafen/src/psx/input/dualshock.cpp:319:14: style: C-style pointer casting [cstyleCast] mednafen/src/psx/input/gamepad.cpp:36:15: style: Virtual function 'Power' is called from constructor 'InputDevice_Gamepad()' at line 66. Dynamic binding is not used. [virtualCallInConstructor] mednafen/src/psx/input/gamepad.cpp:66:2: note: Calling Power mednafen/src/psx/input/gamepad.cpp:36:15: note: Power is a virtual function mednafen/src/psx/input/gamepad.cpp:132:14: style: C-style pointer casting [cstyleCast] mednafen/src/psx/input/guncon.cpp:36:15: style: Virtual function 'Power' is called from constructor 'InputDevice_GunCon()' at line 81. Dynamic binding is not used. [virtualCallInConstructor] mednafen/src/psx/input/guncon.cpp:81:2: note: Calling Power mednafen/src/psx/input/guncon.cpp:36:15: note: Power is a virtual function mednafen/src/psx/input/guncon.cpp:172:34: style: C-style pointer casting [cstyleCast] mednafen/src/psx/input/guncon.cpp:179:15: style: C-style pointer casting [cstyleCast] mednafen/src/psx/input/guncon.cpp:184:14: style: C-style pointer casting [cstyleCast] mednafen/src/psx/input/justifier.cpp:36:15: style: Virtual function 'Power' is called from constructor 'InputDevice_Justifier()' at line 82. Dynamic binding is not used. [virtualCallInConstructor] mednafen/src/psx/input/justifier.cpp:82:2: note: Calling Power mednafen/src/psx/input/justifier.cpp:36:15: note: Power is a virtual function mednafen/src/psx/input/justifier.cpp:126:34: style: C-style pointer casting [cstyleCast] mednafen/src/psx/input/justifier.cpp:133:15: style: C-style pointer casting [cstyleCast] mednafen/src/psx/input/justifier.cpp:138:14: style: C-style pointer casting [cstyleCast] mednafen/src/psx/input/memcard.cpp:38:15: style: Virtual function 'Power' is called from constructor 'InputDevice_Memcard()' at line 123. Dynamic binding is not used. [virtualCallInConstructor] mednafen/src/psx/input/memcard.cpp:123:2: note: Calling Power mednafen/src/psx/input/memcard.cpp:38:15: note: Power is a virtual function mednafen/src/psx/input/mouse.cpp:36:15: style: Virtual function 'Power' is called from constructor 'InputDevice_Mouse()' at line 74. Dynamic binding is not used. [virtualCallInConstructor] mednafen/src/psx/input/mouse.cpp:74:2: note: Calling Power mednafen/src/psx/input/mouse.cpp:36:15: note: Power is a virtual function mednafen/src/psx/input/mouse.cpp:173:38: style: C-style pointer casting [cstyleCast] mednafen/src/psx/input/mouse.cpp:174:38: style: C-style pointer casting [cstyleCast] mednafen/src/psx/input/mouse.cpp:182:14: style: C-style pointer casting [cstyleCast] mednafen/src/psx/input/mouse.cpp:183:23: style: C-style pointer casting [cstyleCast] mednafen/src/psx/input/multitap.h:34:15: style: Virtual function 'Power' is called from constructor 'InputDevice_Multitap()' at line 106. Dynamic binding is not used. [virtualCallInConstructor] mednafen/src/psx/input/multitap.cpp:106:2: note: Calling Power mednafen/src/psx/input/multitap.h:34:15: note: Power is a virtual function mednafen/src/psx/input/negcon.cpp:36:15: style: Virtual function 'Power' is called from constructor 'InputDevice_neGcon()' at line 68. Dynamic binding is not used. [virtualCallInConstructor] mednafen/src/psx/input/negcon.cpp:68:2: note: Calling Power mednafen/src/psx/input/negcon.cpp:36:15: note: Power is a virtual function mednafen/src/psx/input/negcon.cpp:140:14: style: C-style pointer casting [cstyleCast] mednafen/src/psx/input/negcon.cpp:145:25: style: C-style pointer casting [cstyleCast] mednafen/src/psx/input/negcon.cpp:147:33: style: C-style pointer casting [cstyleCast] mednafen/src/psx/input/negcon.cpp:148:33: style: C-style pointer casting [cstyleCast] mednafen/src/psx/input/negcon.cpp:149:33: style: C-style pointer casting [cstyleCast] mednafen/src/psx/irq.cpp:36:33: style:inconclusive: Function 'IRQ_Assert' argument 2 names different: declaration 'asserted' definition 'status'. [funcArgNamesDifferent] mednafen/src/psx/irq.h:44:33: note: Function 'IRQ_Assert' argument 2 names different: declaration 'asserted' definition 'status'. mednafen/src/psx/irq.cpp:36:33: note: Function 'IRQ_Assert' argument 2 names different: declaration 'asserted' definition 'status'. mednafen/src/psx/mdec.cpp:330:41: style: Parameter 'in_coeff' can be declared as pointer to const [constParameter] mednafen/src/psx/notes/tristep.cpp:19:19: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] mednafen/src/psx/notes/tristep.cpp:25:26: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] mednafen/src/psx/psx.cpp:1955:2: performance: Variable 'tags' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/psx/psx.cpp:994:8: style: Condition 'A>=0x1F801000' is always true [knownConditionTrueFalse] mednafen/src/psx/psx.cpp:992:7: note: Assuming that condition 'A>=0x1F801000' is not redundant mednafen/src/psx/psx.cpp:994:8: note: Condition 'A>=0x1F801000' is always true mednafen/src/psx/psx.cpp:884:8: style: Condition 'A>=0x1F801000' is always true [knownConditionTrueFalse] mednafen/src/psx/psx.cpp:856:7: note: Assuming that condition 'A>=0x1F801000' is not redundant mednafen/src/psx/psx.cpp:884:8: note: Condition 'A>=0x1F801000' is always true mednafen/src/psx/psx.cpp:1851:31: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] mednafen/src/psx/psx.cpp:1859:31: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] mednafen/src/psx/psx.cpp:1865:31: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] mednafen/src/psx/psx.cpp:1876:31: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] mednafen/src/psx/psx.cpp:1882:31: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] mednafen/src/psx/psx.cpp:1888:31: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] mednafen/src/psx/psx.cpp:1909:32: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] mednafen/src/psx/psx.cpp:1925:32: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] mednafen/src/psx/psx.cpp:1931:32: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] mednafen/src/psx/psx.cpp:1947:31: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] mednafen/src/psx/psx.cpp:532:30: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] mednafen/src/psx/psx.cpp:1233:26: style: C-style pointer casting [cstyleCast] mednafen/src/psx/psx.cpp:1309:50: style: C-style pointer casting [cstyleCast] mednafen/src/psx/psx.cpp:1311:12: style: C-style pointer casting [cstyleCast] mednafen/src/psx/psx.cpp:1313:13: style: C-style pointer casting [cstyleCast] mednafen/src/psx/psx.cpp:1318:25: style: C-style pointer casting [cstyleCast] mednafen/src/psx/psx.cpp:1323:25: style: C-style pointer casting [cstyleCast] mednafen/src/psx/psx.cpp:1328:25: style: C-style pointer casting [cstyleCast] mednafen/src/psx/psx.cpp:1455:17: style: C-style pointer casting [cstyleCast] mednafen/src/psx/psx.cpp:1856:5: style: Variable 'po' is reassigned a value before the old one has been used. [redundantAssignment] mednafen/src/psx/psx.cpp:1854:5: note: po is assigned mednafen/src/psx/psx.cpp:1856:5: note: po is overwritten mednafen/src/psx/psx.cpp:1280:24: style: Variable 'e' can be declared as reference to const [constVariable] mednafen/src/psx/psx.cpp:1897:25: error: Signed integer overflow for expression '0x24<<26'. [integerOverflow] mednafen/src/psx/psx.cpp:1903:25: error: Signed integer overflow for expression '0x28<<26'. [integerOverflow] mednafen/src/psx/psx.cpp:170:14: style: struct member 'Anonymous29::version' is never used. [unusedStructMember] mednafen/src/psx/psx.cpp:171:7: style: struct member 'Anonymous29::hwrev' is never used. [unusedStructMember] mednafen/src/psx/spu.cpp:268:64: style:inconclusive: Boolean expression 'dec_mode' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] mednafen/src/psx/spu.cpp:269:38: style:inconclusive: Boolean expression 'inv_mode' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] mednafen/src/psx/spu.cpp:269:51: style:inconclusive: Boolean expression 'dec_mode' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] mednafen/src/psx/spu.cpp:277:16: style:inconclusive: Boolean expression 'dec_mode' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] mednafen/src/psx/spu.cpp:277:29: style:inconclusive: Boolean expression 'inv_mode' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] mednafen/src/psx/spu.cpp:96:2: performance: Variable 'last_quality' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/psx/spu.cpp:98:2: performance: Variable 'IntermediateBufferPos' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/psx/spu.h:70:8: style:inconclusive: Technically the member function 'MDFN_IEN_PSX::SPU_Sweep::ReadVolume' can be const. [functionConst] mednafen/src/psx/spu.cpp:250:25: note: Technically the member function 'MDFN_IEN_PSX::SPU_Sweep::ReadVolume' can be const. mednafen/src/psx/spu.h:70:8: note: Technically the member function 'MDFN_IEN_PSX::SPU_Sweep::ReadVolume' can be const. mednafen/src/psx/spu.h:148:7: performance:inconclusive: Technically the member function 'MDFN_IEN_PSX::PS_SPU::CacheEnvelope' can be static (but you may consider moving to unnamed namespace). [functionStatic] mednafen/src/psx/spu.cpp:457:14: note: Technically the member function 'MDFN_IEN_PSX::PS_SPU::CacheEnvelope' can be static (but you may consider moving to unnamed namespace). mednafen/src/psx/spu.h:148:7: note: Technically the member function 'MDFN_IEN_PSX::PS_SPU::CacheEnvelope' can be static (but you may consider moving to unnamed namespace). mednafen/src/psx/spu.h:149:7: performance:inconclusive: Technically the member function 'MDFN_IEN_PSX::PS_SPU::ResetEnvelope' can be static (but you may consider moving to unnamed namespace). [functionStatic] mednafen/src/psx/spu.cpp:484:21: note: Technically the member function 'MDFN_IEN_PSX::PS_SPU::ResetEnvelope' can be static (but you may consider moving to unnamed namespace). mednafen/src/psx/spu.h:149:7: note: Technically the member function 'MDFN_IEN_PSX::PS_SPU::ResetEnvelope' can be static (but you may consider moving to unnamed namespace). mednafen/src/psx/spu.h:150:7: performance:inconclusive: Technically the member function 'MDFN_IEN_PSX::PS_SPU::ReleaseEnvelope' can be static (but you may consider moving to unnamed namespace). [functionStatic] mednafen/src/psx/spu.cpp:493:21: note: Technically the member function 'MDFN_IEN_PSX::PS_SPU::ReleaseEnvelope' can be static (but you may consider moving to unnamed namespace). mednafen/src/psx/spu.h:150:7: note: Technically the member function 'MDFN_IEN_PSX::PS_SPU::ReleaseEnvelope' can be static (but you may consider moving to unnamed namespace). mednafen/src/psx/spu.h:151:7: performance:inconclusive: Technically the member function 'MDFN_IEN_PSX::PS_SPU::RunEnvelope' can be static (but you may consider moving to unnamed namespace). [functionStatic] mednafen/src/psx/spu.cpp:502:21: note: Technically the member function 'MDFN_IEN_PSX::PS_SPU::RunEnvelope' can be static (but you may consider moving to unnamed namespace). mednafen/src/psx/spu.h:151:7: note: Technically the member function 'MDFN_IEN_PSX::PS_SPU::RunEnvelope' can be static (but you may consider moving to unnamed namespace). mednafen/src/psx/spu.h:348:9: style:inconclusive: Technically the member function 'MDFN_IEN_PSX::PS_SPU::PeekSPURAM' can be const. [functionConst] mednafen/src/psx/spu.cpp:1433:16: note: Technically the member function 'MDFN_IEN_PSX::PS_SPU::PeekSPURAM' can be const. mednafen/src/psx/spu.h:348:9: note: Technically the member function 'MDFN_IEN_PSX::PS_SPU::PeekSPURAM' can be const. mednafen/src/psx/spu.cpp:269:38: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] mednafen/src/psx/spu.cpp:277:16: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] mednafen/src/psx/spu.cpp:856:20: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] mednafen/src/psx/spu.cpp:1264:55: style: C-style pointer casting [cstyleCast] mednafen/src/psx/spu.cpp:473:37: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] mednafen/src/psx/spu.cpp:473:37: error: Signed integer overflow for expression '1<<31'. [integerOverflow] mednafen/src/qtrecord.cpp:190:11: warning: Member variable 'QTRecord::OnAudioTrack' is not initialized in the constructor. [uninitMemberVar] mednafen/src/qtrecord.cpp:194:2: performance: Variable 'SoundFramesWritten' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/qtrecord.cpp:196:2: performance: Variable 'SoundRate' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/qtrecord.cpp:197:2: performance: Variable 'SoundChan' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/qtrecord.cpp:413:21: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] mednafen/src/qtrecord.cpp:190:62: style:inconclusive: Function 'QTRecord' argument 2 names different: declaration 'spec_arg' definition 'spec'. [funcArgNamesDifferent] mednafen/src/qtrecord.h:58:53: note: Function 'QTRecord' argument 2 names different: declaration 'spec_arg' definition 'spec'. mednafen/src/qtrecord.cpp:190:62: note: Function 'QTRecord' argument 2 names different: declaration 'spec_arg' definition 'spec'. mednafen/src/quicklz/quicklz.c:838:36: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] mednafen/src/quicklz/quicklz.c:160:10: warning: Redundant assignment of 'invalid' to itself. [selfAssignment] mednafen/src/quicklz/quicklz.c:180:15: warning: Redundant assignment of 'hash_counter' to itself. [selfAssignment] mednafen/src/quicklz/quicklz.c:181:14: warning: Redundant assignment of 'first_valid' to itself. [selfAssignment] mednafen/src/quicklz/quicklz.c:521:14: warning: Redundant assignment of 'first_valid' to itself. [selfAssignment] mednafen/src/quicklz/quicklz.c:522:14: warning: Redundant assignment of 'last_hashed' to itself. [selfAssignment] mednafen/src/quicklz/quicklz.c:523:12: warning: Redundant assignment of 'hashtable' to itself. [selfAssignment] mednafen/src/quicklz/quicklz.c:797:29: style: Unsigned expression '*buffersize+size-1' can't be negative so it is unnecessary to test it. [unsignedPositive] mednafen/src/quicklz/quicklz.c:870:62: style: Unsigned expression '*buffersize+qlz_size_decompressed((char*)source)-1' can't be negative so it is unnecessary to test it. [unsignedPositive] mednafen/src/quicklz/quicklz.c:380:19: style: Local variable 'offset' shadows outer variable [shadowVariable] mednafen/src/quicklz/quicklz.c:319:18: note: Shadowed declaration mednafen/src/quicklz/quicklz.c:380:19: note: Shadow variable mednafen/src/quicklz/quicklz.c:255:38: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] mednafen/src/quicklz/quicklz.c:255:38: error: Signed integer overflow for expression '1<<31'. [integerOverflow] mednafen/src/quicklz/quicklz.c:160:10: style: Variable 'invalid' is assigned a value that is never used. [unreadVariable] mednafen/src/quicklz/quicklz.c:180:15: style: Variable 'hash_counter' is assigned a value that is never used. [unreadVariable] mednafen/src/quicklz/quicklz.c:181:14: style: Variable 'first_valid' is assigned a value that is never used. [unreadVariable] mednafen/src/quicklz/quicklz.c:320:12: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] mednafen/src/quicklz/quicklz.c:384:13: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] mednafen/src/quicklz/quicklz.c:521:14: style: Variable 'first_valid' is assigned a value that is never used. [unreadVariable] mednafen/src/resampler/resample.c:700:18: style: Redundant initialization for 'olen'. The initialized value is overwritten before it is read. [redundantInitialization] mednafen/src/resampler/resample.c:694:28: note: olen is initialized mednafen/src/resampler/resample.c:700:18: note: olen is overwritten mednafen/src/resampler/resample.c:371:27: style: Local variable 'sinc' shadows outer function [shadowFunction] mednafen/src/resampler/resample.c:312:21: note: Shadowed declaration mednafen/src/resampler/resample.c:371:27: note: Shadow variable mednafen/src/resampler/resample.c:422:27: style: Local variable 'sinc' shadows outer function [shadowFunction] mednafen/src/resampler/resample.c:312:21: note: Shadowed declaration mednafen/src/resampler/resample.c:422:27: note: Shadow variable mednafen/src/sasplay/sasplay.cpp:600:22: style:inconclusive: Boolean expression '!DualSCSP' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] mednafen/src/sasplay/sasplay.cpp:600:22: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] mednafen/src/sasplay/sasplay.cpp:383:55: style: C-style pointer casting [cstyleCast] mednafen/src/sasplay/sasplay.cpp:896:9: style: C-style pointer casting [cstyleCast] mednafen/src/sasplay/sasplay.cpp:905:9: style: C-style pointer casting [cstyleCast] mednafen/src/sasplay/sasplay.cpp:161:50: style: Parameter 's' can be declared as pointer to const [constParameter] mednafen/src/sexyal/convert.cpp:78:13: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/convert.cpp:113:19: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/convert.cpp:136:30: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/convert.cpp:138:24: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/convert.cpp:335:4: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] mednafen/src/sexyal/drivers/alsa.cpp:53:18: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/alsa.cpp:56:17: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/alsa.cpp:63:16: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/alsa.cpp:70:21: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/alsa.cpp:117:21: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/alsa.cpp:147:20: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/alsa.cpp:179:12: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/alsa.cpp:181:12: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/alsa.cpp:198:23: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/alsa.cpp:474:12: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/alsa.cpp:475:8: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/cmi8738.cpp:411:35: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] mednafen/src/sexyal/drivers/cmi8738.cpp:126:26: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/cmi8738.cpp:138:26: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/cmi8738.cpp:153:26: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/cmi8738.cpp:155:25: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/cmi8738.cpp:192:26: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/cmi8738.cpp:224:26: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/cmi8738.cpp:273:17: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/cmi8738.cpp:279:13: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/cmi8738.cpp:275:3: style: Variable 'pis' is assigned a value that is never used. [unreadVariable] mednafen/src/sexyal/drivers/cmi8738.cpp:281:3: style: Variable 'pis' is assigned a value that is never used. [unreadVariable] mednafen/src/sexyal/drivers/cmi8738.cpp:292:3: style: Variable 'pis' is assigned a value that is never used. [unreadVariable] mednafen/src/sexyal/drivers/cmi8738.cpp:299:3: style: Variable 'pis' is assigned a value that is never used. [unreadVariable] mednafen/src/sexyal/drivers/cmi8738.cpp:359:3: style: Variable 'pis' is assigned a value that is never used. [unreadVariable] mednafen/src/sexyal/drivers/dsound.cpp:92:9: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/dsound.cpp:93:10: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/dsound.cpp:224:23: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/dsound.cpp:289:23: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/dsound.cpp:328:23: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/dsound.cpp:340:10: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/dsound.cpp:374:25: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/dummy.cpp:37:28: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/dummy.cpp:65:28: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/dummy.cpp:91:28: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/dummy.cpp:112:28: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/dummy.cpp:127:29: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/dummy.cpp:150:17: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/dummy.cpp:156:17: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/es1370.cpp:113:13: style: Condition 'counter>1' is always false [knownConditionTrueFalse] mednafen/src/sexyal/drivers/es1370.cpp:105:21: note: Assignment 'counter=0', assigned value is 0 mednafen/src/sexyal/drivers/es1370.cpp:113:13: note: Condition 'counter>1' is always false mednafen/src/sexyal/drivers/es1370.cpp:396:29: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] mednafen/src/sexyal/drivers/es1370.cpp:417:58: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] mednafen/src/sexyal/drivers/es1370.cpp:114:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] mednafen/src/sexyal/drivers/es1370.cpp:135:25: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/es1370.cpp:146:25: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/es1370.cpp:161:25: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/es1370.cpp:163:25: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/es1370.cpp:200:25: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/es1370.cpp:238:25: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/es1370.cpp:280:17: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/es1370.cpp:286:13: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/es1370.cpp:232:23: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] mednafen/src/sexyal/drivers/es1370.cpp:392:22: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] mednafen/src/sexyal/drivers/es1370.cpp:417:22: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] mednafen/src/sexyal/drivers/es1370.cpp:232:23: error: Signed integer overflow for expression '1<<31'. [integerOverflow] mednafen/src/sexyal/drivers/es1370.cpp:392:22: error: Signed integer overflow for expression '1<<31'. [integerOverflow] mednafen/src/sexyal/drivers/es1370.cpp:417:22: error: Signed integer overflow for expression '1<<31'. [integerOverflow] mednafen/src/sexyal/drivers/es1370.cpp:282:3: style: Variable 'pis' is assigned a value that is never used. [unreadVariable] mednafen/src/sexyal/drivers/es1370.cpp:288:3: style: Variable 'pis' is assigned a value that is never used. [unreadVariable] mednafen/src/sexyal/drivers/es1370.cpp:299:3: style: Variable 'pis' is assigned a value that is never used. [unreadVariable] mednafen/src/sexyal/drivers/es1370.cpp:306:3: style: Variable 'pis' is assigned a value that is never used. [unreadVariable] mednafen/src/sexyal/drivers/es1370.cpp:364:3: style: Variable 'pis' is assigned a value that is never used. [unreadVariable] mednafen/src/sexyal/drivers/es1370.cpp:373:3: style: Variable 'pis' is assigned a value that is never used. [unreadVariable] mednafen/src/sexyal/drivers/es1371.cpp:145:13: style: Condition 'counter>1' is always false [knownConditionTrueFalse] mednafen/src/sexyal/drivers/es1371.cpp:137:21: note: Assignment 'counter=0', assigned value is 0 mednafen/src/sexyal/drivers/es1371.cpp:145:13: note: Condition 'counter>1' is always false mednafen/src/sexyal/drivers/es1371.cpp:86:29: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] mednafen/src/sexyal/drivers/es1371.cpp:126:21: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] mednafen/src/sexyal/drivers/es1371.cpp:364:29: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] mednafen/src/sexyal/drivers/es1371.cpp:385:29: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] mednafen/src/sexyal/drivers/es1371.cpp:422:51: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] mednafen/src/sexyal/drivers/es1371.cpp:438:30: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] mednafen/src/sexyal/drivers/es1371.cpp:498:62: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] mednafen/src/sexyal/drivers/es1371.cpp:146:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] mednafen/src/sexyal/drivers/es1371.cpp:167:25: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/es1371.cpp:178:25: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/es1371.cpp:193:25: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/es1371.cpp:195:25: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/es1371.cpp:234:25: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/es1371.cpp:268:25: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/es1371.cpp:314:17: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/es1371.cpp:320:13: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/es1371.cpp:494:22: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] mednafen/src/sexyal/drivers/es1371.cpp:494:22: error: Signed integer overflow for expression '1<<31'. [integerOverflow] mednafen/src/sexyal/drivers/es1371.cpp:316:3: style: Variable 'pis' is assigned a value that is never used. [unreadVariable] mednafen/src/sexyal/drivers/es1371.cpp:322:3: style: Variable 'pis' is assigned a value that is never used. [unreadVariable] mednafen/src/sexyal/drivers/es1371.cpp:333:3: style: Variable 'pis' is assigned a value that is never used. [unreadVariable] mednafen/src/sexyal/drivers/es1371.cpp:337:17: style: Variable 'cur_pciid' is assigned a value that is never used. [unreadVariable] mednafen/src/sexyal/drivers/es1371.cpp:340:3: style: Variable 'pis' is assigned a value that is never used. [unreadVariable] mednafen/src/sexyal/drivers/es1371.cpp:466:3: style: Variable 'pis' is assigned a value that is never used. [unreadVariable] mednafen/src/sexyal/drivers/jack.cpp:270:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] mednafen/src/sexyal/drivers/jack.cpp:277:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] mednafen/src/sexyal/drivers/jack.cpp:67:20: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/jack.cpp:105:20: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/jack.cpp:125:38: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/jack.cpp:127:40: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/jack.cpp:148:42: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/jack.cpp:160:20: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/jack.cpp:180:37: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/jack.cpp:231:20: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/jack.cpp:232:17: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/jack.cpp:258:46: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/jack.cpp:299:22: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/jack.cpp:331:20: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/jack.cpp:354:7: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/jack.cpp:356:12: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/openbsd.cpp:51:24: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/openbsd.cpp:74:24: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/openbsd.cpp:96:24: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/openbsd.cpp:112:11: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/openbsd.cpp:127:26: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/openbsd.cpp:242:12: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/openbsd.cpp:243:8: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/oss.cpp:64:9: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/oss.cpp:80:21: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/oss.cpp:81:25: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/oss.cpp:109:21: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/oss.cpp:147:21: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/oss.cpp:159:23: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/oss.cpp:309:12: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/oss.cpp:354:14: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/oss.cpp:361:26: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/oss.cpp:55:12: style: Variable 'tmp' is assigned a value that is never used. [unreadVariable] mednafen/src/sexyal/drivers/oss.cpp:257:4: style: Variable 'fd' is assigned a value that is never used. [unreadVariable] mednafen/src/sexyal/drivers/oss.cpp:271:2: style: Variable 'fd' is assigned a value that is never used. [unreadVariable] mednafen/src/sexyal/drivers/oss.cpp:283:4: style: Variable 'fd' is assigned a value that is never used. [unreadVariable] mednafen/src/sexyal/drivers/oss.cpp:289:4: style: Variable 'fd' is assigned a value that is never used. [unreadVariable] mednafen/src/sexyal/drivers/oss.cpp:303:4: style: Variable 'fd' is assigned a value that is never used. [unreadVariable] mednafen/src/sexyal/drivers/oss.cpp:336:4: style: Variable 'fd' is assigned a value that is never used. [unreadVariable] mednafen/src/sexyal/drivers/oss.cpp:342:4: style: Variable 'fd' is assigned a value that is never used. [unreadVariable] mednafen/src/sexyal/drivers/oss.cpp:356:3: style: Variable 'fd' is assigned a value that is never used. [unreadVariable] mednafen/src/sexyal/drivers/oss.cpp:363:3: style: Variable 'fd' is assigned a value that is never used. [unreadVariable] mednafen/src/sexyal/drivers/sb.cpp:171:55: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] mednafen/src/sexyal/drivers/sb.cpp:1172:19: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] mednafen/src/sexyal/drivers/sb.cpp:315:20: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/sb.cpp:346:20: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/sb.cpp:374:20: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/sb.cpp:385:20: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/sb.cpp:401:20: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/sb.cpp:403:25: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/sb.cpp:441:20: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/sb.cpp:522:20: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/sb.cpp:683:17: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/sb.cpp:689:12: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/sdl.cpp:74:27: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/sdl.cpp:75:19: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/sdl.cpp:92:19: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/sdl.cpp:134:19: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/sdl.cpp:186:19: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/sdl.cpp:187:26: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/sdl.cpp:212:10: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/sdl.cpp:243:19: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/sdl.cpp:253:19: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/sdl.cpp:270:21: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/sdl.cpp:345:7: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/sdl.cpp:349:12: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/sdl.cpp:362:21: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/wasapi.cpp:240:2: error: Memory leak: dev [memleak] mednafen/src/sexyal/drivers/wasapi.cpp:244:3: error: Memory leak: dev [memleak] mednafen/src/sexyal/drivers/wasapi.cpp:256:3: error: Memory leak: dev [memleak] mednafen/src/sexyal/drivers/wasapi.cpp:257:3: error: Memory leak: dev [memleak] mednafen/src/sexyal/drivers/wasapi.cpp:309:2: error: Memory leak: dev [memleak] mednafen/src/sexyal/drivers/wasapi.cpp:92:24: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/wasapi.cpp:93:21: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/wasapi.cpp:172:16: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/wasapi.cpp:173:30: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/wasapi.cpp:226:9: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/wasapi.cpp:229:6: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/wasapi.cpp:250:19: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/wasapi.cpp:425:15: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/wasapi.cpp:475:21: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/wasapi.cpp:487:21: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/wasapi.cpp:488:23: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/wasapi.cpp:501:10: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/wasapi.cpp:502:10: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/wasapi.cpp:545:23: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/wasapi.cpp:106:3: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] mednafen/src/sexyal/drivers/wasapi.cpp:115:3: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] mednafen/src/sexyal/drivers/wasapish.cpp:80:24: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/wasapish.cpp:81:23: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/wasapish.cpp:127:25: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/wasapish.cpp:203:14: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/wasapish.cpp:210:6: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/wasapish.cpp:242:19: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/wasapish.cpp:453:23: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/wasapish.cpp:489:23: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/wasapish.cpp:498:23: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/drivers/wasapish.cpp:499:23: style: C-style pointer casting [cstyleCast] mednafen/src/sexyal/sexyal.cpp:98:27: style: C-style pointer casting [cstyleCast] mednafen/src/sms/render.cpp:281:56: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] mednafen/src/sms/render.cpp:302:49: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] mednafen/src/sms/render.cpp:485:65: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] mednafen/src/sms/render.cpp:492:33: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] mednafen/src/sms/render.cpp:512:49: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] mednafen/src/sms/render.cpp:298:16: style: The scope of the variable 'c' can be reduced. [variableScope] mednafen/src/sms/system.cpp:109:20: style: C-style pointer casting [cstyleCast] mednafen/src/sms/system.cpp:168:16: style: C-style pointer casting [cstyleCast] mednafen/src/sms/system.cpp:173:16: style: C-style pointer casting [cstyleCast] mednafen/src/sms/tms.cpp:253:13: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] mednafen/src/sms/tms.cpp:258:13: note: Found duplicate branches for 'if' and 'else'. mednafen/src/sms/tms.cpp:253:13: note: Found duplicate branches for 'if' and 'else'. mednafen/src/sms/tms.cpp:112:12: style: The scope of the variable 'lb' can be reduced. [variableScope] mednafen/src/sms/tms.cpp:113:17: style: The scope of the variable 'p' can be reduced. [variableScope] mednafen/src/sms/tms.cpp:375:9: style: The scope of the variable 'name' can be reduced. [variableScope] mednafen/src/sms/tms.cpp:377:12: style: The scope of the variable 'clut' can be reduced. [variableScope] mednafen/src/sms/tms.cpp:378:12: style: The scope of the variable 'bpex' can be reduced. [variableScope] mednafen/src/sms/tms.cpp:400:12: style: The scope of the variable 'bpex' can be reduced. [variableScope] mednafen/src/sms/tms.cpp:431:12: style: The scope of the variable 'bpex' can be reduced. [variableScope] mednafen/src/sms/tms.cpp:452:12: style: The scope of the variable 'bpex' can be reduced. [variableScope] mednafen/src/sms/tms.cpp:469:12: style: The scope of the variable 'mcex' can be reduced. [variableScope] mednafen/src/sms/tms.cpp:486:12: style: The scope of the variable 'mcex' can be reduced. [variableScope] mednafen/src/sms/tms.cpp:503:9: style: The scope of the variable 'name' can be reduced. [variableScope] mednafen/src/sms/tms.cpp:505:12: style: The scope of the variable 'clut' can be reduced. [variableScope] mednafen/src/sms/tms.cpp:506:12: style: The scope of the variable 'bpex' can be reduced. [variableScope] mednafen/src/sms/vdp.cpp:350:52: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] mednafen/src/sms/vdp.cpp:92:9: style: The scope of the variable 'i' can be reduced. [variableScope] mednafen/src/sms/vdp.cpp:539:9: style: The scope of the variable 'iline' can be reduced. [variableScope] mednafen/src/snes/src/ppu/ppu.hpp:17:1: style: The class 'PPUcounter' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] mednafen/src/snes/src/smp/smp.hpp:8:3: warning: Member variable 'SMP::dp' is not initialized in the constructor. [uninitMemberVar] mednafen/src/snes/src/smp/smp.hpp:8:3: warning: Member variable 'SMP::sp' is not initialized in the constructor. [uninitMemberVar] mednafen/src/snes/src/smp/smp.hpp:8:3: warning: Member variable 'SMP::rd' is not initialized in the constructor. [uninitMemberVar] mednafen/src/snes/src/smp/smp.hpp:8:3: warning: Member variable 'SMP::wr' is not initialized in the constructor. [uninitMemberVar] mednafen/src/snes/src/smp/smp.hpp:8:3: warning: Member variable 'SMP::bit' is not initialized in the constructor. [uninitMemberVar] mednafen/src/snes/src/smp/smp.hpp:8:3: warning: Member variable 'SMP::ya' is not initialized in the constructor. [uninitMemberVar] mednafen/src/snes/src/smp/smp.hpp:8:3: warning: Member variable 'SMP::t0' is not initialized in the constructor. [uninitMemberVar] mednafen/src/snes/src/smp/smp.hpp:8:3: warning: Member variable 'SMP::t1' is not initialized in the constructor. [uninitMemberVar] mednafen/src/snes/src/smp/smp.hpp:8:3: warning: Member variable 'SMP::t2' is not initialized in the constructor. [uninitMemberVar] mednafen/src/snes/src/smp/smp.hpp:8:3: warning: Member variable 'SMP::status' is not initialized in the constructor. [uninitMemberVar] mednafen/src/snes/src/smp/core/registers.hpp:43:3: warning: Member variable 'regs_t::pc' is not initialized in the constructor. [uninitMemberVar] mednafen/src/snes/src/smp/core/registers.hpp:43:3: warning: Member variable 'regs_t::r' is not initialized in the constructor. [uninitMemberVar] mednafen/src/snes/src/system/video/video.hpp:1:1: style: The class 'Video' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] mednafen/src/snes/src/system/audio/audio.hpp:1:1: style: The class 'Audio' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] mednafen/src/snes/src/chip/superfx/superfx.hpp:3:1: style: The class 'SuperFX' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] mednafen/src/snes/src/chip/bsx/bsx.hpp:1:1: style: The class 'BSXBase' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] mednafen/src/snes/src/chip/bsx/bsx.hpp:46:1: style: The class 'BSXFlash' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] mednafen/src/snes/src/chip/sdd1/sdd1emu.hpp:36:3: warning: Member variable 'SDD1_IM::byte_ptr' is not initialized in the constructor. [uninitMemberVar] mednafen/src/snes/src/chip/sdd1/sdd1emu.hpp:36:3: warning: Member variable 'SDD1_IM::bit_count' is not initialized in the constructor. [uninitMemberVar] mednafen/src/snes/src/chip/cx4/cx4.hpp:1:1: style: The class 'Cx4' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] mednafen/src/snes/src/chip/st010/st010.hpp:1:1: style: The class 'ST010' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] mednafen/src/snes/src/memory/memory.hpp:27:16: style:inconclusive: Technically the member function 'bSNES_v059::StaticRAM::read' can be const. [functionConst] mednafen/src/snes/src/memory/memory-inline.hpp:10:18: note: Technically the member function 'bSNES_v059::StaticRAM::read' can be const. mednafen/src/snes/src/memory/memory.hpp:27:16: note: Technically the member function 'bSNES_v059::StaticRAM::read' can be const. mednafen/src/snes/src/memory/memory.hpp:49:16: style:inconclusive: Technically the member function 'bSNES_v059::MappedRAM::read' can be const. [functionConst] mednafen/src/snes/src/memory/memory-inline.hpp:47:18: note: Technically the member function 'bSNES_v059::MappedRAM::read' can be const. mednafen/src/snes/src/memory/memory.hpp:49:16: note: Technically the member function 'bSNES_v059::MappedRAM::read' can be const. mednafen/src/snes/src/system/interface/interface.hpp:3:8: performance:inconclusive: Technically the member function 'bSNES_v059::Interface::video_scanline' can be static (but you may consider moving to unnamed namespace). [functionStatic] mednafen/src/snes/interface.cpp:129:29: note: Technically the member function 'bSNES_v059::Interface::video_scanline' can be static (but you may consider moving to unnamed namespace). mednafen/src/snes/src/system/interface/interface.hpp:3:8: note: Technically the member function 'bSNES_v059::Interface::video_scanline' can be static (but you may consider moving to unnamed namespace). mednafen/src/snes/src/system/interface/interface.hpp:4:8: performance:inconclusive: Technically the member function 'bSNES_v059::Interface::audio_sample' can be static (but you may consider moving to unnamed namespace). [functionStatic] mednafen/src/snes/interface.cpp:219:29: note: Technically the member function 'bSNES_v059::Interface::audio_sample' can be static (but you may consider moving to unnamed namespace). mednafen/src/snes/src/system/interface/interface.hpp:4:8: note: Technically the member function 'bSNES_v059::Interface::audio_sample' can be static (but you may consider moving to unnamed namespace). mednafen/src/snes/src/system/interface/interface.hpp:5:8: performance:inconclusive: Technically the member function 'bSNES_v059::Interface::input_poll' can be static (but you may consider moving to unnamed namespace). [functionStatic] mednafen/src/snes/interface.cpp:263:29: note: Technically the member function 'bSNES_v059::Interface::input_poll' can be static (but you may consider moving to unnamed namespace). mednafen/src/snes/src/system/interface/interface.hpp:5:8: note: Technically the member function 'bSNES_v059::Interface::input_poll' can be static (but you may consider moving to unnamed namespace). mednafen/src/snes/src/system/interface/interface.hpp:6:11: performance:inconclusive: Technically the member function 'bSNES_v059::Interface::input_poll' can be static (but you may consider moving to unnamed namespace). [functionStatic] mednafen/src/snes/interface.cpp:323:32: note: Technically the member function 'bSNES_v059::Interface::input_poll' can be static (but you may consider moving to unnamed namespace). mednafen/src/snes/src/system/interface/interface.hpp:6:11: note: Technically the member function 'bSNES_v059::Interface::input_poll' can be static (but you may consider moving to unnamed namespace). mednafen/src/snes/src/system/input/input.hpp:49:21: style:inconclusive: Technically the member function 'bSNES_v059::Input::tick' can be const. [functionConst] mednafen/src/snes/src/memory/memory-inline.hpp:15:47: warning: Struct 'StaticRAM' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] mednafen/src/snes/src/memory/memory-inline.hpp:15:47: warning: Struct 'StaticRAM' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] mednafen/src/snes/src/memory/memory.hpp:32:10: style: Struct 'StaticRAM' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mednafen/src/snes/src/chip/sdd1/sdd1emu.hpp:52:3: style: Class 'SDD1_GCD' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mednafen/src/snes/src/chip/sdd1/sdd1emu.hpp:112:3: style: Class 'SDD1_CM' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mednafen/src/snes/src/chip/sdd1/sdd1emu.hpp:132:3: style: Class 'SDD1_OL' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mednafen/src/snes/src/memory/memory.hpp:13:12: style: The function 'size' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/snes/src/memory/memory.hpp:2:27: note: Virtual function in base class mednafen/src/snes/src/memory/memory.hpp:13:12: note: Function in derived class mednafen/src/snes/src/memory/memory.hpp:14:9: style: The function 'read' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/snes/src/memory/memory.hpp:3:17: note: Virtual function in base class mednafen/src/snes/src/memory/memory.hpp:14:9: note: Function in derived class mednafen/src/snes/src/memory/memory.hpp:15:8: style: The function 'write' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/snes/src/memory/memory.hpp:4:16: note: Virtual function in base class mednafen/src/snes/src/memory/memory.hpp:15:8: note: Function in derived class mednafen/src/snes/src/memory/memory.hpp:25:19: style: The function 'size' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/snes/src/memory/memory.hpp:2:27: note: Virtual function in base class mednafen/src/snes/src/memory/memory.hpp:25:19: note: Function in derived class mednafen/src/snes/src/memory/memory.hpp:28:15: style: The function 'write' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/snes/src/memory/memory.hpp:4:16: note: Virtual function in base class mednafen/src/snes/src/memory/memory.hpp:28:15: note: Function in derived class mednafen/src/snes/src/memory/memory.hpp:47:19: style: The function 'size' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/snes/src/memory/memory.hpp:2:27: note: Virtual function in base class mednafen/src/snes/src/memory/memory.hpp:47:19: note: Function in derived class mednafen/src/snes/src/memory/memory.hpp:50:15: style: The function 'write' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/snes/src/memory/memory.hpp:4:16: note: Virtual function in base class mednafen/src/snes/src/memory/memory.hpp:50:15: note: Function in derived class mednafen/src/snes/src/memory/memory.hpp:62:9: style: The function 'read' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/snes/src/memory/memory.hpp:3:17: note: Virtual function in base class mednafen/src/snes/src/memory/memory.hpp:62:9: note: Function in derived class mednafen/src/snes/src/memory/memory.hpp:63:8: style: The function 'write' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/snes/src/memory/memory.hpp:4:16: note: Virtual function in base class mednafen/src/snes/src/memory/memory.hpp:63:8: note: Function in derived class mednafen/src/snes/src/memory/smemory/smemory.hpp:3:8: style: The function 'load_cart' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/snes/src/memory/memory.hpp:80:23: note: Virtual function in base class mednafen/src/snes/src/memory/smemory/smemory.hpp:3:8: note: Function in derived class mednafen/src/snes/src/memory/smemory/smemory.hpp:4:8: style: The function 'unload_cart' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/snes/src/memory/memory.hpp:81:23: note: Virtual function in base class mednafen/src/snes/src/memory/smemory/smemory.hpp:4:8: note: Function in derived class mednafen/src/snes/src/memory/smemory/smemory.hpp:6:8: style: The function 'power' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/snes/src/memory/memory.hpp:83:23: note: Virtual function in base class mednafen/src/snes/src/memory/smemory/smemory.hpp:6:8: note: Function in derived class mednafen/src/snes/src/memory/smemory/smemory.hpp:7:8: style: The function 'reset' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/snes/src/memory/memory.hpp:84:23: note: Virtual function in base class mednafen/src/snes/src/memory/smemory/smemory.hpp:7:8: note: Function in derived class mednafen/src/snes/src/memory/smemory/smemory.hpp:24:8: style: The function 'serialize' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/snes/src/memory/memory.hpp:91:16: note: Virtual function in base class mednafen/src/snes/src/memory/smemory/smemory.hpp:24:8: note: Function in derived class mednafen/src/snes/src/cpu/scpu/scpu.hpp:3:8: style: The function 'enter' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/snes/src/cpu/cpu.hpp:7:16: note: Virtual function in base class mednafen/src/snes/src/cpu/scpu/scpu.hpp:3:8: note: Function in derived class mednafen/src/snes/src/cpu/scpu/scpu.hpp:5:8: style: The function 'interrupt_pending' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/snes/src/cpu/core/core.hpp:16:16: note: Virtual function in base class mednafen/src/snes/src/cpu/scpu/scpu.hpp:5:8: note: Function in derived class mednafen/src/snes/src/cpu/scpu/memory/memory.hpp:6:7: style: The function 'port_read' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/snes/src/cpu/cpu.hpp:17:17: note: Virtual function in base class mednafen/src/snes/src/cpu/scpu/memory/memory.hpp:6:7: note: Function in derived class mednafen/src/snes/src/cpu/scpu/memory/memory.hpp:7:6: style: The function 'port_write' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/snes/src/cpu/cpu.hpp:18:16: note: Virtual function in base class mednafen/src/snes/src/cpu/scpu/memory/memory.hpp:7:6: note: Function in derived class mednafen/src/snes/src/cpu/scpu/memory/memory.hpp:13:6: style: The function 'op_io' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/snes/src/cpu/core/core.hpp:12:16: note: Virtual function in base class mednafen/src/snes/src/cpu/scpu/memory/memory.hpp:13:6: note: Function in derived class mednafen/src/snes/src/cpu/scpu/memory/memory.hpp:14:20: style: The function 'op_read' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/snes/src/cpu/core/core.hpp:13:19: note: Virtual function in base class mednafen/src/snes/src/cpu/scpu/memory/memory.hpp:14:20: note: Function in derived class mednafen/src/snes/src/cpu/scpu/memory/memory.hpp:15:19: style: The function 'op_write' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/snes/src/cpu/core/core.hpp:14:16: note: Virtual function in base class mednafen/src/snes/src/cpu/scpu/memory/memory.hpp:15:19: note: Function in derived class mednafen/src/snes/src/cpu/scpu/mmio/mmio.hpp:6:9: style: The function 'pio' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/snes/src/cpu/cpu.hpp:15:17: note: Virtual function in base class mednafen/src/snes/src/cpu/scpu/mmio/mmio.hpp:6:9: note: Function in derived class mednafen/src/snes/src/cpu/scpu/mmio/mmio.hpp:7:8: style: The function 'joylatch' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/snes/src/cpu/cpu.hpp:16:16: note: Virtual function in base class mednafen/src/snes/src/cpu/scpu/mmio/mmio.hpp:7:8: note: Function in derived class mednafen/src/snes/src/cpu/scpu/timing/timing.hpp:19:8: style: The function 'scanline' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/snes/src/cpu/cpu.hpp:20:16: note: Virtual function in base class mednafen/src/snes/src/cpu/scpu/timing/timing.hpp:19:8: note: Function in derived class mednafen/src/snes/src/cpu/scpu/timing/timing.hpp:22:21: style: The function 'last_cycle' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/snes/src/cpu/core/core.hpp:15:16: note: Virtual function in base class mednafen/src/snes/src/cpu/scpu/timing/timing.hpp:22:21: note: Function in derived class mednafen/src/snes/src/cpu/scpu/scpu.hpp:90:8: style: The function 'power' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/snes/src/cpu/cpu.hpp:21:16: note: Virtual function in base class mednafen/src/snes/src/cpu/scpu/scpu.hpp:90:8: note: Function in derived class mednafen/src/snes/src/cpu/scpu/scpu.hpp:91:8: style: The function 'reset' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/snes/src/cpu/cpu.hpp:22:16: note: Virtual function in base class mednafen/src/snes/src/cpu/scpu/scpu.hpp:91:8: note: Function in derived class mednafen/src/snes/src/cpu/scpu/scpu.hpp:93:8: style: The function 'serialize' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/snes/src/cpu/cpu.hpp:24:16: note: Virtual function in base class mednafen/src/snes/src/cpu/scpu/scpu.hpp:93:8: note: Function in derived class mednafen/src/snes/src/chip/superfx/bus/bus.hpp:14:12: style: The function 'size' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/snes/src/memory/memory.hpp:2:27: note: Virtual function in base class mednafen/src/snes/src/chip/superfx/bus/bus.hpp:14:12: note: Function in derived class mednafen/src/snes/src/chip/superfx/bus/bus.hpp:15:9: style: The function 'read' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/snes/src/memory/memory.hpp:3:17: note: Virtual function in base class mednafen/src/snes/src/chip/superfx/bus/bus.hpp:15:9: note: Function in derived class mednafen/src/snes/src/chip/superfx/bus/bus.hpp:16:8: style: The function 'write' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/snes/src/memory/memory.hpp:4:16: note: Virtual function in base class mednafen/src/snes/src/chip/superfx/bus/bus.hpp:16:8: note: Function in derived class mednafen/src/snes/src/chip/superfx/bus/bus.hpp:20:12: style: The function 'size' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/snes/src/memory/memory.hpp:2:27: note: Virtual function in base class mednafen/src/snes/src/chip/superfx/bus/bus.hpp:20:12: note: Function in derived class mednafen/src/snes/src/chip/superfx/bus/bus.hpp:21:9: style: The function 'read' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/snes/src/memory/memory.hpp:3:17: note: Virtual function in base class mednafen/src/snes/src/chip/superfx/bus/bus.hpp:21:9: note: Function in derived class mednafen/src/snes/src/chip/superfx/bus/bus.hpp:22:8: style: The function 'write' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/snes/src/memory/memory.hpp:4:16: note: Virtual function in base class mednafen/src/snes/src/chip/superfx/bus/bus.hpp:22:8: note: Function in derived class mednafen/src/snes/src/chip/sa1/bus/bus.hpp:10:22: style: The function 'read' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/snes/src/memory/memory.hpp:3:17: note: Virtual function in base class mednafen/src/snes/src/chip/sa1/bus/bus.hpp:10:22: note: Function in derived class mednafen/src/snes/src/chip/sa1/bus/bus.hpp:11:21: style: The function 'write' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/snes/src/memory/memory.hpp:4:16: note: Virtual function in base class mednafen/src/snes/src/chip/sa1/bus/bus.hpp:11:21: note: Function in derived class mednafen/src/snes/src/chip/sa1/bus/bus.hpp:17:12: style: The function 'size' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/snes/src/memory/memory.hpp:2:27: note: Virtual function in base class mednafen/src/snes/src/chip/sa1/bus/bus.hpp:17:12: note: Function in derived class mednafen/src/snes/src/chip/sa1/bus/bus.hpp:18:22: style: The function 'read' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/snes/src/memory/memory.hpp:3:17: note: Virtual function in base class mednafen/src/snes/src/chip/sa1/bus/bus.hpp:18:22: note: Function in derived class mednafen/src/snes/src/chip/sa1/bus/bus.hpp:19:21: style: The function 'write' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/snes/src/memory/memory.hpp:4:16: note: Virtual function in base class mednafen/src/snes/src/chip/sa1/bus/bus.hpp:19:21: note: Function in derived class mednafen/src/snes/src/chip/sa1/bus/bus.hpp:23:12: style: The function 'size' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/snes/src/memory/memory.hpp:2:27: note: Virtual function in base class mednafen/src/snes/src/chip/sa1/bus/bus.hpp:23:12: note: Function in derived class mednafen/src/snes/src/chip/sa1/bus/bus.hpp:24:22: style: The function 'read' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/snes/src/memory/memory.hpp:3:17: note: Virtual function in base class mednafen/src/snes/src/chip/sa1/bus/bus.hpp:24:22: note: Function in derived class mednafen/src/snes/src/chip/sa1/bus/bus.hpp:25:21: style: The function 'write' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/snes/src/memory/memory.hpp:4:16: note: Virtual function in base class mednafen/src/snes/src/chip/sa1/bus/bus.hpp:25:21: note: Function in derived class mednafen/src/snes/src/chip/sa1/bus/bus.hpp:29:12: style: The function 'size' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/snes/src/memory/memory.hpp:2:27: note: Virtual function in base class mednafen/src/snes/src/chip/sa1/bus/bus.hpp:29:12: note: Function in derived class mednafen/src/snes/src/chip/sa1/bus/bus.hpp:30:22: style: The function 'read' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/snes/src/memory/memory.hpp:3:17: note: Virtual function in base class mednafen/src/snes/src/chip/sa1/bus/bus.hpp:30:22: note: Function in derived class mednafen/src/snes/src/chip/sa1/bus/bus.hpp:31:21: style: The function 'write' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/snes/src/memory/memory.hpp:4:16: note: Virtual function in base class mednafen/src/snes/src/chip/sa1/bus/bus.hpp:31:21: note: Function in derived class mednafen/src/snes/src/chip/sa1/bus/bus.hpp:35:12: style: The function 'size' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/snes/src/memory/memory.hpp:2:27: note: Virtual function in base class mednafen/src/snes/src/chip/sa1/bus/bus.hpp:35:12: note: Function in derived class mednafen/src/snes/src/chip/sa1/bus/bus.hpp:36:22: style: The function 'read' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/snes/src/memory/memory.hpp:3:17: note: Virtual function in base class mednafen/src/snes/src/chip/sa1/bus/bus.hpp:36:22: note: Function in derived class mednafen/src/snes/src/chip/sa1/bus/bus.hpp:37:21: style: The function 'write' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/snes/src/memory/memory.hpp:4:16: note: Virtual function in base class mednafen/src/snes/src/chip/sa1/bus/bus.hpp:37:21: note: Function in derived class mednafen/src/snes/src/chip/sa1/bus/bus.hpp:42:12: style: The function 'size' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/snes/src/memory/memory.hpp:2:27: note: Virtual function in base class mednafen/src/snes/src/chip/sa1/bus/bus.hpp:42:12: note: Function in derived class mednafen/src/snes/src/chip/sa1/bus/bus.hpp:43:22: style: The function 'read' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/snes/src/memory/memory.hpp:3:17: note: Virtual function in base class mednafen/src/snes/src/chip/sa1/bus/bus.hpp:43:22: note: Function in derived class mednafen/src/snes/src/chip/sa1/bus/bus.hpp:44:21: style: The function 'write' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/snes/src/memory/memory.hpp:4:16: note: Virtual function in base class mednafen/src/snes/src/chip/sa1/bus/bus.hpp:44:21: note: Function in derived class mednafen/src/snes/src/chip/sa1/memory/memory.hpp:1:19: style: The function 'op_io' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/snes/src/cpu/core/core.hpp:12:16: note: Virtual function in base class mednafen/src/snes/src/chip/sa1/memory/memory.hpp:1:19: note: Function in derived class mednafen/src/snes/src/chip/sa1/sa1.hpp:25:21: style: The function 'last_cycle' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/snes/src/cpu/core/core.hpp:15:16: note: Virtual function in base class mednafen/src/snes/src/chip/sa1/sa1.hpp:25:21: note: Function in derived class mednafen/src/snes/src/chip/sa1/sa1.hpp:26:21: style: The function 'interrupt_pending' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/snes/src/cpu/core/core.hpp:16:16: note: Virtual function in base class mednafen/src/snes/src/chip/sa1/sa1.hpp:26:21: note: Function in derived class mednafen/src/snes/src/chip/bsx/bsx.hpp:53:12: style: The function 'size' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/snes/src/memory/memory.hpp:2:27: note: Virtual function in base class mednafen/src/snes/src/chip/bsx/bsx.hpp:53:12: note: Function in derived class mednafen/src/snes/src/chip/bsx/bsx.hpp:54:9: style: The function 'read' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/snes/src/memory/memory.hpp:3:17: note: Virtual function in base class mednafen/src/snes/src/chip/bsx/bsx.hpp:54:9: note: Function in derived class mednafen/src/snes/src/chip/bsx/bsx.hpp:55:8: style: The function 'write' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/snes/src/memory/memory.hpp:4:16: note: Virtual function in base class mednafen/src/snes/src/chip/bsx/bsx.hpp:55:8: note: Function in derived class mednafen/src/snes/src/chip/sdd1/sdd1.hpp:13:9: style: The function 'read' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/snes/src/memory/memory.hpp:3:17: note: Virtual function in base class mednafen/src/snes/src/chip/sdd1/sdd1.hpp:13:9: note: Function in derived class mednafen/src/snes/src/chip/sdd1/sdd1.hpp:14:8: style: The function 'write' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/snes/src/memory/memory.hpp:4:16: note: Virtual function in base class mednafen/src/snes/src/chip/sdd1/sdd1.hpp:14:8: note: Function in derived class mednafen/src/snes/src/chip/spc7110/spc7110.hpp:41:9: style: The function 'read' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/snes/src/memory/memory.hpp:3:17: note: Virtual function in base class mednafen/src/snes/src/chip/spc7110/spc7110.hpp:41:9: note: Function in derived class mednafen/src/snes/src/chip/spc7110/spc7110.hpp:42:8: style: The function 'write' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/snes/src/memory/memory.hpp:4:16: note: Virtual function in base class mednafen/src/snes/src/chip/spc7110/spc7110.hpp:42:8: note: Function in derived class mednafen/src/snes/src/chip/cx4/cx4.hpp:8:9: style: The function 'read' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/snes/src/memory/memory.hpp:3:17: note: Virtual function in base class mednafen/src/snes/src/chip/cx4/cx4.hpp:8:9: note: Function in derived class mednafen/src/snes/src/chip/cx4/cx4.hpp:9:8: style: The function 'write' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/snes/src/memory/memory.hpp:4:16: note: Virtual function in base class mednafen/src/snes/src/chip/cx4/cx4.hpp:9:8: note: Function in derived class mednafen/src/snes/src/chip/dsp1/dsp1.hpp:10:9: style: The function 'read' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/snes/src/memory/memory.hpp:3:17: note: Virtual function in base class mednafen/src/snes/src/chip/dsp1/dsp1.hpp:10:9: note: Function in derived class mednafen/src/snes/src/chip/dsp1/dsp1.hpp:11:8: style: The function 'write' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/snes/src/memory/memory.hpp:4:16: note: Virtual function in base class mednafen/src/snes/src/chip/dsp1/dsp1.hpp:11:8: note: Function in derived class mednafen/src/snes/src/chip/dsp2/dsp2.hpp:29:9: style: The function 'read' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/snes/src/memory/memory.hpp:3:17: note: Virtual function in base class mednafen/src/snes/src/chip/dsp2/dsp2.hpp:29:9: note: Function in derived class mednafen/src/snes/src/chip/dsp2/dsp2.hpp:30:8: style: The function 'write' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/snes/src/memory/memory.hpp:4:16: note: Virtual function in base class mednafen/src/snes/src/chip/dsp2/dsp2.hpp:30:8: note: Function in derived class mednafen/src/snes/src/chip/dsp3/dsp3.hpp:8:9: style: The function 'read' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/snes/src/memory/memory.hpp:3:17: note: Virtual function in base class mednafen/src/snes/src/chip/dsp3/dsp3.hpp:8:9: note: Function in derived class mednafen/src/snes/src/chip/dsp3/dsp3.hpp:9:9: style: The function 'write' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/snes/src/memory/memory.hpp:4:16: note: Virtual function in base class mednafen/src/snes/src/chip/dsp3/dsp3.hpp:9:9: note: Function in derived class mednafen/src/snes/src/chip/dsp4/dsp4.hpp:8:9: style: The function 'read' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/snes/src/memory/memory.hpp:3:17: note: Virtual function in base class mednafen/src/snes/src/chip/dsp4/dsp4.hpp:8:9: note: Function in derived class mednafen/src/snes/src/chip/dsp4/dsp4.hpp:9:9: style: The function 'write' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/snes/src/memory/memory.hpp:4:16: note: Virtual function in base class mednafen/src/snes/src/chip/dsp4/dsp4.hpp:9:9: note: Function in derived class mednafen/src/snes/src/chip/obc1/obc1.hpp:8:9: style: The function 'read' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/snes/src/memory/memory.hpp:3:17: note: Virtual function in base class mednafen/src/snes/src/chip/obc1/obc1.hpp:8:9: note: Function in derived class mednafen/src/snes/src/chip/obc1/obc1.hpp:9:8: style: The function 'write' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/snes/src/memory/memory.hpp:4:16: note: Virtual function in base class mednafen/src/snes/src/chip/obc1/obc1.hpp:9:8: note: Function in derived class mednafen/src/snes/src/chip/st010/st010.hpp:8:9: style: The function 'read' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/snes/src/memory/memory.hpp:3:17: note: Virtual function in base class mednafen/src/snes/src/chip/st010/st010.hpp:8:9: note: Function in derived class mednafen/src/snes/src/chip/st010/st010.hpp:9:8: style: The function 'write' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mednafen/src/snes/src/memory/memory.hpp:4:16: note: Virtual function in base class mednafen/src/snes/src/chip/st010/st010.hpp:9:8: note: Function in derived class mednafen/src/snes/interface.cpp:442:81: style: Condition 'memoryA->size()!=-1U' is always true [knownConditionTrueFalse] mednafen/src/snes/interface.cpp:443:67: style: Condition 'memoryB->size()!=-1U' is always true [knownConditionTrueFalse] mednafen/src/snes/interface.cpp:455:58: style: Condition 'memoryA->size()!=-1U' is always true [knownConditionTrueFalse] mednafen/src/snes/interface.cpp:455:34: note: Assuming that condition 'memoryA->size()!=0' is not redundant mednafen/src/snes/interface.cpp:455:58: note: Condition 'memoryA->size()!=-1U' is always true mednafen/src/snes/interface.cpp:460:58: style: Condition 'memoryB->size()!=-1U' is always true [knownConditionTrueFalse] mednafen/src/snes/interface.cpp:460:34: note: Assuming that condition 'memoryB->size()!=0' is not redundant mednafen/src/snes/interface.cpp:460:58: note: Condition 'memoryB->size()!=-1U' is always true mednafen/src/snes/interface.cpp:475:57: style: Condition 'memoryA->size()!=-1U' is always true [knownConditionTrueFalse] mednafen/src/snes/interface.cpp:475:33: note: Assuming that condition 'memoryA->size()!=0' is not redundant mednafen/src/snes/interface.cpp:475:57: note: Condition 'memoryA->size()!=-1U' is always true mednafen/src/snes/interface.cpp:478:57: style: Condition 'memoryB->size()!=-1U' is always true [knownConditionTrueFalse] mednafen/src/snes/interface.cpp:478:33: note: Assuming that condition 'memoryB->size()!=0' is not redundant mednafen/src/snes/interface.cpp:478:57: note: Condition 'memoryB->size()!=-1U' is always true mednafen/src/snes/interface.cpp:178:37: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] mednafen/src/snes/interface.cpp:326:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] mednafen/src/snes/interface.cpp:326:3: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] mednafen/src/snes/interface.cpp:326:3: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] mednafen/src/snes/interface.cpp:294:23: style: C-style pointer casting [cstyleCast] mednafen/src/snes/interface.cpp:303:24: style: C-style pointer casting [cstyleCast] mednafen/src/snes/interface.cpp:946:55: style: C-style pointer casting [cstyleCast] mednafen/src/snes/interface.cpp:1152:19: style: C-style pointer casting [cstyleCast] mednafen/src/snes/interface.cpp:664:7: style: The scope of the variable 'PAL' can be reduced. [variableScope] mednafen/src/snes/src/memory/memory-inline.hpp:15:31: style:inconclusive: Function 'StaticRAM' argument 1 names different: declaration 'size' definition 'n'. [funcArgNamesDifferent] mednafen/src/snes/src/memory/memory.hpp:32:29: note: Function 'StaticRAM' argument 1 names different: declaration 'size' definition 'n'. mednafen/src/snes/src/memory/memory-inline.hpp:15:31: note: Function 'StaticRAM' argument 1 names different: declaration 'size' definition 'n'. mednafen/src/snes/interface.cpp:129:113: style:inconclusive: Function 'video_scanline' argument 5 names different: declaration 'interlace' definition 'interlaced'. [funcArgNamesDifferent] mednafen/src/snes/src/system/interface/interface.hpp:3:92: note: Function 'video_scanline' argument 5 names different: declaration 'interlace' definition 'interlaced'. mednafen/src/snes/interface.cpp:129:113: note: Function 'video_scanline' argument 5 names different: declaration 'interlace' definition 'interlaced'. mednafen/src/snes/interface.cpp:74:60: style: Parameter 'CustomColorMap' can be declared as pointer to const [constParameter] mednafen/src/snes/src/cartridge/cartridge.cpp:120:3: performance: Variable 'loaded' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/snes/src/cartridge/header.cpp:249:9: style: Local variable 'mapper' shadows outer variable [shadowVariable] mednafen/src/snes/src/cartridge/cartridge.hpp:56:26: note: Shadowed declaration mednafen/src/snes/src/cartridge/header.cpp:249:9: note: Shadow variable mednafen/src/snes/src/cartridge/cartridge.cpp:45:16: style: Local variable 'ram_size' shadows outer variable [shadowVariable] mednafen/src/snes/src/cartridge/cartridge.hpp:98:12: note: Shadowed declaration mednafen/src/snes/src/cartridge/cartridge.cpp:45:16: note: Shadow variable mednafen/src/snes/src/cheat/cheat.cpp:22:49: style:inconclusive: Function 'install_read_patch' argument 1 names different: declaration 'c' definition 'code'. [funcArgNamesDifferent] mednafen/src/snes/src/cheat/cheat.hpp:20:44: note: Function 'install_read_patch' argument 1 names different: declaration 'c' definition 'code'. mednafen/src/snes/src/cheat/cheat.cpp:22:49: note: Function 'install_read_patch' argument 1 names different: declaration 'c' definition 'code'. mednafen/src/snes/src/chip/bsx/bsx_base.cpp:39:17: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] mednafen/src/snes/src/chip/cx4/oam.cpp:8:10: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] mednafen/src/snes/src/chip/cx4/oam.cpp:6:40: note: outer condition: i>=0 mednafen/src/snes/src/chip/cx4/oam.cpp:8:10: note: identical inner condition: i>=0 mednafen/src/snes/src/chip/cx4/opcodes.cpp:110:18: warning: Redundant assignment of 'C41FAngleRes' to itself. [selfAssignment] mednafen/src/snes/src/chip/cx4/functions.cpp:69:10: style: Variable 'c4z' is assigned a value that is never used. [unreadVariable] mednafen/src/snes/src/chip/dsp1/dsp1emu.cpp:253:16: style: Variable 'Size' is assigned a value that is never used. [unreadVariable] mednafen/src/snes/src/chip/dsp2/opcodes.cpp:8:15: style: The scope of the variable 'c0' can be reduced. [variableScope] mednafen/src/snes/src/chip/dsp2/opcodes.cpp:8:19: style: The scope of the variable 'c1' can be reduced. [variableScope] mednafen/src/snes/src/chip/dsp2/opcodes.cpp:8:23: style: The scope of the variable 'c2' can be reduced. [variableScope] mednafen/src/snes/src/chip/dsp2/opcodes.cpp:8:27: style: The scope of the variable 'c3' can be reduced. [variableScope] mednafen/src/snes/src/chip/dsp2/opcodes.cpp:91:15: style: The scope of the variable 'c1' can be reduced. [variableScope] mednafen/src/snes/src/chip/dsp2/opcodes.cpp:91:19: style: The scope of the variable 'c2' can be reduced. [variableScope] mednafen/src/snes/src/chip/dsp2/opcodes.cpp:151:11: style: The scope of the variable 'j' can be reduced. [variableScope] mednafen/src/snes/src/chip/dsp3/dsp3emu.c:312:14: warning: Either the condition 'DSP3_BMIndex<8' is redundant or the array 'DSP3_Bitmap[8]' is accessed at index 8, which is out of bounds. [arrayIndexOutOfBoundsCond] mednafen/src/snes/src/chip/dsp3/dsp3emu.c:309:19: note: Assuming that condition 'DSP3_BMIndex<8' is not redundant mednafen/src/snes/src/chip/dsp3/dsp3emu.c:311:15: note: DSP3_BMIndex is incremented', new value is 8 mednafen/src/snes/src/chip/dsp3/dsp3emu.c:312:14: note: Array index out of bounds mednafen/src/snes/src/chip/dsp4/dsp4emu.c:787:15: style: Local variable 'win_left' shadows outer variable [shadowVariable] mednafen/src/snes/src/chip/dsp4/dsp4emu.c:565:9: note: Shadowed declaration mednafen/src/snes/src/chip/dsp4/dsp4emu.c:787:15: note: Shadow variable mednafen/src/snes/src/chip/dsp4/dsp4emu.c:787:25: style: Local variable 'win_right' shadows outer variable [shadowVariable] mednafen/src/snes/src/chip/dsp4/dsp4emu.c:565:19: note: Shadowed declaration mednafen/src/snes/src/chip/dsp4/dsp4emu.c:787:25: note: Shadow variable mednafen/src/snes/src/chip/spc7110/decomp.cpp:151:40: error: Array 'pixelorder[4]' accessed at index 4, which is out of bounds. [arrayIndexOutOfBounds] mednafen/src/snes/src/chip/spc7110/decomp.cpp:150:20: note: Assuming that condition 'm<4' is not redundant mednafen/src/snes/src/chip/spc7110/decomp.cpp:151:15: note: Assignment 'n=m', assigned value is 4 mednafen/src/snes/src/chip/spc7110/decomp.cpp:151:40: note: Array index out of bounds mednafen/src/snes/src/chip/spc7110/decomp.cpp:159:39: error: Array 'realorder[4]' accessed at index 4, which is out of bounds. [arrayIndexOutOfBounds] mednafen/src/snes/src/chip/spc7110/decomp.cpp:158:20: note: Assuming that condition 'm<4' is not redundant mednafen/src/snes/src/chip/spc7110/decomp.cpp:159:15: note: Assignment 'n=m', assigned value is 4 mednafen/src/snes/src/chip/spc7110/decomp.cpp:159:39: note: Array index out of bounds mednafen/src/snes/src/chip/spc7110/decomp.cpp:164:39: error: Array 'realorder[4]' accessed at index 4, which is out of bounds. [arrayIndexOutOfBounds] mednafen/src/snes/src/chip/spc7110/decomp.cpp:163:20: note: Assuming that condition 'm<4' is not redundant mednafen/src/snes/src/chip/spc7110/decomp.cpp:164:15: note: Assignment 'n=m', assigned value is 4 mednafen/src/snes/src/chip/spc7110/decomp.cpp:164:39: note: Array index out of bounds mednafen/src/snes/src/chip/spc7110/decomp.cpp:169:39: error: Array 'realorder[4]' accessed at index 4, which is out of bounds. [arrayIndexOutOfBounds] mednafen/src/snes/src/chip/spc7110/decomp.cpp:168:20: note: Assuming that condition 'm<4' is not redundant mednafen/src/snes/src/chip/spc7110/decomp.cpp:169:15: note: Assignment 'n=m', assigned value is 4 mednafen/src/snes/src/chip/spc7110/decomp.cpp:169:39: note: Array index out of bounds mednafen/src/snes/src/chip/spc7110/decomp.cpp:257:41: error: Array 'pixelorder[16]' accessed at index 16, which is out of bounds. [arrayIndexOutOfBounds] mednafen/src/snes/src/chip/spc7110/decomp.cpp:256:20: note: Assuming that condition 'm<16' is not redundant mednafen/src/snes/src/chip/spc7110/decomp.cpp:257:15: note: Assignment 'n=m', assigned value is 16 mednafen/src/snes/src/chip/spc7110/decomp.cpp:257:41: note: Array index out of bounds mednafen/src/snes/src/chip/spc7110/decomp.cpp:265:40: error: Array 'realorder[16]' accessed at index 16, which is out of bounds. [arrayIndexOutOfBounds] mednafen/src/snes/src/chip/spc7110/decomp.cpp:264:20: note: Assuming that condition 'm<16' is not redundant mednafen/src/snes/src/chip/spc7110/decomp.cpp:265:15: note: Assignment 'n=m', assigned value is 16 mednafen/src/snes/src/chip/spc7110/decomp.cpp:265:40: note: Array index out of bounds mednafen/src/snes/src/chip/spc7110/decomp.cpp:270:40: error: Array 'realorder[16]' accessed at index 16, which is out of bounds. [arrayIndexOutOfBounds] mednafen/src/snes/src/chip/spc7110/decomp.cpp:269:20: note: Assuming that condition 'm<16' is not redundant mednafen/src/snes/src/chip/spc7110/decomp.cpp:270:15: note: Assignment 'n=m', assigned value is 16 mednafen/src/snes/src/chip/spc7110/decomp.cpp:270:40: note: Array index out of bounds mednafen/src/snes/src/chip/spc7110/decomp.cpp:275:40: error: Array 'realorder[16]' accessed at index 16, which is out of bounds. [arrayIndexOutOfBounds] mednafen/src/snes/src/chip/spc7110/decomp.cpp:274:20: note: Assuming that condition 'm<16' is not redundant mednafen/src/snes/src/chip/spc7110/decomp.cpp:275:15: note: Assignment 'n=m', assigned value is 16 mednafen/src/snes/src/chip/spc7110/decomp.cpp:275:40: note: Array index out of bounds mednafen/src/snes/src/chip/spc7110/spc7110.cpp:360:24: style: Variable 'length' is assigned a value that is never used. [unreadVariable] mednafen/src/snes/src/chip/st010/st010_op.cpp:53:21: style: C-style pointer casting [cstyleCast] mednafen/src/snes/src/chip/st010/st010_op.cpp:54:21: style: C-style pointer casting [cstyleCast] mednafen/src/snes/src/chip/st010/st010_op.cpp:56:8: style: The scope of the variable 'sorted' can be reduced. [variableScope] mednafen/src/snes/src/chip/superfx/bus/bus.cpp:14:11: error: syntax error [syntaxError] mednafen/src/snes/src/cpu/core/opcode_misc.cpp:75:18: style: Condition 'regs.wai=-1' is always true [knownConditionTrueFalse] mednafen/src/snes/src/cpu/cpu.cpp:23:6: warning: Member variable 'CPU::cpu_version' is not initialized in the constructor. [uninitMemberVar] mednafen/src/snes/src/cpu/cpu.cpp:23:6: warning: Member variable 'PPUcounter::status' is not initialized in the constructor. Maybe it should be initialized directly in the class PPUcounter? [uninitDerivedMemberVar] mednafen/src/snes/src/cpu/cpu.cpp:23:6: warning: Member variable 'PPUcounter::history' is not initialized in the constructor. Maybe it should be initialized directly in the class PPUcounter? [uninitDerivedMemberVar] mednafen/src/snes/src/cpu/cpu.cpp:23:6: warning: Member variable 'MMIO::sa1_irq' is not initialized in the constructor. Maybe it should be initialized directly in the class MMIO? [uninitDerivedMemberVar] mednafen/src/snes/src/cpu/cpu.cpp:23:6: warning: Member variable 'MMIO::sa1_rdyb' is not initialized in the constructor. Maybe it should be initialized directly in the class MMIO? [uninitDerivedMemberVar] mednafen/src/snes/src/cpu/cpu.cpp:23:6: warning: Member variable 'MMIO::sa1_resb' is not initialized in the constructor. Maybe it should be initialized directly in the class MMIO? [uninitDerivedMemberVar] mednafen/src/snes/src/cpu/cpu.cpp:23:6: warning: Member variable 'MMIO::sa1_nmi' is not initialized in the constructor. Maybe it should be initialized directly in the class MMIO? [uninitDerivedMemberVar] mednafen/src/snes/src/cpu/cpu.cpp:23:6: warning: Member variable 'MMIO::smeg' is not initialized in the constructor. Maybe it should be initialized directly in the class MMIO? [uninitDerivedMemberVar] mednafen/src/snes/src/cpu/cpu.cpp:23:6: warning: Member variable 'MMIO::cpu_irqen' is not initialized in the constructor. Maybe it should be initialized directly in the class MMIO? [uninitDerivedMemberVar] mednafen/src/snes/src/cpu/cpu.cpp:23:6: warning: Member variable 'MMIO::chdma_irqen' is not initialized in the constructor. Maybe it should be initialized directly in the class MMIO? [uninitDerivedMemberVar] mednafen/src/snes/src/cpu/cpu.cpp:23:6: warning: Member variable 'MMIO::cpu_irqcl' is not initialized in the constructor. Maybe it should be initialized directly in the class MMIO? [uninitDerivedMemberVar] mednafen/src/snes/src/cpu/cpu.cpp:23:6: warning: Member variable 'MMIO::chdma_irqcl' is not initialized in the constructor. Maybe it should be initialized directly in the class MMIO? [uninitDerivedMemberVar] mednafen/src/snes/src/cpu/cpu.cpp:23:6: warning: Member variable 'MMIO::crv' is not initialized in the constructor. Maybe it should be initialized directly in the class MMIO? [uninitDerivedMemberVar] mednafen/src/snes/src/cpu/cpu.cpp:23:6: warning: Member variable 'MMIO::cnv' is not initialized in the constructor. Maybe it should be initialized directly in the class MMIO? [uninitDerivedMemberVar] mednafen/src/snes/src/cpu/cpu.cpp:23:6: warning: Member variable 'MMIO::civ' is not initialized in the constructor. Maybe it should be initialized directly in the class MMIO? [uninitDerivedMemberVar] mednafen/src/snes/src/cpu/cpu.cpp:23:6: warning: Member variable 'MMIO::cpu_irq' is not initialized in the constructor. Maybe it should be initialized directly in the class MMIO? [uninitDerivedMemberVar] mednafen/src/snes/src/cpu/cpu.cpp:23:6: warning: Member variable 'MMIO::cpu_ivsw' is not initialized in the constructor. Maybe it should be initialized directly in the class MMIO? [uninitDerivedMemberVar] mednafen/src/snes/src/cpu/cpu.cpp:23:6: warning: Member variable 'MMIO::cpu_nvsw' is not initialized in the constructor. Maybe it should be initialized directly in the class MMIO? [uninitDerivedMemberVar] mednafen/src/snes/src/cpu/cpu.cpp:23:6: warning: Member variable 'MMIO::cmeg' is not initialized in the constructor. Maybe it should be initialized directly in the class MMIO? [uninitDerivedMemberVar] mednafen/src/snes/src/cpu/cpu.cpp:23:6: warning: Member variable 'MMIO::sa1_irqen' is not initialized in the constructor. Maybe it should be initialized directly in the class MMIO? [uninitDerivedMemberVar] mednafen/src/snes/src/cpu/cpu.cpp:23:6: warning: Member variable 'MMIO::timer_irqen' is not initialized in the constructor. Maybe it should be initialized directly in the class MMIO? [uninitDerivedMemberVar] mednafen/src/snes/src/cpu/cpu.cpp:23:6: warning: Member variable 'MMIO::dma_irqen' is not initialized in the constructor. Maybe it should be initialized directly in the class MMIO? [uninitDerivedMemberVar] mednafen/src/snes/src/cpu/cpu.cpp:23:6: warning: Member variable 'MMIO::sa1_nmien' is not initialized in the constructor. Maybe it should be initialized directly in the class MMIO? [uninitDerivedMemberVar] mednafen/src/snes/src/cpu/cpu.cpp:23:6: warning: Member variable 'MMIO::sa1_irqcl' is not initialized in the constructor. Maybe it should be initialized directly in the class MMIO? [uninitDerivedMemberVar] mednafen/src/snes/src/cpu/cpu.cpp:23:6: warning: Member variable 'MMIO::timer_irqcl' is not initialized in the constructor. Maybe it should be initialized directly in the class MMIO? [uninitDerivedMemberVar] mednafen/src/snes/src/cpu/cpu.cpp:23:6: warning: Member variable 'MMIO::dma_irqcl' is not initialized in the constructor. Maybe it should be initialized directly in the class MMIO? [uninitDerivedMemberVar] mednafen/src/snes/src/cpu/cpu.cpp:23:6: warning: Member variable 'MMIO::sa1_nmicl' is not initialized in the constructor. Maybe it should be initialized directly in the class MMIO? [uninitDerivedMemberVar] mednafen/src/snes/src/cpu/cpu.cpp:23:6: warning: Member variable 'MMIO::snv' is not initialized in the constructor. Maybe it should be initialized directly in the class MMIO? [uninitDerivedMemberVar] mednafen/src/snes/src/cpu/cpu.cpp:23:6: warning: Member variable 'MMIO::siv' is not initialized in the constructor. Maybe it should be initialized directly in the class MMIO? [uninitDerivedMemberVar] mednafen/src/snes/src/cpu/cpu.cpp:23:6: warning: Member variable 'MMIO::hvselb' is not initialized in the constructor. Maybe it should be initialized directly in the class MMIO? [uninitDerivedMemberVar] mednafen/src/snes/src/cpu/cpu.cpp:23:6: warning: Member variable 'MMIO::ven' is not initialized in the constructor. Maybe it should be initialized directly in the class MMIO? [uninitDerivedMemberVar] mednafen/src/snes/src/cpu/cpu.cpp:23:6: warning: Member variable 'MMIO::hen' is not initialized in the constructor. Maybe it should be initialized directly in the class MMIO? [uninitDerivedMemberVar] mednafen/src/snes/src/cpu/cpu.cpp:23:6: warning: Member variable 'MMIO::hcnt' is not initialized in the constructor. Maybe it should be initialized directly in the class MMIO? [uninitDerivedMemberVar] mednafen/src/snes/src/cpu/cpu.cpp:23:6: warning: Member variable 'MMIO::vcnt' is not initialized in the constructor. Maybe it should be initialized directly in the class MMIO? [uninitDerivedMemberVar] mednafen/src/snes/src/cpu/cpu.cpp:23:6: warning: Member variable 'MMIO::cbmode' is not initialized in the constructor. Maybe it should be initialized directly in the class MMIO? [uninitDerivedMemberVar] mednafen/src/snes/src/cpu/cpu.cpp:23:6: warning: Member variable 'MMIO::cb' is not initialized in the constructor. Maybe it should be initialized directly in the class MMIO? [uninitDerivedMemberVar] mednafen/src/snes/src/cpu/cpu.cpp:23:6: warning: Member variable 'MMIO::dbmode' is not initialized in the constructor. Maybe it should be initialized directly in the class MMIO? [uninitDerivedMemberVar] mednafen/src/snes/src/cpu/cpu.cpp:23:6: warning: Member variable 'MMIO::db' is not initialized in the constructor. Maybe it should be initialized directly in the class MMIO? [uninitDerivedMemberVar] mednafen/src/snes/src/cpu/cpu.cpp:23:6: warning: Member variable 'MMIO::ebmode' is not initialized in the constructor. Maybe it should be initialized directly in the class MMIO? [uninitDerivedMemberVar] mednafen/src/snes/src/cpu/cpu.cpp:23:6: warning: Member variable 'MMIO::eb' is not initialized in the constructor. Maybe it should be initialized directly in the class MMIO? [uninitDerivedMemberVar] mednafen/src/snes/src/cpu/cpu.cpp:23:6: warning: Member variable 'MMIO::fbmode' is not initialized in the constructor. Maybe it should be initialized directly in the class MMIO? [uninitDerivedMemberVar] mednafen/src/snes/src/cpu/cpu.cpp:23:6: warning: Member variable 'MMIO::fb' is not initialized in the constructor. Maybe it should be initialized directly in the class MMIO? [uninitDerivedMemberVar] mednafen/src/snes/src/cpu/cpu.cpp:23:6: warning: Member variable 'MMIO::sbm' is not initialized in the constructor. Maybe it should be initialized directly in the class MMIO? [uninitDerivedMemberVar] mednafen/src/snes/src/cpu/cpu.cpp:23:6: warning: Member variable 'MMIO::sw46' is not initialized in the constructor. Maybe it should be initialized directly in the class MMIO? [uninitDerivedMemberVar] mednafen/src/snes/src/cpu/cpu.cpp:23:6: warning: Member variable 'MMIO::cbm' is not initialized in the constructor. Maybe it should be initialized directly in the class MMIO? [uninitDerivedMemberVar] mednafen/src/snes/src/cpu/cpu.cpp:23:6: warning: Member variable 'MMIO::swen' is not initialized in the constructor. Maybe it should be initialized directly in the class MMIO? [uninitDerivedMemberVar] mednafen/src/snes/src/cpu/cpu.cpp:23:6: warning: Member variable 'MMIO::cwen' is not initialized in the constructor. Maybe it should be initialized directly in the class MMIO? [uninitDerivedMemberVar] mednafen/src/snes/src/cpu/cpu.cpp:23:6: warning: Member variable 'MMIO::bwp' is not initialized in the constructor. Maybe it should be initialized directly in the class MMIO? [uninitDerivedMemberVar] mednafen/src/snes/src/cpu/cpu.cpp:23:6: warning: Member variable 'MMIO::siwp' is not initialized in the constructor. Maybe it should be initialized directly in the class MMIO? [uninitDerivedMemberVar] mednafen/src/snes/src/cpu/cpu.cpp:23:6: warning: Member variable 'MMIO::ciwp' is not initialized in the constructor. Maybe it should be initialized directly in the class MMIO? [uninitDerivedMemberVar] mednafen/src/snes/src/cpu/cpu.cpp:23:6: warning: Member variable 'MMIO::dmaen' is not initialized in the constructor. Maybe it should be initialized directly in the class MMIO? [uninitDerivedMemberVar] mednafen/src/snes/src/cpu/cpu.cpp:23:6: warning: Member variable 'MMIO::dprio' is not initialized in the constructor. Maybe it should be initialized directly in the class MMIO? [uninitDerivedMemberVar] mednafen/src/snes/src/cpu/cpu.cpp:23:6: warning: Member variable 'MMIO::cden' is not initialized in the constructor. Maybe it should be initialized directly in the class MMIO? [uninitDerivedMemberVar] mednafen/src/snes/src/cpu/cpu.cpp:23:6: warning: Member variable 'MMIO::cdsel' is not initialized in the constructor. Maybe it should be initialized directly in the class MMIO? [uninitDerivedMemberVar] mednafen/src/snes/src/cpu/cpu.cpp:23:6: warning: Member variable 'MMIO::dd' is not initialized in the constructor. Maybe it should be initialized directly in the class MMIO? [uninitDerivedMemberVar] mednafen/src/snes/src/cpu/cpu.cpp:23:6: warning: Member variable 'MMIO::sd' is not initialized in the constructor. Maybe it should be initialized directly in the class MMIO? [uninitDerivedMemberVar] mednafen/src/snes/src/cpu/cpu.cpp:23:6: warning: Member variable 'MMIO::chdend' is not initialized in the constructor. Maybe it should be initialized directly in the class MMIO? [uninitDerivedMemberVar] mednafen/src/snes/src/cpu/cpu.cpp:23:6: warning: Member variable 'MMIO::dmasize' is not initialized in the constructor. Maybe it should be initialized directly in the class MMIO? [uninitDerivedMemberVar] mednafen/src/snes/src/cpu/cpu.cpp:23:6: warning: Member variable 'MMIO::dmacb' is not initialized in the constructor. Maybe it should be initialized directly in the class MMIO? [uninitDerivedMemberVar] mednafen/src/snes/src/cpu/cpu.cpp:23:6: warning: Member variable 'MMIO::dsa' is not initialized in the constructor. Maybe it should be initialized directly in the class MMIO? [uninitDerivedMemberVar] mednafen/src/snes/src/cpu/cpu.cpp:23:6: warning: Member variable 'MMIO::dda' is not initialized in the constructor. Maybe it should be initialized directly in the class MMIO? [uninitDerivedMemberVar] mednafen/src/snes/src/cpu/cpu.cpp:23:6: warning: Member variable 'MMIO::dtc' is not initialized in the constructor. Maybe it should be initialized directly in the class MMIO? [uninitDerivedMemberVar] mednafen/src/snes/src/cpu/cpu.cpp:23:6: warning: Member variable 'MMIO::bbf' is not initialized in the constructor. Maybe it should be initialized directly in the class MMIO? [uninitDerivedMemberVar] mednafen/src/snes/src/cpu/cpu.cpp:23:6: warning: Member variable 'MMIO::brf' is not initialized in the constructor. Maybe it should be initialized directly in the class MMIO? [uninitDerivedMemberVar] mednafen/src/snes/src/cpu/cpu.cpp:23:6: warning: Member variable 'MMIO::acm' is not initialized in the constructor. Maybe it should be initialized directly in the class MMIO? [uninitDerivedMemberVar] mednafen/src/snes/src/cpu/cpu.cpp:23:6: warning: Member variable 'MMIO::md' is not initialized in the constructor. Maybe it should be initialized directly in the class MMIO? [uninitDerivedMemberVar] mednafen/src/snes/src/cpu/cpu.cpp:23:6: warning: Member variable 'MMIO::ma' is not initialized in the constructor. Maybe it should be initialized directly in the class MMIO? [uninitDerivedMemberVar] mednafen/src/snes/src/cpu/cpu.cpp:23:6: warning: Member variable 'MMIO::mb' is not initialized in the constructor. Maybe it should be initialized directly in the class MMIO? [uninitDerivedMemberVar] mednafen/src/snes/src/cpu/cpu.cpp:23:6: warning: Member variable 'MMIO::hl' is not initialized in the constructor. Maybe it should be initialized directly in the class MMIO? [uninitDerivedMemberVar] mednafen/src/snes/src/cpu/cpu.cpp:23:6: warning: Member variable 'MMIO::vb' is not initialized in the constructor. Maybe it should be initialized directly in the class MMIO? [uninitDerivedMemberVar] mednafen/src/snes/src/cpu/cpu.cpp:23:6: warning: Member variable 'MMIO::va' is not initialized in the constructor. Maybe it should be initialized directly in the class MMIO? [uninitDerivedMemberVar] mednafen/src/snes/src/cpu/cpu.cpp:23:6: warning: Member variable 'MMIO::vbit' is not initialized in the constructor. Maybe it should be initialized directly in the class MMIO? [uninitDerivedMemberVar] mednafen/src/snes/src/cpu/cpu.cpp:23:6: warning: Member variable 'MMIO::cpu_irqfl' is not initialized in the constructor. Maybe it should be initialized directly in the class MMIO? [uninitDerivedMemberVar] mednafen/src/snes/src/cpu/cpu.cpp:23:6: warning: Member variable 'MMIO::chdma_irqfl' is not initialized in the constructor. Maybe it should be initialized directly in the class MMIO? [uninitDerivedMemberVar] mednafen/src/snes/src/cpu/cpu.cpp:23:6: warning: Member variable 'MMIO::sa1_irqfl' is not initialized in the constructor. Maybe it should be initialized directly in the class MMIO? [uninitDerivedMemberVar] mednafen/src/snes/src/cpu/cpu.cpp:23:6: warning: Member variable 'MMIO::timer_irqfl' is not initialized in the constructor. Maybe it should be initialized directly in the class MMIO? [uninitDerivedMemberVar] mednafen/src/snes/src/cpu/cpu.cpp:23:6: warning: Member variable 'MMIO::dma_irqfl' is not initialized in the constructor. Maybe it should be initialized directly in the class MMIO? [uninitDerivedMemberVar] mednafen/src/snes/src/cpu/cpu.cpp:23:6: warning: Member variable 'MMIO::sa1_nmifl' is not initialized in the constructor. Maybe it should be initialized directly in the class MMIO? [uninitDerivedMemberVar] mednafen/src/snes/src/cpu/cpu.cpp:23:6: warning: Member variable 'MMIO::hcr' is not initialized in the constructor. Maybe it should be initialized directly in the class MMIO? [uninitDerivedMemberVar] mednafen/src/snes/src/cpu/cpu.cpp:23:6: warning: Member variable 'MMIO::vcr' is not initialized in the constructor. Maybe it should be initialized directly in the class MMIO? [uninitDerivedMemberVar] mednafen/src/snes/src/cpu/cpu.cpp:23:6: warning: Member variable 'MMIO::mr' is not initialized in the constructor. Maybe it should be initialized directly in the class MMIO? [uninitDerivedMemberVar] mednafen/src/snes/src/cpu/cpu.cpp:23:6: warning: Member variable 'MMIO::overflow' is not initialized in the constructor. Maybe it should be initialized directly in the class MMIO? [uninitDerivedMemberVar] mednafen/src/snes/src/cpu/scpu/timing/irq.cpp:51:21: style: Variable 'virq_enabled' is assigned a value that is never used. [unreadVariable] mednafen/src/snes/src/cpu/scpu/timing/irq.cpp:52:21: style: Variable 'hirq_enabled' is assigned a value that is never used. [unreadVariable] mednafen/src/snes/src/lib/libco/doc/examples/test_args.cpp:52:3: error: Rethrowing current exception with 'throw;', it seems there is no current exception to rethrow. If there is no current exception this calls std::terminate(). More: https://isocpp.org/wiki/faq/exceptions#throw-without-an-object [rethrowNoCurrentException] mednafen/src/snes/src/lib/libco/doc/examples/test_serialization.cpp:24:8: performance:inconclusive: Technically the member function 'CPU::leaf' can be static (but you may consider moving to unnamed namespace). [functionStatic] mednafen/src/snes/src/lib/libco/doc/examples/test_serialization.cpp:49:11: note: Technically the member function 'CPU::leaf' can be static (but you may consider moving to unnamed namespace). mednafen/src/snes/src/lib/libco/doc/examples/test_serialization.cpp:24:8: note: Technically the member function 'CPU::leaf' can be static (but you may consider moving to unnamed namespace). mednafen/src/snes/src/lib/libco/doc/examples/test_serialization.cpp:31:8: performance:inconclusive: Technically the member function 'APU::leaf' can be static (but you may consider moving to unnamed namespace). [functionStatic] mednafen/src/snes/src/lib/libco/doc/examples/test_serialization.cpp:73:11: note: Technically the member function 'APU::leaf' can be static (but you may consider moving to unnamed namespace). mednafen/src/snes/src/lib/libco/doc/examples/test_serialization.cpp:31:8: note: Technically the member function 'APU::leaf' can be static (but you may consider moving to unnamed namespace). mednafen/src/snes/src/lib/libco/doc/examples/test_serialization.cpp:83:20: style: C-style pointer casting [cstyleCast] mednafen/src/snes/src/lib/libco/doc/examples/test_serialization.cpp:84:5: style: C-style pointer casting [cstyleCast] mednafen/src/snes/src/lib/libco/doc/examples/test_serialization.cpp:92:27: style: C-style pointer casting [cstyleCast] mednafen/src/snes/src/lib/libco/doc/examples/test_serialization.cpp:93:27: style: C-style pointer casting [cstyleCast] mednafen/src/snes/src/lib/libco/doc/examples/test_serialization.cpp:105:27: style: C-style pointer casting [cstyleCast] mednafen/src/snes/src/lib/libco/doc/examples/test_serialization.cpp:106:27: style: C-style pointer casting [cstyleCast] mednafen/src/snes/src/lib/libco/doc/examples/test_serialization.cpp:115:10: style: C-style pointer casting [cstyleCast] mednafen/src/snes/src/lib/libco/ucontext.c:40:10: portability: Obsolescent function 'getcontext' called. Applications are recommended to be rewritten to use POSIX threads. [prohibitedgetcontextCalled] mednafen/src/snes/src/lib/libco/ucontext.c:43:7: portability: Obsolescent function 'makecontext' called. Applications are recommended to be rewritten to use POSIX threads. [prohibitedmakecontextCalled] mednafen/src/snes/src/lib/libco/ucontext.c:55:10: portability: Obsolescent function 'getcontext' called. Applications are recommended to be rewritten to use POSIX threads. [prohibitedgetcontextCalled] mednafen/src/snes/src/lib/libco/ucontext.c:58:7: portability: Obsolescent function 'makecontext' called. Applications are recommended to be rewritten to use POSIX threads. [prohibitedmakecontextCalled] mednafen/src/snes/src/lib/libco/ucontext.c:77:3: portability: Obsolescent function 'swapcontext' called. Applications are recommended to be rewritten to use POSIX threads. [prohibitedswapcontextCalled] mednafen/src/snes/src/lib/libco/ucontext.c:40:32: style: Condition '!(thread->uc_stack.ss_sp=0)' is always true [knownConditionTrueFalse] mednafen/src/snes/src/lib/libco/ucontext.c:55:32: style: Condition '!(thread->uc_stack.ss_sp=0)' is always true [knownConditionTrueFalse] mednafen/src/snes/src/memory/memory.hpp:19:9: performance:inconclusive: Technically the member function 'bSNES_v059::UnmappedMMIO::mmio_read' can be static (but you may consider moving to unnamed namespace). [functionStatic] mednafen/src/snes/src/memory/memory.cpp:22:21: note: Technically the member function 'bSNES_v059::UnmappedMMIO::mmio_read' can be static (but you may consider moving to unnamed namespace). mednafen/src/snes/src/memory/memory.hpp:19:9: note: Technically the member function 'bSNES_v059::UnmappedMMIO::mmio_read' can be static (but you may consider moving to unnamed namespace). mednafen/src/snes/src/memory/memory.hpp:20:8: performance:inconclusive: Technically the member function 'bSNES_v059::UnmappedMMIO::mmio_write' can be static (but you may consider moving to unnamed namespace). [functionStatic] mednafen/src/snes/src/memory/memory.cpp:23:20: note: Technically the member function 'bSNES_v059::UnmappedMMIO::mmio_write' can be static (but you may consider moving to unnamed namespace). mednafen/src/snes/src/memory/memory.hpp:20:8: note: Technically the member function 'bSNES_v059::UnmappedMMIO::mmio_write' can be static (but you may consider moving to unnamed namespace). mednafen/src/snes/src/memory/memory.hpp:69:12: performance:inconclusive: Technically the member function 'bSNES_v059::Bus::mirror' can be static (but you may consider moving to unnamed namespace). [functionStatic] mednafen/src/snes/src/memory/memory.cpp:38:15: note: Technically the member function 'bSNES_v059::Bus::mirror' can be static (but you may consider moving to unnamed namespace). mednafen/src/snes/src/memory/memory.hpp:69:12: note: Technically the member function 'bSNES_v059::Bus::mirror' can be static (but you may consider moving to unnamed namespace). mednafen/src/snes/src/memory/memory.cpp:69:20: style: Condition 'access.size()==-1U' is always false [knownConditionTrueFalse] mednafen/src/snes/src/memory/memory.cpp:78:22: style: Local variable 'page' shadows outer variable [shadowVariable] mednafen/src/snes/src/memory/memory.hpp:89:5: note: Shadowed declaration mednafen/src/snes/src/memory/memory.cpp:78:22: note: Shadow variable mednafen/src/snes/src/memory/memory.cpp:86:22: style: Local variable 'page' shadows outer variable [shadowVariable] mednafen/src/snes/src/memory/memory.hpp:89:5: note: Shadowed declaration mednafen/src/snes/src/memory/memory.cpp:86:22: note: Shadow variable mednafen/src/snes/src/memory/memory.cpp:99:22: style: Local variable 'page' shadows outer variable [shadowVariable] mednafen/src/snes/src/memory/memory.hpp:89:5: note: Shadowed declaration mednafen/src/snes/src/memory/memory.cpp:99:22: note: Shadow variable mednafen/src/snes/src/ppu/render/windows.cpp:57:35: style:inconclusive: Boolean expression 'w1_mask' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] mednafen/src/snes/src/ppu/render/windows.cpp:58:35: style:inconclusive: Boolean expression 'w1_mask' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] mednafen/src/snes/src/ppu/memory/memory.hpp:1:8: style:inconclusive: Technically the member function 'bSNES_v059::PPU::get_vram_address' can be const. [functionConst] mednafen/src/snes/src/ppu/memory/memory.cpp:9:13: note: Technically the member function 'bSNES_v059::PPU::get_vram_address' can be const. mednafen/src/snes/src/ppu/memory/memory.hpp:1:8: note: Technically the member function 'bSNES_v059::PPU::get_vram_address' can be const. mednafen/src/snes/src/ppu/memory/memory.hpp:3:20: style:inconclusive: Technically the member function 'bSNES_v059::PPU::vram_mmio_read' can be const. [functionConst] mednafen/src/snes/src/ppu/memory/memory.cpp:25:12: note: Technically the member function 'bSNES_v059::PPU::vram_mmio_read' can be const. mednafen/src/snes/src/ppu/memory/memory.hpp:3:20: note: Technically the member function 'bSNES_v059::PPU::vram_mmio_read' can be const. mednafen/src/snes/src/ppu/memory/memory.hpp:4:19: style:inconclusive: Technically the member function 'bSNES_v059::PPU::vram_mmio_write' can be const. [functionConst] mednafen/src/snes/src/ppu/memory/memory.cpp:54:11: note: Technically the member function 'bSNES_v059::PPU::vram_mmio_write' can be const. mednafen/src/snes/src/ppu/memory/memory.hpp:4:19: note: Technically the member function 'bSNES_v059::PPU::vram_mmio_write' can be const. mednafen/src/snes/src/ppu/memory/memory.hpp:6:20: style:inconclusive: Technically the member function 'bSNES_v059::PPU::oam_mmio_read' can be const. [functionConst] mednafen/src/snes/src/ppu/memory/memory.cpp:95:12: note: Technically the member function 'bSNES_v059::PPU::oam_mmio_read' can be const. mednafen/src/snes/src/ppu/memory/memory.hpp:6:20: note: Technically the member function 'bSNES_v059::PPU::oam_mmio_read' can be const. mednafen/src/snes/src/ppu/memory/memory.hpp:9:20: style:inconclusive: Technically the member function 'bSNES_v059::PPU::cgram_mmio_read' can be const. [functionConst] mednafen/src/snes/src/ppu/memory/memory.cpp:136:12: note: Technically the member function 'bSNES_v059::PPU::cgram_mmio_read' can be const. mednafen/src/snes/src/ppu/memory/memory.hpp:9:20: note: Technically the member function 'bSNES_v059::PPU::cgram_mmio_read' can be const. mednafen/src/snes/src/ppu/memory/memory.hpp:10:19: style:inconclusive: Technically the member function 'bSNES_v059::PPU::cgram_mmio_write' can be const. [functionConst] mednafen/src/snes/src/ppu/memory/memory.cpp:156:11: note: Technically the member function 'bSNES_v059::PPU::cgram_mmio_write' can be const. mednafen/src/snes/src/ppu/memory/memory.hpp:10:19: note: Technically the member function 'bSNES_v059::PPU::cgram_mmio_write' can be const. mednafen/src/snes/src/ppu/render/render.hpp:35:6: style:inconclusive: Technically the member function 'bSNES_v059::PPU::free_tiledata_cache' can be const. [functionConst] mednafen/src/snes/src/ppu/render/cache.cpp:138:11: note: Technically the member function 'bSNES_v059::PPU::free_tiledata_cache' can be const. mednafen/src/snes/src/ppu/render/render.hpp:35:6: note: Technically the member function 'bSNES_v059::PPU::free_tiledata_cache' can be const. mednafen/src/snes/src/ppu/render/render.hpp:42:6: style:inconclusive: Technically the member function 'bSNES_v059::PPU::build_window_table' can be const. [functionConst] mednafen/src/snes/src/ppu/render/windows.cpp:4:11: note: Technically the member function 'bSNES_v059::PPU::build_window_table' can be const. mednafen/src/snes/src/ppu/render/render.hpp:42:6: note: Technically the member function 'bSNES_v059::PPU::build_window_table' can be const. mednafen/src/snes/src/ppu/render/render.hpp:53:30: style:inconclusive: Technically the member function 'bSNES_v059::PPU::bg_get_tile < BG3 >' can be const. [functionConst] mednafen/src/snes/src/ppu/render/bg.cpp:26:13: note: Technically the member function 'bSNES_v059::PPU::bg_get_tile < BG3 >' can be const. mednafen/src/snes/src/ppu/render/render.hpp:53:30: note: Technically the member function 'bSNES_v059::PPU::bg_get_tile < BG3 >' can be const. mednafen/src/snes/src/ppu/render/render.hpp:53:30: style:inconclusive: Technically the member function 'bSNES_v059::PPU::bg_get_tile < BG1 >' can be const. [functionConst] mednafen/src/snes/src/ppu/render/bg.cpp:26:13: note: Technically the member function 'bSNES_v059::PPU::bg_get_tile < BG1 >' can be const. mednafen/src/snes/src/ppu/render/render.hpp:53:30: note: Technically the member function 'bSNES_v059::PPU::bg_get_tile < BG1 >' can be const. mednafen/src/snes/src/ppu/render/render.hpp:53:30: style:inconclusive: Technically the member function 'bSNES_v059::PPU::bg_get_tile < BG2 >' can be const. [functionConst] mednafen/src/snes/src/ppu/render/bg.cpp:26:13: note: Technically the member function 'bSNES_v059::PPU::bg_get_tile < BG2 >' can be const. mednafen/src/snes/src/ppu/render/render.hpp:53:30: note: Technically the member function 'bSNES_v059::PPU::bg_get_tile < BG2 >' can be const. mednafen/src/snes/src/ppu/render/render.hpp:53:30: style:inconclusive: Technically the member function 'bSNES_v059::PPU::bg_get_tile < BG4 >' can be const. [functionConst] mednafen/src/snes/src/ppu/render/bg.cpp:26:13: note: Technically the member function 'bSNES_v059::PPU::bg_get_tile < BG4 >' can be const. mednafen/src/snes/src/ppu/render/render.hpp:53:30: note: Technically the member function 'bSNES_v059::PPU::bg_get_tile < BG4 >' can be const. mednafen/src/snes/src/ppu/render/render.hpp:89:15: style:inconclusive: Technically the member function 'bSNES_v059::PPU::addsub' can be const. [functionConst] mednafen/src/snes/src/ppu/render/addsub.cpp:5:20: note: Technically the member function 'bSNES_v059::PPU::addsub' can be const. mednafen/src/snes/src/ppu/render/render.hpp:89:15: note: Technically the member function 'bSNES_v059::PPU::addsub' can be const. mednafen/src/snes/src/ppu/render/render.hpp:92:15: performance:inconclusive: Technically the member function 'bSNES_v059::PPU::get_palette' can be static (but you may consider moving to unnamed namespace). [functionStatic] mednafen/src/snes/src/ppu/render/line.cpp:3:26: note: Technically the member function 'bSNES_v059::PPU::get_palette' can be static (but you may consider moving to unnamed namespace). mednafen/src/snes/src/ppu/render/render.hpp:92:15: note: Technically the member function 'bSNES_v059::PPU::get_palette' can be static (but you may consider moving to unnamed namespace). mednafen/src/snes/src/ppu/render/render.hpp:93:15: performance:inconclusive: Technically the member function 'bSNES_v059::PPU::get_direct_color' can be static (but you may consider moving to unnamed namespace). [functionStatic] mednafen/src/snes/src/ppu/render/line.cpp:11:26: note: Technically the member function 'bSNES_v059::PPU::get_direct_color' can be static (but you may consider moving to unnamed namespace). mednafen/src/snes/src/ppu/render/render.hpp:93:15: note: Technically the member function 'bSNES_v059::PPU::get_direct_color' can be static (but you may consider moving to unnamed namespace). mednafen/src/snes/src/ppu/render/oam.cpp:125:25: style: C-style pointer casting [cstyleCast] mednafen/src/snes/src/ppu/render/oam.cpp:126:25: style: C-style pointer casting [cstyleCast] mednafen/src/snes/src/ppu/render/oam.cpp:133:21: style: C-style pointer casting [cstyleCast] mednafen/src/snes/src/ppu/render/mode7.cpp:44:16: style: C-style pointer casting [cstyleCast] mednafen/src/snes/src/ppu/render/mode7.cpp:45:16: style: C-style pointer casting [cstyleCast] mednafen/src/snes/src/ppu/render/mode7.cpp:49:16: style: C-style pointer casting [cstyleCast] mednafen/src/snes/src/ppu/render/mode7.cpp:50:16: style: C-style pointer casting [cstyleCast] mednafen/src/snes/src/ppu/render/cache.cpp:31:19: style: C-style pointer casting [cstyleCast] mednafen/src/snes/src/ppu/render/cache.cpp:51:19: style: C-style pointer casting [cstyleCast] mednafen/src/snes/src/ppu/render/cache.cpp:73:19: style: C-style pointer casting [cstyleCast] mednafen/src/snes/src/ppu/render/oam.cpp:39:52: style: Same value in both branches of ternary operator. [duplicateValueTernary] mednafen/src/snes/src/ppu/render/mode7.cpp:19:9: style: The scope of the variable 'px' can be reduced. [variableScope] mednafen/src/snes/src/ppu/render/mode7.cpp:19:13: style: The scope of the variable 'py' can be reduced. [variableScope] mednafen/src/snes/src/ppu/render/bg.cpp:93:10: style: The scope of the variable 'hoffset' can be reduced. [variableScope] mednafen/src/snes/src/ppu/render/bg.cpp:93:19: style: The scope of the variable 'voffset' can be reduced. [variableScope] mednafen/src/snes/src/ppu/render/bg.cpp:93:35: style: The scope of the variable 'col' can be reduced. [variableScope] mednafen/src/snes/src/ppu/render/cache.cpp:28:30: style: The scope of the variable 'd4' can be reduced. [variableScope] mednafen/src/snes/src/ppu/render/cache.cpp:28:34: style: The scope of the variable 'd5' can be reduced. [variableScope] mednafen/src/snes/src/ppu/render/cache.cpp:28:38: style: The scope of the variable 'd6' can be reduced. [variableScope] mednafen/src/snes/src/ppu/render/cache.cpp:28:42: style: The scope of the variable 'd7' can be reduced. [variableScope] mednafen/src/snes/src/ppu/mmio/mmio.cpp:22:28: style:inconclusive: Function 'mmio_w2102' argument 1 names different: declaration 'value' definition 'data'. [funcArgNamesDifferent] mednafen/src/snes/src/ppu/mmio/mmio.hpp:131:23: note: Function 'mmio_w2102' argument 1 names different: declaration 'value' definition 'data'. mednafen/src/snes/src/ppu/mmio/mmio.cpp:22:28: note: Function 'mmio_w2102' argument 1 names different: declaration 'value' definition 'data'. mednafen/src/snes/src/ppu/mmio/mmio.cpp:30:28: style:inconclusive: Function 'mmio_w2103' argument 1 names different: declaration 'value' definition 'data'. [funcArgNamesDifferent] mednafen/src/snes/src/ppu/mmio/mmio.hpp:132:23: note: Function 'mmio_w2103' argument 1 names different: declaration 'value' definition 'data'. mednafen/src/snes/src/ppu/mmio/mmio.cpp:30:28: note: Function 'mmio_w2103' argument 1 names different: declaration 'value' definition 'data'. mednafen/src/snes/src/ppu/mmio/mmio.cpp:39:28: style:inconclusive: Function 'mmio_w2104' argument 1 names different: declaration 'value' definition 'data'. [funcArgNamesDifferent] mednafen/src/snes/src/ppu/mmio/mmio.hpp:133:23: note: Function 'mmio_w2104' argument 1 names different: declaration 'value' definition 'data'. mednafen/src/snes/src/ppu/mmio/mmio.cpp:39:28: note: Function 'mmio_w2104' argument 1 names different: declaration 'value' definition 'data'. mednafen/src/snes/src/ppu/render/windows.cpp:4:45: style:inconclusive: Function 'build_window_table' argument 2 names different: declaration 'mainscreen' definition 'screen'. [funcArgNamesDifferent] mednafen/src/snes/src/ppu/render/render.hpp:42:40: note: Function 'build_window_table' argument 2 names different: declaration 'mainscreen' definition 'screen'. mednafen/src/snes/src/ppu/render/windows.cpp:4:45: note: Function 'build_window_table' argument 2 names different: declaration 'mainscreen' definition 'screen'. mednafen/src/snes/src/ppu/render/bg.cpp:5:18: style: Local variable 'hires' shadows outer function [shadowFunction] mednafen/src/snes/src/ppu/ppu.hpp:114:21: note: Shadowed declaration mednafen/src/snes/src/ppu/render/bg.cpp:5:18: note: Shadow variable mednafen/src/snes/src/ppu/render/bg.cpp:82:18: style: Local variable 'hires' shadows outer function [shadowFunction] mednafen/src/snes/src/ppu/ppu.hpp:114:21: note: Shadowed declaration mednafen/src/snes/src/ppu/render/bg.cpp:82:18: note: Shadow variable mednafen/src/snes/src/ppu/render/line.cpp:18:12: style: Variable 'p' can be declared as reference to const [constVariable] mednafen/src/snes/src/ppu/render/line.cpp:53:12: style: Variable 'p' can be declared as reference to const [constVariable] mednafen/src/snes/src/ppu/render/oam.cpp:204:12: style: Variable 'pri_tbl' can be declared as const array [constVariable] mednafen/src/snes/src/ppu/render/mode7.cpp:33:8: style: Variable '_bg_enabled' is assigned a value that is never used. [unreadVariable] mednafen/src/snes/src/ppu/render/mode7.cpp:34:8: style: Variable '_bgsub_enabled' is assigned a value that is never used. [unreadVariable] mednafen/src/snes/src/sdsp/sdsp.cpp:323:7: warning: Member variable 'sDSP::phase_index' is not initialized in the constructor. [uninitMemberVar] mednafen/src/snes/src/sdsp/sdsp.cpp:323:7: warning: Member variable 'sDSP::state' is not initialized in the constructor. [uninitMemberVar] mednafen/src/snes/src/sdsp/sdsp.cpp:323:7: warning: Member variable 'sDSP::voice' is not initialized in the constructor. [uninitMemberVar] mednafen/src/snes/src/sdsp/sdsp.hpp:5:9: style:inconclusive: Technically the member function 'bSNES_v059::sDSP::read' can be const. [functionConst] mednafen/src/snes/src/sdsp/sdsp.cpp:238:13: note: Technically the member function 'bSNES_v059::sDSP::read' can be const. mednafen/src/snes/src/sdsp/sdsp.hpp:5:9: note: Technically the member function 'bSNES_v059::sDSP::read' can be const. mednafen/src/snes/src/sdsp/sdsp.hpp:124:8: style:inconclusive: Technically the member function 'bSNES_v059::sDSP::counter_poll' can be const. [functionConst] mednafen/src/snes/src/sdsp/counter.cpp:47:19: note: Technically the member function 'bSNES_v059::sDSP::counter_poll' can be const. mednafen/src/snes/src/sdsp/sdsp.hpp:124:8: note: Technically the member function 'bSNES_v059::sDSP::counter_poll' can be const. mednafen/src/snes/src/sdsp/sdsp.hpp:154:7: style:inconclusive: Technically the member function 'bSNES_v059::sDSP::calc_fir' can be const. [functionConst] mednafen/src/snes/src/sdsp/echo.cpp:3:11: note: Technically the member function 'bSNES_v059::sDSP::calc_fir' can be const. mednafen/src/snes/src/sdsp/sdsp.hpp:154:7: note: Technically the member function 'bSNES_v059::sDSP::calc_fir' can be const. mednafen/src/snes/src/sdsp/voice.cpp:18:29: style: Parameter 'v' can be declared as reference to const [constParameter] mednafen/src/snes/src/sdsp/voice.cpp:43:30: style: Parameter 'v' can be declared as reference to const [constParameter] mednafen/src/snes/src/smp/core/opcode_read.cpp:151:23: style:inconclusive: Boolean expression 'regs.p.c' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] mednafen/src/snes/src/smp/core/opcode_read.cpp:121:23: style:inconclusive: Boolean expression 'regs.p.c' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] mednafen/src/snes/src/smp/ssmp/memory/memory.hpp:1:7: style:inconclusive: Technically the member function 'bSNES_v059::SMP::ram_read' can be const. [functionConst] mednafen/src/snes/src/smp/ssmp/memory/memory.cpp:3:25: note: Technically the member function 'bSNES_v059::SMP::ram_read' can be const. mednafen/src/snes/src/smp/ssmp/memory/memory.hpp:1:7: note: Technically the member function 'bSNES_v059::SMP::ram_read' can be const. mednafen/src/snes/src/smp/ssmp/memory/memory.hpp:2:6: performance:inconclusive: Technically the member function 'bSNES_v059::SMP::ram_write' can be static (but you may consider moving to unnamed namespace). [functionStatic] mednafen/src/snes/src/smp/ssmp/memory/memory.cpp:9:24: note: Technically the member function 'bSNES_v059::SMP::ram_write' can be static (but you may consider moving to unnamed namespace). mednafen/src/snes/src/smp/ssmp/memory/memory.hpp:2:6: note: Technically the member function 'bSNES_v059::SMP::ram_write' can be static (but you may consider moving to unnamed namespace). mednafen/src/snes/src/smp/ssmp/memory/memory.hpp:4:7: performance:inconclusive: Technically the member function 'bSNES_v059::SMP::port_read' can be static (but you may consider moving to unnamed namespace). [functionStatic] mednafen/src/snes/src/smp/ssmp/memory/memory.cpp:16:12: note: Technically the member function 'bSNES_v059::SMP::port_read' can be static (but you may consider moving to unnamed namespace). mednafen/src/snes/src/smp/ssmp/memory/memory.hpp:4:7: note: Technically the member function 'bSNES_v059::SMP::port_read' can be static (but you may consider moving to unnamed namespace). mednafen/src/snes/src/smp/ssmp/memory/memory.hpp:5:6: performance:inconclusive: Technically the member function 'bSNES_v059::SMP::port_write' can be static (but you may consider moving to unnamed namespace). [functionStatic] mednafen/src/snes/src/smp/ssmp/memory/memory.cpp:20:11: note: Technically the member function 'bSNES_v059::SMP::port_write' can be static (but you may consider moving to unnamed namespace). mednafen/src/snes/src/smp/ssmp/memory/memory.hpp:5:6: note: Technically the member function 'bSNES_v059::SMP::port_write' can be static (but you may consider moving to unnamed namespace). mednafen/src/snes/src/smp/ssmp/timing/timing.hpp:32:19: performance:inconclusive: Technically the member function 'bSNES_v059::SMP::add_clocks' can be static (but you may consider moving to unnamed namespace). [functionStatic] mednafen/src/snes/src/smp/ssmp/timing/timing.cpp:3:11: note: Technically the member function 'bSNES_v059::SMP::add_clocks' can be static (but you may consider moving to unnamed namespace). mednafen/src/snes/src/smp/ssmp/timing/timing.hpp:32:19: note: Technically the member function 'bSNES_v059::SMP::add_clocks' can be static (but you may consider moving to unnamed namespace). mednafen/src/snes/src/system/input/input.cpp:75:39: style:inconclusive: Boolean expression 'direction_y' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] mednafen/src/snes/src/system/input/input.cpp:84:39: style:inconclusive: Boolean expression 'direction_x' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] mednafen/src/snes/src/system/scheduler/scheduler.cpp:55:12: warning: Member variable 'Scheduler::clock' is not initialized in the constructor. [uninitMemberVar] mednafen/src/snes/src/system/scheduler/scheduler.cpp:55:12: warning: Member variable 'Scheduler::sync' is not initialized in the constructor. [uninitMemberVar] mednafen/src/snes/src/system/config/config.cpp:5:16: warning: Member variable 'Configuration::cpu' is not initialized in the constructor. [uninitMemberVar] mednafen/src/snes/src/system/config/config.cpp:5:16: warning: Member variable 'Configuration::smp' is not initialized in the constructor. [uninitMemberVar] mednafen/src/snes/src/system/config/config.cpp:5:16: warning: Member variable 'Configuration::superfx' is not initialized in the constructor. [uninitMemberVar] mednafen/src/snes/src/system/system.cpp:233:9: warning: Member variable 'System::exit_line_counter' is not initialized in the constructor. [uninitMemberVar] mednafen/src/snes/src/system/scheduler/scheduler.cpp:56:3: performance: Variable 'thread_snes' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/snes/src/system/scheduler/scheduler.cpp:57:3: performance: Variable 'thread_cpu' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/snes/src/system/scheduler/scheduler.cpp:58:3: performance: Variable 'thread_cop' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/snes/src/system/scheduler/scheduler.cpp:59:3: performance: Variable 'thread_smp' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/snes/src/system/scheduler/scheduler.cpp:60:3: performance: Variable 'thread_ppu' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/snes/src/system/scheduler/scheduler.cpp:61:3: performance: Variable 'thread_dsp' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/snes/src/system/scheduler/scheduler.cpp:62:3: performance: Variable 'thread_active' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/snes/src/system/system.cpp:234:3: performance: Variable 'region' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/snes/src/system/system.cpp:235:3: performance: Variable 'expansion' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/snes/src/system/debugger/debugger.hpp:26:9: performance:inconclusive: Technically the member function 'bSNES_v059::Debugger::read' can be static (but you may consider moving to unnamed namespace). [functionStatic] mednafen/src/snes/src/system/debugger/debugger.cpp:32:17: note: Technically the member function 'bSNES_v059::Debugger::read' can be static (but you may consider moving to unnamed namespace). mednafen/src/snes/src/system/debugger/debugger.hpp:26:9: note: Technically the member function 'bSNES_v059::Debugger::read' can be static (but you may consider moving to unnamed namespace). mednafen/src/snes/src/system/debugger/debugger.hpp:27:8: performance:inconclusive: Technically the member function 'bSNES_v059::Debugger::write' can be static (but you may consider moving to unnamed namespace). [functionStatic] mednafen/src/snes/src/system/debugger/debugger.cpp:61:16: note: Technically the member function 'bSNES_v059::Debugger::write' can be static (but you may consider moving to unnamed namespace). mednafen/src/snes/src/system/debugger/debugger.hpp:27:8: note: Technically the member function 'bSNES_v059::Debugger::write' can be static (but you may consider moving to unnamed namespace). mednafen/src/snes/src/system/video/video.hpp:20:8: performance:inconclusive: Technically the member function 'bSNES_v059::Video::draw_cursor' can be static (but you may consider moving to unnamed namespace). [functionStatic] mednafen/src/snes/src/system/video/video.cpp:23:13: note: Technically the member function 'bSNES_v059::Video::draw_cursor' can be static (but you may consider moving to unnamed namespace). mednafen/src/snes/src/system/video/video.hpp:20:8: note: Technically the member function 'bSNES_v059::Video::draw_cursor' can be static (but you may consider moving to unnamed namespace). mednafen/src/snes/src/system/audio/audio.hpp:7:8: performance:inconclusive: Technically the member function 'bSNES_v059::Audio::init' can be static (but you may consider moving to unnamed namespace). [functionStatic] mednafen/src/snes/src/system/audio/audio.cpp:63:13: note: Technically the member function 'bSNES_v059::Audio::init' can be static (but you may consider moving to unnamed namespace). mednafen/src/snes/src/system/audio/audio.hpp:7:8: note: Technically the member function 'bSNES_v059::Audio::init' can be static (but you may consider moving to unnamed namespace). mednafen/src/snes/src/system/input/input.hpp:40:8: performance:inconclusive: Technically the member function 'bSNES_v059::Input::init' can be static (but you may consider moving to unnamed namespace). [functionStatic] mednafen/src/snes/src/system/input/input.cpp:332:13: note: Technically the member function 'bSNES_v059::Input::init' can be static (but you may consider moving to unnamed namespace). mednafen/src/snes/src/system/input/input.hpp:40:8: note: Technically the member function 'bSNES_v059::Input::init' can be static (but you may consider moving to unnamed namespace). mednafen/src/snes/src/system/audio/audio.cpp:15:42: style:inconclusive: Function 'coprocessor_frequency' argument 1 names different: declaration 'frequency' definition 'input_frequency'. [funcArgNamesDifferent] mednafen/src/snes/src/system/audio/audio.hpp:4:37: note: Function 'coprocessor_frequency' argument 1 names different: declaration 'frequency' definition 'input_frequency'. mednafen/src/snes/src/system/audio/audio.cpp:15:42: note: Function 'coprocessor_frequency' argument 1 names different: declaration 'frequency' definition 'input_frequency'. mednafen/src/snes/src/system/input/input.cpp:5:29: style:inconclusive: Function 'port_read' argument 1 names different: declaration 'port' definition 'portnumber'. [funcArgNamesDifferent] mednafen/src/snes/src/system/input/input.hpp:38:24: note: Function 'port_read' argument 1 names different: declaration 'port' definition 'portnumber'. mednafen/src/snes/src/system/input/input.cpp:5:29: note: Function 'port_read' argument 1 names different: declaration 'port' definition 'portnumber'. mednafen/src/snes/src/system/input/input.cpp:271:34: style:inconclusive: Function 'port_set_device' argument 1 names different: declaration 'port' definition 'portnumber'. [funcArgNamesDifferent] mednafen/src/snes/src/system/input/input.hpp:39:29: note: Function 'port_set_device' argument 1 names different: declaration 'port' definition 'portnumber'. mednafen/src/snes/src/system/input/input.cpp:271:34: note: Function 'port_set_device' argument 1 names different: declaration 'port' definition 'portnumber'. mednafen/src/snes_faust/cpu.h:152:34: style:inconclusive: Boolean expression 'active' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] mednafen/src/snes_faust/cart.cpp:453:35: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] mednafen/src/snes_faust/cart.cpp:455:35: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] mednafen/src/snes_faust/cart.cpp:480:35: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] mednafen/src/snes_faust/cart.cpp:482:35: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] mednafen/src/snes_faust/cart/dsp1chip.h:206:11: warning: Member variable 'DSP1Chip::cop_x' is not initialized in the constructor. [uninitMemberVar] mednafen/src/snes_faust/cart/dsp1chip.h:206:11: warning: Member variable 'DSP1Chip::cop_y' is not initialized in the constructor. [uninitMemberVar] mednafen/src/snes_faust/cart/dsp1chip.h:206:11: warning: Member variable 'DSP1Chip::cop_z' is not initialized in the constructor. [uninitMemberVar] mednafen/src/snes_faust/cart/dsp1chip.h:206:11: warning: Member variable 'DSP1Chip::screen_cop_distance' is not initialized in the constructor. [uninitMemberVar] mednafen/src/snes_faust/cart/dsp1chip.h:206:11: warning: Member variable 'DSP1Chip::azimuth_angle' is not initialized in the constructor. [uninitMemberVar] mednafen/src/snes_faust/cart/dsp1chip.h:206:11: warning: Member variable 'DSP1Chip::zenith_angle' is not initialized in the constructor. [uninitMemberVar] mednafen/src/snes_faust/cart/dsp1chip.h:206:11: warning: Member variable 'DSP1Chip::raster_vfudge' is not initialized in the constructor. [uninitMemberVar] mednafen/src/snes_faust/cart/dsp1chip.h:206:11: warning: Member variable 'DSP1Chip::obj_rot_matrix' is not initialized in the constructor. [uninitMemberVar] mednafen/src/snes_faust/cart/dsp1chip.h:208:2: performance: Variable 'Revision' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/snes_faust/cart/dsp1.cpp:142:34: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] mednafen/src/snes_faust/cart/dsp1.cpp:147:34: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] mednafen/src/snes_faust/cart/dsp1chip.h:482:9: style: Variable 'sig' is reassigned a value before the old one has been used. [redundantAssignment] mednafen/src/snes_faust/cart/dsp1chip.h:480:9: note: sig is assigned mednafen/src/snes_faust/cart/dsp1chip.h:482:9: note: sig is overwritten mednafen/src/snes_faust/cart/sa1.cpp:47:34: style:inconclusive: Boolean expression 'active' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] mednafen/src/snes_faust/cart/sa1cpu.h:39:7: performance:inconclusive: Technically the member function 'MDFN_IEN_SNES_FAUST::SA1CPU::CPU_Misc::RunDMA' can be static (but you may consider moving to unnamed namespace). [functionStatic] mednafen/src/snes_faust/cart/sa1.cpp:203:24: note: Technically the member function 'MDFN_IEN_SNES_FAUST::SA1CPU::CPU_Misc::RunDMA' can be static (but you may consider moving to unnamed namespace). mednafen/src/snes_faust/cart/sa1cpu.h:39:7: note: Technically the member function 'MDFN_IEN_SNES_FAUST::SA1CPU::CPU_Misc::RunDMA' can be static (but you may consider moving to unnamed namespace). mednafen/src/snes_faust/cart/sa1.cpp:1240:30: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] mednafen/src/snes_faust/cart/sa1.cpp:1248:33: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] mednafen/src/snes_faust/cart/sa1.cpp:1249:44: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] mednafen/src/snes_faust/cart/sa1.cpp:1319:32: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] mednafen/src/snes_faust/cart/sa1.cpp:1320:43: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] mednafen/src/snes_faust/cart/sa1.cpp:1327:43: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] mednafen/src/snes_faust/cart/sa1.cpp:1337:43: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] mednafen/src/snes_faust/cart/sa1.cpp:269:11: style: C-style pointer casting [cstyleCast] mednafen/src/snes_faust/cart/sa1.cpp:271:11: style: C-style pointer casting [cstyleCast] mednafen/src/snes_faust/cart/sdd1.cpp:258:31: style:inconclusive: Boolean expression 'bg->run_end_bit' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] mednafen/src/snes_faust/cart/sdd1.cpp:618:32: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] mednafen/src/snes_faust/cart/sdd1.cpp:597:44: style: Same expression in both branches of ternary operator. [duplicateExpressionTernary] mednafen/src/snes_faust/cart/sdd1.cpp:598:45: style: Same expression in both branches of ternary operator. [duplicateExpressionTernary] mednafen/src/snes_faust/cart/superfx.cpp:291:17: style:inconclusive: Boolean expression 'ClockSelect' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] mednafen/src/snes_faust/cart/superfx.cpp:307:24: style:inconclusive: Boolean expression 'IRQPending' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] mednafen/src/snes_faust/cart/superfx.cpp:152:24: style:inconclusive: Technically the member function 'MDFN_IEN_SNES_FAUST::SuperFX::ReadR' can be const. [functionConst] mednafen/src/snes_faust/cart/superfx.cpp:370:24: note: Technically the member function 'MDFN_IEN_SNES_FAUST::SuperFX::ReadR' can be const. mednafen/src/snes_faust/cart/superfx.cpp:152:24: note: Technically the member function 'MDFN_IEN_SNES_FAUST::SuperFX::ReadR' can be const. mednafen/src/snes_faust/cart/superfx.cpp:158:26: style:inconclusive: Technically the member function 'MDFN_IEN_SNES_FAUST::SuperFX::CalcTNO' can be const. [functionConst] mednafen/src/snes_faust/cart/superfx.cpp:408:26: note: Technically the member function 'MDFN_IEN_SNES_FAUST::SuperFX::CalcTNO' can be const. mednafen/src/snes_faust/cart/superfx.cpp:158:26: note: Technically the member function 'MDFN_IEN_SNES_FAUST::SuperFX::CalcTNO' can be const. mednafen/src/snes_faust/cart/superfx.cpp:307:24: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] mednafen/src/snes_faust/cart/superfx.cpp:2218:16: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] mednafen/src/snes_faust/cart/superfx.cpp:2202:33: note: outer condition: bank<0x80 mednafen/src/snes_faust/cart/superfx.cpp:2218:16: note: identical inner condition: bank<0x80 mednafen/src/snes_faust/cart/superfx.cpp:2180:32: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] mednafen/src/snes_faust/cart/superfx.cpp:2188:32: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] mednafen/src/snes_faust/cart/superfx.cpp:2196:32: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] mednafen/src/snes_faust/dis65816.h:37:8: style:inconclusive: Technically the member function 'Mednafen::Dis65816::IsMXHintSet' can be const. [functionConst] mednafen/src/snes_faust/dis65816.cpp:53:23: note: Technically the member function 'Mednafen::Dis65816::IsMXHintSet' can be const. mednafen/src/snes_faust/dis65816.h:37:8: note: Technically the member function 'Mednafen::Dis65816::IsMXHintSet' can be const. mednafen/src/snes_faust/dis65816.h:38:8: style:inconclusive: Technically the member function 'Mednafen::Dis65816::GetM' can be const. [functionConst] mednafen/src/snes_faust/dis65816.cpp:63:23: note: Technically the member function 'Mednafen::Dis65816::GetM' can be const. mednafen/src/snes_faust/dis65816.h:38:8: note: Technically the member function 'Mednafen::Dis65816::GetM' can be const. mednafen/src/snes_faust/dis65816.h:39:8: style:inconclusive: Technically the member function 'Mednafen::Dis65816::GetX' can be const. [functionConst] mednafen/src/snes_faust/dis65816.cpp:74:23: note: Technically the member function 'Mednafen::Dis65816::GetX' can be const. mednafen/src/snes_faust/dis65816.h:39:8: note: Technically the member function 'Mednafen::Dis65816::GetX' can be const. mednafen/src/snes_faust/input.cpp:204:2: performance: Variable 'buttons' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/snes_faust/input.cpp:481:25: style:inconclusive: Function 'INPUT_Set' argument 1 names different: declaration 'port' definition 'vport'. [funcArgNamesDifferent] mednafen/src/snes_faust/input.h:31:26: note: Function 'INPUT_Set' argument 1 names different: declaration 'port' definition 'vport'. mednafen/src/snes_faust/input.cpp:481:25: note: Function 'INPUT_Set' argument 1 names different: declaration 'port' definition 'vport'. mednafen/src/snes_faust/msu1.cpp:322:34: warning: Either the condition '(A&0x3)==0x3' is redundant or there is signed integer overflow for expression '0xFF<>(blip_sample_bits-16)' here. mednafen/src/sound/Blip_Buffer.cpp:411:28: note: Condition '(short)s!=s' is always false mednafen/src/sound/Blip_Buffer.cpp:422:28: style: Condition '(short)s!=s' is always false [knownConditionTrueFalse] mednafen/src/sound/Blip_Buffer.cpp:421:17: note: s is assigned 'reader_reader_accum>>(blip_sample_bits-16)' here. mednafen/src/sound/Blip_Buffer.cpp:422:28: note: Condition '(short)s!=s' is always false mednafen/src/sound/Blip_Buffer.cpp:113:13: style: C-style pointer casting [cstyleCast] mednafen/src/sound/Blip_Buffer.cpp:46:14: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] mednafen/src/sound/Blip_Buffer.h:469:53: style:inconclusive: Function 'update' argument 1 names different: declaration 'time' definition 't'. [funcArgNamesDifferent] mednafen/src/sound/Blip_Buffer.h:213:27: note: Function 'update' argument 1 names different: declaration 'time' definition 't'. mednafen/src/sound/Blip_Buffer.h:469:53: note: Function 'update' argument 1 names different: declaration 'time' definition 't'. mednafen/src/sound/Blip_Buffer.h:469:60: style:inconclusive: Function 'update' argument 2 names different: declaration 'amplitude' definition 'amp'. [funcArgNamesDifferent] mednafen/src/sound/Blip_Buffer.h:213:37: note: Function 'update' argument 2 names different: declaration 'amplitude' definition 'amp'. mednafen/src/sound/Blip_Buffer.h:469:60: note: Function 'update' argument 2 names different: declaration 'amplitude' definition 'amp'. mednafen/src/sound/Blip_Buffer.h:476:42: style:inconclusive: Function 'blip_eq_t' argument 1 names different: declaration 'treble_db' definition 't'. [funcArgNamesDifferent] mednafen/src/sound/Blip_Buffer.h:251:20: note: Function 'blip_eq_t' argument 1 names different: declaration 'treble_db' definition 't'. mednafen/src/sound/Blip_Buffer.h:476:42: note: Function 'blip_eq_t' argument 1 names different: declaration 'treble_db' definition 't'. mednafen/src/sound/Blip_Buffer.h:478:42: style:inconclusive: Function 'blip_eq_t' argument 1 names different: declaration 'treble' definition 't'. [funcArgNamesDifferent] mednafen/src/sound/Blip_Buffer.h:254:20: note: Function 'blip_eq_t' argument 1 names different: declaration 'treble' definition 't'. mednafen/src/sound/Blip_Buffer.h:478:42: note: Function 'blip_eq_t' argument 1 names different: declaration 'treble' definition 't'. mednafen/src/sound/Blip_Buffer.h:478:50: style:inconclusive: Function 'blip_eq_t' argument 2 names different: declaration 'rolloff_freq' definition 'rf'. [funcArgNamesDifferent] mednafen/src/sound/Blip_Buffer.h:254:33: note: Function 'blip_eq_t' argument 2 names different: declaration 'rolloff_freq' definition 'rf'. mednafen/src/sound/Blip_Buffer.h:478:50: note: Function 'blip_eq_t' argument 2 names different: declaration 'rolloff_freq' definition 'rf'. mednafen/src/sound/Blip_Buffer.h:478:59: style:inconclusive: Function 'blip_eq_t' argument 3 names different: declaration 'sample_rate' definition 'sr'. [funcArgNamesDifferent] mednafen/src/sound/Blip_Buffer.h:254:52: note: Function 'blip_eq_t' argument 3 names different: declaration 'sample_rate' definition 'sr'. mednafen/src/sound/Blip_Buffer.h:478:59: note: Function 'blip_eq_t' argument 3 names different: declaration 'sample_rate' definition 'sr'. mednafen/src/sound/Blip_Buffer.h:478:68: style:inconclusive: Function 'blip_eq_t' argument 4 names different: declaration 'cutoff_freq' definition 'cf'. [funcArgNamesDifferent] mednafen/src/sound/Blip_Buffer.h:254:70: note: Function 'blip_eq_t' argument 4 names different: declaration 'cutoff_freq' definition 'cf'. mednafen/src/sound/Blip_Buffer.h:478:68: note: Function 'blip_eq_t' argument 4 names different: declaration 'cutoff_freq' definition 'cf'. mednafen/src/sound/Blip_Buffer.cpp:80:62: style:inconclusive: Function 'set_sample_rate' argument 1 names different: declaration 'samples_per_sec' definition 'new_rate'. [funcArgNamesDifferent] mednafen/src/sound/Blip_Buffer.h:37:37: note: Function 'set_sample_rate' argument 1 names different: declaration 'samples_per_sec' definition 'new_rate'. mednafen/src/sound/Blip_Buffer.cpp:80:62: note: Function 'set_sample_rate' argument 1 names different: declaration 'samples_per_sec' definition 'new_rate'. mednafen/src/sound/Blip_Buffer.cpp:80:76: style:inconclusive: Function 'set_sample_rate' argument 2 names different: declaration 'msec_length' definition 'msec'. [funcArgNamesDifferent] mednafen/src/sound/Blip_Buffer.h:37:58: note: Function 'set_sample_rate' argument 2 names different: declaration 'msec_length' definition 'msec'. mednafen/src/sound/Blip_Buffer.cpp:80:76: note: Function 'set_sample_rate' argument 2 names different: declaration 'msec_length' definition 'msec'. mednafen/src/sound/Blip_Buffer.cpp:133:60: style:inconclusive: Function 'clock_rate_factor' argument 1 names different: declaration 'clock_rate' definition 'rate'. [funcArgNamesDifferent] mednafen/src/sound/Blip_Buffer.h:100:48: note: Function 'clock_rate_factor' argument 1 names different: declaration 'clock_rate' definition 'rate'. mednafen/src/sound/Blip_Buffer.cpp:133:60: note: Function 'clock_rate_factor' argument 1 names different: declaration 'clock_rate' definition 'rate'. mednafen/src/sound/Blip_Buffer.cpp:141:34: style:inconclusive: Function 'bass_freq' argument 1 names different: declaration 'frequency' definition 'freq'. [funcArgNamesDifferent] mednafen/src/sound/Blip_Buffer.h:65:22: note: Function 'bass_freq' argument 1 names different: declaration 'frequency' definition 'freq'. mednafen/src/sound/Blip_Buffer.cpp:141:34: note: Function 'bass_freq' argument 1 names different: declaration 'frequency' definition 'freq'. mednafen/src/sound/Blip_Buffer.cpp:155:42: style:inconclusive: Function 'end_frame' argument 1 names different: declaration 'time' definition 't'. [funcArgNamesDifferent] mednafen/src/sound/Blip_Buffer.h:45:30: note: Function 'end_frame' argument 1 names different: declaration 'time' definition 't'. mednafen/src/sound/Blip_Buffer.cpp:155:42: note: Function 'end_frame' argument 1 names different: declaration 'time' definition 't'. mednafen/src/sound/Blip_Buffer.cpp:167:46: style:inconclusive: Function 'count_samples' argument 1 names different: declaration 'duration' definition 't'. [funcArgNamesDifferent] mednafen/src/sound/Blip_Buffer.h:88:34: note: Function 'count_samples' argument 1 names different: declaration 'duration' definition 't'. mednafen/src/sound/Blip_Buffer.cpp:167:46: note: Function 'count_samples' argument 1 names different: declaration 'duration' definition 't'. mednafen/src/sound/Blip_Buffer.cpp:217:34: style:inconclusive: Function 'Blip_Synth_' argument 1 names different: declaration 'impulses' definition 'p'. [funcArgNamesDifferent] mednafen/src/sound/Blip_Buffer.h:179:23: note: Function 'Blip_Synth_' argument 1 names different: declaration 'impulses' definition 'p'. mednafen/src/sound/Blip_Buffer.cpp:217:34: note: Function 'Blip_Synth_' argument 1 names different: declaration 'impulses' definition 'p'. mednafen/src/sound/Blip_Buffer.cpp:217:41: style:inconclusive: Function 'Blip_Synth_' argument 2 names different: declaration 'width' definition 'w'. [funcArgNamesDifferent] mednafen/src/sound/Blip_Buffer.h:179:37: note: Function 'Blip_Synth_' argument 2 names different: declaration 'width' definition 'w'. mednafen/src/sound/Blip_Buffer.cpp:217:41: note: Function 'Blip_Synth_' argument 2 names different: declaration 'width' definition 'w'. mednafen/src/sound/Blip_Buffer.cpp:395:62: style:inconclusive: Function 'read_samples' argument 1 names different: declaration 'dest' definition 'out'. [funcArgNamesDifferent] mednafen/src/sound/Blip_Buffer.h:51:36: note: Function 'read_samples' argument 1 names different: declaration 'dest' definition 'out'. mednafen/src/sound/Blip_Buffer.cpp:395:62: note: Function 'read_samples' argument 1 names different: declaration 'dest' definition 'out'. mednafen/src/sound/Blip_Buffer.cpp:436:53: style:inconclusive: Function 'mix_samples' argument 1 names different: declaration 'buf' definition 'in'. [funcArgNamesDifferent] mednafen/src/sound/Blip_Buffer.h:91:41: note: Function 'mix_samples' argument 1 names different: declaration 'buf' definition 'in'. mednafen/src/sound/Blip_Buffer.cpp:436:53: note: Function 'mix_samples' argument 1 names different: declaration 'buf' definition 'in'. mednafen/src/sound/Blip_Buffer.h:488:50: style: Parameter 'blip_buf' can be declared as reference to const [constParameter] mednafen/src/sound/Fir_Resampler.h:84:2: warning: Member variable 'Fir_Resampler::impulses' is not initialized in the constructor. [uninitMemberVar] mednafen/src/sound/Fir_Resampler.h:82:8: warning: The class 'Fir_Resampler' defines member variable with name 'impulses' also defined in its parent class 'Fir_Resampler_'. [duplInheritedMember] mednafen/src/sound/Fir_Resampler.h:71:12: note: Parent variable 'Fir_Resampler_::impulses' mednafen/src/sound/Fir_Resampler.h:82:8: note: Derived variable 'Fir_Resampler::impulses' mednafen/src/sound/fir_blargg_common.h:44:12: style: C-style pointer casting [cstyleCast] mednafen/src/sound/Fir_Resampler.cpp:87:43: style:inconclusive: Function 'time_ratio' argument 1 names different: declaration 'factor' definition 'new_factor'. [funcArgNamesDifferent] mednafen/src/sound/Fir_Resampler.h:17:28: note: Function 'time_ratio' argument 1 names different: declaration 'factor' definition 'new_factor'. mednafen/src/sound/Fir_Resampler.cpp:87:43: note: Function 'time_ratio' argument 1 names different: declaration 'factor' definition 'new_factor'. mednafen/src/sound/Fir_Resampler.cpp:141:47: style:inconclusive: Function 'input_needed' argument 1 names different: declaration 'count' definition 'output_count'. [funcArgNamesDifferent] mednafen/src/sound/Fir_Resampler.h:51:32: note: Function 'input_needed' argument 1 names different: declaration 'count' definition 'output_count'. mednafen/src/sound/Fir_Resampler.cpp:141:47: note: Function 'input_needed' argument 1 names different: declaration 'count' definition 'output_count'. mednafen/src/sound/OwlResampler.cpp:47:2: portability: Using memset() on union which contains a floating point number. [memsetClassFloat] mednafen/src/sound/OwlResampler.h:119:7: style:inconclusive: Technically the member function 'Mednafen::OwlResampler::ResetBufResampState' can be const. [functionConst] mednafen/src/sound/OwlResampler.cpp:496:20: note: Technically the member function 'Mednafen::OwlResampler::ResetBufResampState' can be const. mednafen/src/sound/OwlResampler.h:119:7: note: Technically the member function 'Mednafen::OwlResampler::ResetBufResampState' can be const. mednafen/src/sound/OwlResampler.h:122:7: style:inconclusive: Technically the member function 'Mednafen::OwlResampler::GetRatio' can be const. [functionConst] mednafen/src/sound/OwlResampler.h:128:21: style:inconclusive: Technically the member function 'Mednafen::OwlResampler::GetSIMDType' can be const. [functionConst] mednafen/src/sound/OwlResampler.cpp:170:5: style: C-style pointer casting [cstyleCast] mednafen/src/sound/OwlResampler.cpp:590:9: style: Redundant initialization for 'ratio'. The initialized value is overwritten before it is read. [redundantInitialization] mednafen/src/sound/OwlResampler.cpp:567:16: note: ratio is initialized mednafen/src/sound/OwlResampler.cpp:590:9: note: ratio is overwritten mednafen/src/sound/OwlResampler.cpp:569:10: style: The scope of the variable 'findo' can be reduced. [variableScope] mednafen/src/sound/OwlResampler.cpp:268:33: style: Parameter 'wave' can be declared as pointer to const [constParameter] mednafen/src/sound/OwlResampler.cpp:268:46: style: Parameter 'coeffs' can be declared as pointer to const [constParameter] mednafen/src/sound/Stereo_Buffer.cpp:57:62: style:inconclusive: Function 'end_frame' argument 2 names different: declaration 'was_stereo' definition 'stereo'. [funcArgNamesDifferent] mednafen/src/sound/Stereo_Buffer.h:31:36: note: Function 'end_frame' argument 2 names different: declaration 'was_stereo' definition 'stereo'. mednafen/src/sound/Stereo_Buffer.cpp:57:62: note: Function 'end_frame' argument 2 names different: declaration 'was_stereo' definition 'stereo'. mednafen/src/sound/SwiftResampler.h:49:21: style:inconclusive: Technically the member function 'Mednafen::SwiftResampler::GetSIMDType' can be const. [functionConst] mednafen/src/sound/SwiftResampler.cpp:383:9: style: Redundant initialization for 'ratio'. The initialized value is overwritten before it is read. [redundantInitialization] mednafen/src/sound/SwiftResampler.cpp:227:15: note: ratio is initialized mednafen/src/sound/SwiftResampler.cpp:383:9: note: ratio is overwritten mednafen/src/sound/WAVRecord.cpp:31:2: performance: Variable 'PCMBytesWritten' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/sound/WAVRecord.cpp:33:2: performance: Variable 'SoundRate' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/sound/WAVRecord.cpp:34:2: performance: Variable 'SoundChan' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/sound/WAVRecord.cpp:28:47: style:inconclusive: Function 'WAVRecord' argument 2 names different: declaration 'SoundRate' definition 'SoundRate_arg'. [funcArgNamesDifferent] mednafen/src/sound/WAVRecord.h:35:37: note: Function 'WAVRecord' argument 2 names different: declaration 'SoundRate' definition 'SoundRate_arg'. mednafen/src/sound/WAVRecord.cpp:28:47: note: Function 'WAVRecord' argument 2 names different: declaration 'SoundRate' definition 'SoundRate_arg'. mednafen/src/sound/WAVRecord.cpp:28:69: style:inconclusive: Function 'WAVRecord' argument 3 names different: declaration 'SoundChan' definition 'SoundChan_arg'. [funcArgNamesDifferent] mednafen/src/sound/WAVRecord.h:35:55: note: Function 'WAVRecord' argument 3 names different: declaration 'SoundChan' definition 'SoundChan_arg'. mednafen/src/sound/WAVRecord.cpp:28:69: note: Function 'WAVRecord' argument 3 names different: declaration 'SoundChan' definition 'SoundChan_arg'. mednafen/src/sound/okiadpcm.h:126:2: warning: Member variable 'OKIADPCM_Encoder::ChipType' is not initialized in the constructor. [uninitMemberVar] mednafen/src/sound/okiadpcm.h:128:3: performance: Variable 'Accum' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/sound/okiadpcm.h:129:3: performance: Variable 'StepSizeIndex' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/ss/cart.h:62:7: performance:inconclusive: Technically the member function 'MDFN_IEN_SS::CartInfo::CS01_SetRW8W16' can be static (but you may consider moving to unnamed namespace). [functionStatic] mednafen/src/ss/cart.cpp:97:16: note: Technically the member function 'MDFN_IEN_SS::CartInfo::CS01_SetRW8W16' can be static (but you may consider moving to unnamed namespace). mednafen/src/ss/cart.h:62:7: note: Technically the member function 'MDFN_IEN_SS::CartInfo::CS01_SetRW8W16' can be static (but you may consider moving to unnamed namespace). mednafen/src/ss/cart.h:63:7: performance:inconclusive: Technically the member function 'MDFN_IEN_SS::CartInfo::CS2M_SetRW8W16' can be static (but you may consider moving to unnamed namespace). [functionStatic] mednafen/src/ss/cart.cpp:114:16: note: Technically the member function 'MDFN_IEN_SS::CartInfo::CS2M_SetRW8W16' can be static (but you may consider moving to unnamed namespace). mednafen/src/ss/cart.h:63:7: note: Technically the member function 'MDFN_IEN_SS::CartInfo::CS2M_SetRW8W16' can be static (but you may consider moving to unnamed namespace). mednafen/src/ss/ss.h:104:18: style: Condition 'ss_dbg_mask&which' is always false [knownConditionTrueFalse] mednafen/src/ss/cart.cpp:183:12: style: Variable 'm' can be declared as reference to const [constVariable] mednafen/src/ss/cart.cpp:186:12: style: Variable 'm' can be declared as reference to const [constVariable] mednafen/src/ss/cart/ar4mp.cpp:131:2: error: Non-local variable 'ExtRAM' will use pointer to local variable 'new_ExtRAM'. [danglingLifetime] mednafen/src/ss/cart/ar4mp.cpp:131:25: note: Raw pointer to smart pointer created here. mednafen/src/ss/cart/ar4mp.cpp:128:28: note: Variable created here. mednafen/src/ss/cart/ar4mp.cpp:131:2: note: Non-local variable 'ExtRAM' will use pointer to local variable 'new_ExtRAM'. mednafen/src/ss/cart/ar4mp.cpp:41:32: style: C-style pointer casting [cstyleCast] mednafen/src/ss/cart/ar4mp.cpp:56:20: style: C-style pointer casting [cstyleCast] mednafen/src/ss/cart/cs1ram.cpp:33:32: style: C-style pointer casting [cstyleCast] mednafen/src/ss/cart/extram.cpp:35:32: style: C-style pointer casting [cstyleCast] mednafen/src/ss/cart/rom.cpp:34:19: style: C-style pointer casting [cstyleCast] mednafen/src/ss/cdb.cpp:3676:43: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] mednafen/src/ss/cdb.cpp:3447:75: style: Comparing expression of type 'const unsigned int' against value 0. Condition is always false. [compareValueOutOfTypeRangeError] mednafen/src/ss/cdb.cpp:3448:75: style: Comparing expression of type 'const unsigned int' against value 0. Condition is always false. [compareValueOutOfTypeRangeError] mednafen/src/ss/cdb.cpp:1404:23: style: C-style pointer casting [cstyleCast] mednafen/src/ss/cdb.cpp:792:27: style: Variable 'Partitions[pnum].LastBuf' is reassigned a value before the old one has been used. [redundantAssignment] mednafen/src/ss/cdb.cpp:782:28: note: Partitions[pnum].LastBuf is assigned mednafen/src/ss/cdb.cpp:792:27: note: Partitions[pnum].LastBuf is overwritten mednafen/src/ss/cdb.cpp:3447:73: style: Checking if unsigned expression 'NewGetSecLen' is less than zero. [unsignedLessThanZero] mednafen/src/ss/cdb.cpp:3448:73: style: Checking if unsigned expression 'NewPutSecLen' is less than zero. [unsignedLessThanZero] mednafen/src/ss/cdb.cpp:4480:10: style: Variable 'p' can be declared as reference to const [constVariable] mednafen/src/ss/cdb.cpp:4491:10: style: Variable 'b' can be declared as reference to const [constVariable] mednafen/src/ss/cdb.cpp:3282:11: style: Variable 'offs' is assigned a value that is never used. [unreadVariable] mednafen/src/ss/cdb.cpp:3284:13: style: Variable 'numsec' is assigned a value that is never used. [unreadVariable] mednafen/src/ss/input/3dpad.cpp:28:17: warning: Member variable 'IODevice_3DPad::tl' is not initialized in the constructor. [uninitMemberVar] mednafen/src/ss/input/gun.cpp:168:33: style:inconclusive: Boolean expression 'cur_ossb' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] mednafen/src/ss/input/gun.cpp:28:15: warning: Member variable 'IODevice_Gun::prev_ossb' is not initialized in the constructor. [uninitMemberVar] mednafen/src/ss/input/gun.cpp:28:15: warning: Member variable 'IODevice_Gun::chair_r' is not initialized in the constructor. [uninitMemberVar] mednafen/src/ss/input/gun.cpp:28:15: warning: Member variable 'IODevice_Gun::chair_g' is not initialized in the constructor. [uninitMemberVar] mednafen/src/ss/input/gun.cpp:28:15: warning: Member variable 'IODevice_Gun::chair_b' is not initialized in the constructor. [uninitMemberVar] mednafen/src/ss/input/jpkeyboard.cpp:42:22: warning: Member variable 'IODevice_JPKeyboard::tl' is not initialized in the constructor. [uninitMemberVar] mednafen/src/ss/input/jpkeyboard.cpp:242:55: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] mednafen/src/ss/input/keyboard.cpp:50:20: warning: Member variable 'IODevice_Keyboard::tl' is not initialized in the constructor. [uninitMemberVar] mednafen/src/ss/input/keyboard.cpp:257:55: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] mednafen/src/ss/input/mission.cpp:34:19: warning: Member variable 'IODevice_Mission::tl' is not initialized in the constructor. [uninitMemberVar] mednafen/src/ss/input/mission.cpp:34:19: warning: Member variable 'IODevice_Mission::afphase' is not initialized in the constructor. [uninitMemberVar] mednafen/src/ss/input/mission.h:31:2: style: Class 'IODevice_Mission' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mednafen/src/ss/input/mouse.cpp:28:17: warning: Member variable 'IODevice_Mouse::tl' is not initialized in the constructor. [uninitMemberVar] mednafen/src/ss/input/multitap.cpp:28:20: warning: Member variable 'IODevice_Multitap::devices' is not initialized in the constructor. [uninitMemberVar] mednafen/src/ss/input/multitap.cpp:28:20: warning: Member variable 'IODevice_Multitap::tl' is not initialized in the constructor. [uninitMemberVar] mednafen/src/ss/input/wheel.cpp:28:17: warning: Member variable 'IODevice_Wheel::tl' is not initialized in the constructor. [uninitMemberVar] mednafen/src/ss/notes/gen_dsp.cpp:18:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] mednafen/src/ss/notes/gen_dsp.cpp:52:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] mednafen/src/ss/notes/gen_dsp.cpp:67:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] mednafen/src/ss/notes/gen_dsp.cpp:82:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] mednafen/src/ss/notes/gen_dsp.cpp:92:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] mednafen/src/ss/notes/gen_dsp.cpp:34:22: style: Variable 'd1_s' is assigned a value that is never used. [unreadVariable] mednafen/src/ss/scu_dsp_gen.cpp:172:34: error: Signed integer overflow for expression 'new_C<<31'. [integerOverflow] mednafen/src/ss/scu_dsp_gen.cpp:169:29: note: Assignment 'new_C=ALU.L&0x1', assigned value is 1 mednafen/src/ss/scu_dsp_gen.cpp:172:34: note: Integer overflow mednafen/src/ss/smpc.cpp:257:39: style:inconclusive: Boolean expression '!(IOBusState[0]&0x40)' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] mednafen/src/ss/smpc.cpp:257:82: style:inconclusive: Boolean expression '!(IOBusState[1]&0x40)' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] mednafen/src/ss/smpc.cpp:257:39: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] mednafen/src/ss/smpc.cpp:412:28: style:inconclusive: Function 'SMPC_Init' argument 1 names different: declaration 'area_code' definition 'area_code_arg'. [funcArgNamesDifferent] mednafen/src/ss/smpc.h:57:28: note: Function 'SMPC_Init' argument 1 names different: declaration 'area_code' definition 'area_code_arg'. mednafen/src/ss/smpc.cpp:412:28: note: Function 'SMPC_Init' argument 1 names different: declaration 'area_code' definition 'area_code_arg'. mednafen/src/ss/smpc.cpp:412:55: style:inconclusive: Function 'SMPC_Init' argument 2 names different: declaration 'master_clock' definition 'master_clock_arg'. [funcArgNamesDifferent] mednafen/src/ss/smpc.h:57:51: note: Function 'SMPC_Init' argument 2 names different: declaration 'master_clock' definition 'master_clock_arg'. mednafen/src/ss/smpc.cpp:412:55: note: Function 'SMPC_Init' argument 2 names different: declaration 'master_clock' definition 'master_clock_arg'. mednafen/src/ss/sound.cpp:318:55: style: C-style pointer casting [cstyleCast] mednafen/src/ss/ss.cpp:1807:7: style:inconclusive: Technically the member function 'MDFN_IEN_SS::EventsPacker::Restore' can be const. [functionConst] mednafen/src/ss/ss.cpp:1827:27: note: Technically the member function 'MDFN_IEN_SS::EventsPacker::Restore' can be const. mednafen/src/ss/ss.cpp:1807:7: note: Technically the member function 'MDFN_IEN_SS::EventsPacker::Restore' can be const. mednafen/src/ss/ss.cpp:743:5: style: The if condition is the same as the previous if condition [duplicateCondition] mednafen/src/ss/ss.cpp:737:5: note: First condition mednafen/src/ss/ss.cpp:743:5: note: Second condition mednafen/src/ss/ss.cpp:1751:15: style: C-style pointer casting [cstyleCast] mednafen/src/ss/ss.cpp:1777:43: style: C-style pointer casting [cstyleCast] mednafen/src/ss/ss.cpp:1064:5: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] mednafen/src/ss/ss.cpp:1076:3: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] mednafen/src/ss/ss.cpp:1197:4: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] mednafen/src/ss/ss.cpp:1233:4: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] mednafen/src/ss/ss.cpp:1339:0: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] mednafen/src/ss/ss.cpp:1542:20: style: Consider using std::any_of, std::all_of, std::none_of, or std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] mednafen/src/ss/ss.cpp:1025:14: style: struct member 'Anonymous41::str' is never used. [unusedStructMember] mednafen/src/ss/vdp1_common.h:531:5: style:inconclusive: Boolean expression 'clipped' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] mednafen/src/ss/vdp1_common.h:531:5: style:inconclusive: Boolean expression 'transparent' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] mednafen/src/ss/vdp1_common.h:539:3: style:inconclusive: Boolean expression 'clipped' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] mednafen/src/ss/vdp1_common.h:539:3: style:inconclusive: Boolean expression 'transparent' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] mednafen/src/ss/vdp1.cpp:515:29: style:inconclusive: Boolean expression 'p0.y==p1.y' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] mednafen/src/ss/vdp1.cpp:515:52: style:inconclusive: Boolean expression 'p0.x=Window[0].CurXStart' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] mednafen/src/ss/vdp2_render.cpp:1245:41: style:inconclusive: Boolean expression 'x>=Window[1].CurXStart' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] mednafen/src/ss/vdp2_render.cpp:1276:41: style:inconclusive: Boolean expression 'x>=Window[0].CurXStart' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] mednafen/src/ss/vdp2_render.cpp:1277:41: style:inconclusive: Boolean expression 'x>=Window[1].CurXStart' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] mednafen/src/ss/vdp2_render.cpp:1377:46: style:inconclusive: Boolean expression '!(MZCTL&0x1)' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] mednafen/src/ss/vdp2_render.cpp:1377:100: style:inconclusive: Boolean expression '!(MZCTL&0x2)' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] mednafen/src/ss/vdp2_render.cpp:1405:22: style:inconclusive: Boolean expression 'vcon[0]' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] mednafen/src/ss/vdp2_render.cpp:1406:22: style:inconclusive: Boolean expression 'vcon[1]' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] mednafen/src/ss/vdp2_render.cpp:2096:26: style:inconclusive: Boolean expression 'cce' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] mednafen/src/ss/vdp2_render.cpp:1377:46: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] mednafen/src/ss/vdp2_render.cpp:1424:12: style: The if condition is the same as the previous if condition [duplicateCondition] mednafen/src/ss/vdp2_render.cpp:1421:12: note: First condition mednafen/src/ss/vdp2_render.cpp:1424:12: note: Second condition mednafen/src/ss/vdp2_render.cpp:1441:12: style: The if condition is the same as the previous if condition [duplicateCondition] mednafen/src/ss/vdp2_render.cpp:1438:12: note: First condition mednafen/src/ss/vdp2_render.cpp:1441:12: note: Second condition mednafen/src/ss/vdp2_render.cpp:1542:29: style: C-style pointer casting [cstyleCast] mednafen/src/ss/vdp2_render.cpp:1665:28: style: C-style pointer casting [cstyleCast] mednafen/src/ss/vdp2_render.cpp:2408:7: style: Redundant initialization for 'pix'. The initialized value is overwritten before it is read. [redundantInitialization] mednafen/src/ss/vdp2_render.cpp:2376:14: note: pix is initialized mednafen/src/ss/vdp2_render.cpp:2408:7: note: pix is overwritten mednafen/src/ss/vdp2_render.cpp:2596:13: warning: Redundant assignment of 'target[0]' to itself. [selfAssignment] mednafen/src/ss/vdp2_render.cpp:3349:45: style:inconclusive: Function 'VDP2REND_StartFrame' argument 1 names different: declaration 'espec' definition 'espec_arg'. [funcArgNamesDifferent] mednafen/src/ss/vdp2_render.h:32:45: note: Function 'VDP2REND_StartFrame' argument 1 names different: declaration 'espec' definition 'espec_arg'. mednafen/src/ss/vdp2_render.cpp:3349:45: note: Function 'VDP2REND_StartFrame' argument 1 names different: declaration 'espec' definition 'espec_arg'. mednafen/src/ss/vdp2_render.cpp:1146:7: style: Consider using std::fill algorithm instead of a raw loop. [useStlAlgorithm] mednafen/src/ss/vdp2_render.cpp:1149:7: style: Consider using std::fill algorithm instead of a raw loop. [useStlAlgorithm] mednafen/src/ss/vdp2_render.cpp:1152:6: style: Consider using std::fill algorithm instead of a raw loop. [useStlAlgorithm] mednafen/src/ss/vdp2_render.cpp:1163:8: style: Consider using std::fill algorithm instead of a raw loop. [useStlAlgorithm] mednafen/src/string/string.cpp:793:46: style:inconclusive: Boolean expression 'MDFN_isspace(new_c)' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] mednafen/src/string/string.cpp:795:17: style:inconclusive: Boolean expression '!new_in_ws' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] mednafen/src/string/string.cpp:802:32: style:inconclusive: Boolean expression 'new_in_quote' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] mednafen/src/string/string.cpp:805:26: style:inconclusive: Boolean expression 'new_in_ws' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] mednafen/src/string/string.cpp:793:46: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] mednafen/src/string/string.cpp:795:17: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] mednafen/src/string/string.h:77:14: style: C-style pointer casting [cstyleCast] mednafen/src/string/string.cpp:561:21: style: C-style pointer casting [cstyleCast] mednafen/src/string/string.cpp:562:21: style: C-style pointer casting [cstyleCast] mednafen/src/string/string.cpp:693:49: style:inconclusive: Function 'MDFN_strunescape' argument 1 names different: declaration 's' definition 'str'. [funcArgNamesDifferent] mednafen/src/string/string.h:93:73: note: Function 'MDFN_strunescape' argument 1 names different: declaration 's' definition 'str'. mednafen/src/string/string.cpp:693:49: note: Function 'MDFN_strunescape' argument 1 names different: declaration 's' definition 'str'. mednafen/src/string/string.cpp:712:47: style:inconclusive: Function 'MDFN_strescape' argument 1 names different: declaration 's' definition 'str'. [funcArgNamesDifferent] mednafen/src/string/string.h:95:71: note: Function 'MDFN_strescape' argument 1 names different: declaration 's' definition 'str'. mednafen/src/string/string.cpp:712:47: note: Function 'MDFN_strescape' argument 1 names different: declaration 's' definition 'str'. mednafen/src/string/string.cpp:753:47: style:inconclusive: Function 'MDFN_strhumesc' argument 1 names different: declaration 's' definition 'str'. [funcArgNamesDifferent] mednafen/src/string/string.h:103:71: note: Function 'MDFN_strhumesc' argument 1 names different: declaration 's' definition 'str'. mednafen/src/string/string.cpp:753:47: note: Function 'MDFN_strhumesc' argument 1 names different: declaration 's' definition 'str'. mednafen/src/string/string.cpp:461:6: style: Consider using std::replace_if algorithm instead of a raw loop. [useStlAlgorithm] mednafen/src/string/string.cpp:485:5: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] mednafen/src/string/string.cpp:509:5: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] mednafen/src/string/string.cpp:597:14: style: Unused variable: ret [unusedVariable] mednafen/src/testsexp.cpp:740:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] mednafen/src/testsexp.cpp:133:6: style: The scope of the variable 'quality' can be reduced. [variableScope] mednafen/src/time/Time_POSIX.cpp:79:12: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] mednafen/src/time/Time_POSIX.cpp:108:12: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] mednafen/src/time/Time_POSIX.cpp:156:3: error: Exception thrown in function declared not to throw exceptions. [throwInNoexceptFunction] mednafen/src/time/Time_Win32.cpp:436:12: error: Array 'tzperiods[6]' accessed at index 7, which is out of bounds. [arrayIndexOutOfBounds] mednafen/src/time/Time_Win32.cpp:435:24: note: Assuming that condition 'i<8' is not redundant mednafen/src/time/Time_Win32.cpp:436:12: note: Array index out of bounds mednafen/src/time/Time_Win32.cpp:436:38: error: Array 'tzperiods[6]' accessed at index 6, which is out of bounds. [arrayIndexOutOfBounds] mednafen/src/time/Time_Win32.cpp:435:24: note: Assuming that condition 'i<8' is not redundant mednafen/src/time/Time_Win32.cpp:436:38: note: Array index out of bounds mednafen/src/time/Time_Win32.cpp:443:22: error: Array 'tzperiods[6]' accessed at index 7, which is out of bounds. [arrayIndexOutOfBounds] mednafen/src/time/Time_Win32.cpp:441:24: note: Assuming that condition 'i<8' is not redundant mednafen/src/time/Time_Win32.cpp:443:22: note: Array index out of bounds mednafen/src/time/Time_Win32.cpp:462:56: style: C-style pointer casting [cstyleCast] mednafen/src/tremor/os_types.h:37:0: error: #error "ERROR" [preprocessorErrorDirective] mednafen/src/trio/trio.c:836:3: error: There is an unknown macro here somewhere. Configuration is required. If void is a macro then please configure it. [unknownMacro] mednafen/src/trio/triostr.c:153:9: style: struct member '_trio_string_t::content' is never used. [unusedStructMember] mednafen/src/trio/triostr.c:154:10: style: struct member '_trio_string_t::length' is never used. [unusedStructMember] mednafen/src/trio/triostr.c:155:10: style: struct member '_trio_string_t::allocated' is never used. [unusedStructMember] mednafen/src/vb/debug.cpp:297:29: error: Uninitialized variable: tmp.logical [uninitvar] mednafen/src/vb/debug.cpp:297:29: error: Uninitialized struct member: tmp.logical [uninitStructMember] mednafen/src/vb/debug.cpp:299:30: error: Uninitialized struct member: tmp.logical [uninitStructMember] mednafen/src/vb/debug.cpp:301:27: error: Uninitialized struct member: tmp.logical [uninitStructMember] mednafen/src/vb/debug.cpp:49:14: style: struct member '__VB_BPOINT::logical' is never used. [unusedStructMember] mednafen/src/vb/debug.cpp:276:35: style: Unused variable: bpit [unusedVariable] mednafen/src/vb/debug.cpp:202:26: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] mednafen/src/vb/debug.cpp:247:65: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] mednafen/src/vb/input.cpp:66:19: style: C-style pointer casting [cstyleCast] mednafen/src/vb/input.cpp:69:38: style: Parameter 'timestamp' can be declared as reference to const [constParameter] mednafen/src/vb/input.cpp:110:38: style: Parameter 'timestamp' can be declared as reference to const [constParameter] mednafen/src/vb/vb.cpp:494:12: style: C-style pointer casting [cstyleCast] mednafen/src/vb/vip.cpp:112:56: style:inconclusive: Boolean expression 'cprunique' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] mednafen/src/vb/vip.cpp:489:42: style: Parameter 'timestamp' can be declared as reference to const [constParameter] mednafen/src/vb/vsu.h:44:8: style:inconclusive: Technically the member function 'VSU::PeekWave' can be const. [functionConst] mednafen/src/vb/vsu.cpp:559:12: note: Technically the member function 'VSU::PeekWave' can be const. mednafen/src/vb/vsu.h:44:8: note: Technically the member function 'VSU::PeekWave' can be const. mednafen/src/vb/vsu.h:47:8: style:inconclusive: Technically the member function 'VSU::PeekModWave' can be const. [functionConst] mednafen/src/vb/vsu.cpp:577:12: note: Technically the member function 'VSU::PeekModWave' can be const. mednafen/src/vb/vsu.h:47:8: note: Technically the member function 'VSU::PeekModWave' can be const. mednafen/src/video/Deinterlacer_Simple.h:32:2: style: Class 'Deinterlacer_Simple' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mednafen/src/video/Deinterlacer_Blend.h:32:2: style: Class 'Deinterlacer_Blend' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mednafen/src/video/Deinterlacer_Blend.cpp:29:45: style:inconclusive: Function 'Deinterlacer_Blend' argument 1 names different: declaration 'gc' definition 'rg'. [funcArgNamesDifferent] mednafen/src/video/Deinterlacer_Blend.h:32:26: note: Function 'Deinterlacer_Blend' argument 1 names different: declaration 'gc' definition 'rg'. mednafen/src/video/Deinterlacer_Blend.cpp:29:45: note: Function 'Deinterlacer_Blend' argument 1 names different: declaration 'gc' definition 'rg'. mednafen/src/video/Deinterlacer_Blend.cpp:198:68: style:inconclusive: Function 'Process' argument 2 names different: declaration 'DisplayRect' definition 'dr'. [funcArgNamesDifferent] mednafen/src/video/Deinterlacer_Blend.h:35:57: note: Function 'Process' argument 2 names different: declaration 'DisplayRect' definition 'dr'. mednafen/src/video/Deinterlacer_Blend.cpp:198:68: note: Function 'Process' argument 2 names different: declaration 'DisplayRect' definition 'dr'. mednafen/src/video/convert.cpp:44:16: style: C-style pointer casting [cstyleCast] mednafen/src/video/convert.cpp:45:35: style: C-style pointer casting [cstyleCast] mednafen/src/video/convert.cpp:66:16: style: C-style pointer casting [cstyleCast] mednafen/src/video/convert.cpp:67:35: style: C-style pointer casting [cstyleCast] mednafen/src/video/convert.cpp:147:20: style: C-style pointer casting [cstyleCast] mednafen/src/video/convert.cpp:148:49: style: C-style pointer casting [cstyleCast] mednafen/src/video/png.cpp:39:17: style: C-style pointer casting [cstyleCast] mednafen/src/video/png.cpp:223:3: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] mednafen/src/video/png.cpp:225:3: note: Found duplicate branches for 'if' and 'else'. mednafen/src/video/png.cpp:223:3: note: Found duplicate branches for 'if' and 'else'. mednafen/src/video/png.cpp:82:8: style: The scope of the variable 'r' can be reduced. [variableScope] mednafen/src/video/png.cpp:82:11: style: The scope of the variable 'g' can be reduced. [variableScope] mednafen/src/video/png.cpp:82:14: style: The scope of the variable 'b' can be reduced. [variableScope] mednafen/src/video/png.cpp:119:87: style:inconclusive: Function 'WriteIt' argument 3 names different: declaration 'rect' definition 'rect_in'. [funcArgNamesDifferent] mednafen/src/video/png.h:22:78: note: Function 'WriteIt' argument 3 names different: declaration 'rect' definition 'rect_in'. mednafen/src/video/png.cpp:119:87: note: Function 'WriteIt' argument 3 names different: declaration 'rect' definition 'rect_in'. mednafen/src/video/primitives.cpp:313:24: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] mednafen/src/video/surface.cpp:37:2: performance: Variable 'w' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/video/surface.cpp:38:2: performance: Variable 'h' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/video/surface.h:114:7: style:inconclusive: Technically the member function 'Mednafen::MDFN_PixelFormat::operator==' can be const. [functionConst] mednafen/src/video/surface.h:119:7: style:inconclusive: Technically the member function 'Mednafen::MDFN_PixelFormat::operator==' can be const. [functionConst] mednafen/src/video/surface.h:124:7: style:inconclusive: Technically the member function 'Mednafen::MDFN_PixelFormat::operator!=' can be const. [functionConst] mednafen/src/video/surface.h:71:9: style: Class 'MDFN_PixelFormat' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mednafen/src/video/surface.cpp:124:18: style: C-style pointer casting [cstyleCast] mednafen/src/video/surface.cpp:136:14: style: C-style pointer casting [cstyleCast] mednafen/src/video/surface.cpp:138:13: style: C-style pointer casting [cstyleCast] mednafen/src/video/surface.cpp:140:12: style: C-style pointer casting [cstyleCast] mednafen/src/video/surface.cpp:232:47: style: C-style pointer casting [cstyleCast] mednafen/src/video/surface.cpp:239:19: style: C-style pointer casting [cstyleCast] mednafen/src/video/surface.cpp:244:19: style: C-style pointer casting [cstyleCast] mednafen/src/video/surface.cpp:271:22: style: C-style pointer casting [cstyleCast] mednafen/src/video/surface.cpp:272:23: style: C-style pointer casting [cstyleCast] mednafen/src/video/surface.cpp:273:21: style: C-style pointer casting [cstyleCast] mednafen/src/video/surface.cpp:205:54: style:inconclusive: Function 'SetFormat' argument 1 names different: declaration 'new_format' definition 'nf'. [funcArgNamesDifferent] mednafen/src/video/surface.h:343:41: note: Function 'SetFormat' argument 1 names different: declaration 'new_format' definition 'nf'. mednafen/src/video/surface.cpp:205:54: note: Function 'SetFormat' argument 1 names different: declaration 'new_format' definition 'nf'. mednafen/src/video/text.cpp:158:32: style: C-style pointer casting [cstyleCast] mednafen/src/video/video.cpp:52:3: style: Instance of 'PNGWrite' object is destroyed immediately. [unusedScopedObject] mednafen/src/wswan/dis/disasm.h:155:10: style:inconclusive: Technically the member function 'disassembler::peek_byte' can be const. [functionConst] mednafen/src/wswan/dis/disasm.h:160:18: style: C-style pointer casting [cstyleCast] mednafen/src/wswan/dis/disasm.h:161:18: style: C-style pointer casting [cstyleCast] mednafen/src/wswan/dis/disasm.h:168:18: style: C-style pointer casting [cstyleCast] mednafen/src/wswan/dis/disasm.h:169:18: style: C-style pointer casting [cstyleCast] mednafen/src/wswan/dis/disasm.h:170:18: style: C-style pointer casting [cstyleCast] mednafen/src/wswan/dis/disasm.h:171:18: style: C-style pointer casting [cstyleCast] mednafen/src/wswan/debug.cpp:346:6: style: Redundant initialization for 'mis'. The initialized value is overwritten before it is read. [redundantInitialization] mednafen/src/wswan/debug.cpp:345:13: note: mis is initialized mednafen/src/wswan/debug.cpp:346:6: note: mis is overwritten mednafen/src/wswan/debug.cpp:76:69: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] mednafen/src/wswan/debug.cpp:98:71: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] mednafen/src/wswan/debug.cpp:115:73: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] mednafen/src/wswan/debug.cpp:137:75: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] mednafen/src/wswan/debug.cpp:154:66: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] mednafen/src/wswan/dis/dis_decode.cpp:14:3: performance: Variable 'extend8b' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/wswan/dis/dis_decode.cpp:15:3: performance: Variable 'seg_override' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/wswan/dis/dis_decode.cpp:20:3: performance: Variable 'modrm' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/wswan/dis/dis_decode.cpp:20:11: performance: Variable 'mod' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/wswan/dis/dis_decode.cpp:20:17: performance: Variable 'nnn' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/wswan/dis/dis_decode.cpp:20:23: performance: Variable 'rm' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/wswan/dis/dis_decode.cpp:21:3: performance: Variable 'sib' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/wswan/dis/dis_decode.cpp:21:9: performance: Variable 'scale' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/wswan/dis/dis_decode.cpp:21:17: performance: Variable 'index' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/wswan/dis/dis_decode.cpp:21:25: performance: Variable 'base' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/wswan/dis/dis_decode.cpp:161:20: style: C-style pointer casting [cstyleCast] mednafen/src/wswan/dis/dis_decode.cpp:165:20: style: C-style pointer casting [cstyleCast] mednafen/src/wswan/dis/dis_decode.cpp:169:20: style: C-style pointer casting [cstyleCast] mednafen/src/wswan/dis/dis_decode.cpp:173:20: style: C-style pointer casting [cstyleCast] mednafen/src/wswan/dis/dis_decode.cpp:177:20: style: C-style pointer casting [cstyleCast] mednafen/src/wswan/dis/dis_decode.cpp:202:26: style: C-style pointer casting [cstyleCast] mednafen/src/wswan/dis/dis_decode.cpp:214:40: style: C-style pointer casting [cstyleCast] mednafen/src/wswan/dis/resolve.cpp:68:44: style:inconclusive: Function 'print_datasize' argument 1 names different: declaration 'mode' definition 'size'. [funcArgNamesDifferent] mednafen/src/wswan/dis/disasm.h:186:33: note: Function 'print_datasize' argument 1 names different: declaration 'mode' definition 'size'. mednafen/src/wswan/dis/resolve.cpp:68:44: note: Function 'print_datasize' argument 1 names different: declaration 'mode' definition 'size'. mednafen/src/wswan/dis/disasm.h:108:3: warning: Member variable 'disassembler::instruction' is not initialized in the constructor. [uninitMemberVar] mednafen/src/wswan/dis/disasm.h:108:3: warning: Member variable 'disassembler::disbufptr' is not initialized in the constructor. [uninitMemberVar] mednafen/src/wswan/dis/disasm.h:108:3: warning: Member variable 'disassembler::resolve_modrm' is not initialized in the constructor. [uninitMemberVar] mednafen/src/wswan/gfx.cpp:504:48: error: syntax error [syntaxError] mednafen/src/wswan/main.cpp:426:20: style: C-style pointer casting [cstyleCast] mednafen/src/wswan/main.cpp:295:12: style: Variable 'bl' can be declared as const array [constVariable] mednafen/src/wswan/main.cpp:303:6: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] mednafen/src/wswan/memory.cpp:438:44: style:inconclusive: Function 'WSwan_writemem20' argument 1 names different: declaration 'address' definition 'A'. [funcArgNamesDifferent] mednafen/src/wswan/memory.h:13:44: note: Function 'WSwan_writemem20' argument 1 names different: declaration 'address' definition 'A'. mednafen/src/wswan/memory.cpp:438:44: note: Function 'WSwan_writemem20' argument 1 names different: declaration 'address' definition 'A'. mednafen/src/wswan/memory.cpp:438:53: style:inconclusive: Function 'WSwan_writemem20' argument 2 names different: declaration 'data' definition 'V'. [funcArgNamesDifferent] mednafen/src/wswan/memory.h:13:58: note: Function 'WSwan_writemem20' argument 2 names different: declaration 'data' definition 'V'. mednafen/src/wswan/memory.cpp:438:53: note: Function 'WSwan_writemem20' argument 2 names different: declaration 'data' definition 'V'. mednafen/src/wswan/memory.cpp:458:47: style:inconclusive: Function 'WSwan_writemem20_WW' argument 1 names different: declaration 'address' definition 'A'. [funcArgNamesDifferent] mednafen/src/wswan/memory.h:16:47: note: Function 'WSwan_writemem20_WW' argument 1 names different: declaration 'address' definition 'A'. mednafen/src/wswan/memory.cpp:458:47: note: Function 'WSwan_writemem20_WW' argument 1 names different: declaration 'address' definition 'A'. mednafen/src/wswan/memory.cpp:458:56: style:inconclusive: Function 'WSwan_writemem20_WW' argument 2 names different: declaration 'data' definition 'V'. [funcArgNamesDifferent] mednafen/src/wswan/memory.h:16:61: note: Function 'WSwan_writemem20_WW' argument 2 names different: declaration 'data' definition 'V'. mednafen/src/wswan/memory.cpp:458:56: note: Function 'WSwan_writemem20_WW' argument 2 names different: declaration 'data' definition 'V'. mednafen/src/wswan/memory.cpp:738:65: style:inconclusive: Function 'WSwan_MemoryInit' argument 4 names different: declaration 'IsWW' definition 'IsWW_arg'. [funcArgNamesDifferent] mednafen/src/wswan/memory.h:18:65: note: Function 'WSwan_MemoryInit' argument 4 names different: declaration 'IsWW' definition 'IsWW_arg'. mednafen/src/wswan/memory.cpp:738:65: note: Function 'WSwan_MemoryInit' argument 4 names different: declaration 'IsWW' definition 'IsWW_arg'. mednafen/src/wswan/rtc.cpp:66:2: performance: Variable 'sec' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/wswan/rtc.cpp:67:2: performance: Variable 'min' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/wswan/rtc.cpp:68:2: performance: Variable 'hour' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/wswan/rtc.cpp:69:2: performance: Variable 'wday' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/wswan/rtc.cpp:70:2: performance: Variable 'mday' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/wswan/rtc.cpp:71:2: performance: Variable 'mon' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/wswan/rtc.cpp:72:2: performance: Variable 'year' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mednafen/src/wswan/rtc.cpp:53:7: performance:inconclusive: Technically the member function 'MDFN_IEN_WSWAN::GenericRTC::BCDInc' can be static (but you may consider moving to unnamed namespace). [functionStatic] mednafen/src/wswan/rtc.cpp:75:18: note: Technically the member function 'MDFN_IEN_WSWAN::GenericRTC::BCDInc' can be static (but you may consider moving to unnamed namespace). mednafen/src/wswan/rtc.cpp:53:7: note: Technically the member function 'MDFN_IEN_WSWAN::GenericRTC::BCDInc' can be static (but you may consider moving to unnamed namespace). mednafen/src/wswan/v30mz.cpp:825:113: style: Variable 'I.pc' is reassigned a value before the old one has been used. [redundantAssignment] mednafen/src/wswan/v30mz.cpp:825:61: note: I.pc is assigned mednafen/src/wswan/v30mz.cpp:825:113: note: I.pc is overwritten mednafen/src/zstd/common/mem.h:278:19: style: Condition 'MEM_32bits()' is always false [knownConditionTrueFalse] mednafen/src/zstd/common/mem.h:352:19: style: Condition 'MEM_32bits()' is always false [knownConditionTrueFalse] mednafen/src/zstd/common/mem.h:360:19: style: Condition 'MEM_32bits()' is always false [knownConditionTrueFalse] mednafen/src/zstd/common/mem.h:402:19: style: Condition 'MEM_32bits()' is always false [knownConditionTrueFalse] mednafen/src/zstd/common/mem.h:410:19: style: Condition 'MEM_32bits()' is always false [knownConditionTrueFalse] mednafen/src/zstd/common/mem.h:191:39: style:inconclusive: Function 'MEM_read16' argument 1 names different: declaration 'memPtr' definition 'ptr'. [funcArgNamesDifferent] mednafen/src/zstd/common/mem.h:92:39: note: Function 'MEM_read16' argument 1 names different: declaration 'memPtr' definition 'ptr'. mednafen/src/zstd/common/mem.h:191:39: note: Function 'MEM_read16' argument 1 names different: declaration 'memPtr' definition 'ptr'. mednafen/src/zstd/common/mem.h:192:39: style:inconclusive: Function 'MEM_read32' argument 1 names different: declaration 'memPtr' definition 'ptr'. [funcArgNamesDifferent] mednafen/src/zstd/common/mem.h:93:39: note: Function 'MEM_read32' argument 1 names different: declaration 'memPtr' definition 'ptr'. mednafen/src/zstd/common/mem.h:192:39: note: Function 'MEM_read32' argument 1 names different: declaration 'memPtr' definition 'ptr'. mednafen/src/zstd/common/mem.h:193:39: style:inconclusive: Function 'MEM_read64' argument 1 names different: declaration 'memPtr' definition 'ptr'. [funcArgNamesDifferent] mednafen/src/zstd/common/mem.h:94:39: note: Function 'MEM_read64' argument 1 names different: declaration 'memPtr' definition 'ptr'. mednafen/src/zstd/common/mem.h:193:39: note: Function 'MEM_read64' argument 1 names different: declaration 'memPtr' definition 'ptr'. mednafen/src/zstd/common/mem.h:194:42: style:inconclusive: Function 'MEM_readST' argument 1 names different: declaration 'memPtr' definition 'ptr'. [funcArgNamesDifferent] mednafen/src/zstd/common/mem.h:95:42: note: Function 'MEM_readST' argument 1 names different: declaration 'memPtr' definition 'ptr'. mednafen/src/zstd/common/mem.h:194:42: note: Function 'MEM_readST' argument 1 names different: declaration 'memPtr' definition 'ptr'. mednafen/src/zstd/common/bitstream.h:189:41: style:inconclusive: Function 'BIT_initCStream' argument 2 names different: declaration 'dstBuffer' definition 'startPtr'. [funcArgNamesDifferent] mednafen/src/zstd/common/bitstream.h:66:62: note: Function 'BIT_initCStream' argument 2 names different: declaration 'dstBuffer' definition 'startPtr'. mednafen/src/zstd/common/bitstream.h:189:41: note: Function 'BIT_initCStream' argument 2 names different: declaration 'dstBuffer' definition 'startPtr'. mednafen/src/zstd/common/bitstream.h:454:59: style:inconclusive: Function 'BIT_endOfDStream' argument 1 names different: declaration 'bitD' definition 'DStream'. [funcArgNamesDifferent] mednafen/src/zstd/common/bitstream.h:109:59: note: Function 'BIT_endOfDStream' argument 1 names different: declaration 'bitD' definition 'DStream'. mednafen/src/zstd/common/bitstream.h:454:59: note: Function 'BIT_endOfDStream' argument 1 names different: declaration 'bitD' definition 'DStream'. mednafen/src/zstd/common/fse.h:513:46: style:inconclusive: Function 'FSE_initCState' argument 1 names different: declaration 'CStatePtr' definition 'statePtr'. [funcArgNamesDifferent] mednafen/src/zstd/common/fse.h:383:42: note: Function 'FSE_initCState' argument 1 names different: declaration 'CStatePtr' definition 'statePtr'. mednafen/src/zstd/common/fse.h:513:46: note: Function 'FSE_initCState' argument 1 names different: declaration 'CStatePtr' definition 'statePtr'. mednafen/src/zstd/common/fse.h:539:69: style:inconclusive: Function 'FSE_encodeSymbol' argument 2 names different: declaration 'CStatePtr' definition 'statePtr'. [funcArgNamesDifferent] mednafen/src/zstd/common/fse.h:385:65: note: Function 'FSE_encodeSymbol' argument 2 names different: declaration 'CStatePtr' definition 'statePtr'. mednafen/src/zstd/common/fse.h:539:69: note: Function 'FSE_encodeSymbol' argument 2 names different: declaration 'CStatePtr' definition 'statePtr'. mednafen/src/zstd/common/fse.h:548:74: style:inconclusive: Function 'FSE_flushCState' argument 2 names different: declaration 'CStatePtr' definition 'statePtr'. [funcArgNamesDifferent] mednafen/src/zstd/common/fse.h:387:70: note: Function 'FSE_flushCState' argument 2 names different: declaration 'CStatePtr' definition 'statePtr'. mednafen/src/zstd/common/fse.h:548:74: note: Function 'FSE_flushCState' argument 2 names different: declaration 'CStatePtr' definition 'statePtr'. mednafen/src/zstd/common/entropy_common.c:229:45: style:inconclusive: Function 'FSE_readNCount_bmi2' argument 2 names different: declaration 'maxSymbolValuePtr' definition 'maxSVPtr'. [funcArgNamesDifferent] mednafen/src/zstd/common/fse.h:241:38: note: Function 'FSE_readNCount_bmi2' argument 2 names different: declaration 'maxSymbolValuePtr' definition 'maxSVPtr'. mednafen/src/zstd/common/entropy_common.c:229:45: note: Function 'FSE_readNCount_bmi2' argument 2 names different: declaration 'maxSymbolValuePtr' definition 'maxSVPtr'. mednafen/src/zstd/common/entropy_common.c:230:21: style:inconclusive: Function 'FSE_readNCount_bmi2' argument 4 names different: declaration 'rBuffer' definition 'headerBuffer'. [funcArgNamesDifferent] mednafen/src/zstd/common/fse.h:242:40: note: Function 'FSE_readNCount_bmi2' argument 4 names different: declaration 'rBuffer' definition 'headerBuffer'. mednafen/src/zstd/common/entropy_common.c:230:21: note: Function 'FSE_readNCount_bmi2' argument 4 names different: declaration 'rBuffer' definition 'headerBuffer'. mednafen/src/zstd/common/entropy_common.c:230:42: style:inconclusive: Function 'FSE_readNCount_bmi2' argument 5 names different: declaration 'rBuffSize' definition 'hbSize'. [funcArgNamesDifferent] mednafen/src/zstd/common/fse.h:242:56: note: Function 'FSE_readNCount_bmi2' argument 5 names different: declaration 'rBuffSize' definition 'hbSize'. mednafen/src/zstd/common/entropy_common.c:230:42: note: Function 'FSE_readNCount_bmi2' argument 5 names different: declaration 'rBuffSize' definition 'hbSize'. mednafen/src/zstd/common/entropy_common.c:242:45: style:inconclusive: Function 'FSE_readNCount' argument 2 names different: declaration 'maxSymbolValuePtr' definition 'maxSVPtr'. [funcArgNamesDifferent] mednafen/src/zstd/common/fse.h:234:38: note: Function 'FSE_readNCount' argument 2 names different: declaration 'maxSymbolValuePtr' definition 'maxSVPtr'. mednafen/src/zstd/common/entropy_common.c:242:45: note: Function 'FSE_readNCount' argument 2 names different: declaration 'maxSymbolValuePtr' definition 'maxSVPtr'. mednafen/src/zstd/common/entropy_common.c:243:21: style:inconclusive: Function 'FSE_readNCount' argument 4 names different: declaration 'rBuffer' definition 'headerBuffer'. [funcArgNamesDifferent] mednafen/src/zstd/common/fse.h:235:40: note: Function 'FSE_readNCount' argument 4 names different: declaration 'rBuffer' definition 'headerBuffer'. mednafen/src/zstd/common/entropy_common.c:243:21: note: Function 'FSE_readNCount' argument 4 names different: declaration 'rBuffer' definition 'headerBuffer'. mednafen/src/zstd/common/entropy_common.c:243:42: style:inconclusive: Function 'FSE_readNCount' argument 5 names different: declaration 'rBuffSize' definition 'hbSize'. [funcArgNamesDifferent] mednafen/src/zstd/common/fse.h:235:56: note: Function 'FSE_readNCount' argument 5 names different: declaration 'rBuffSize' definition 'hbSize'. mednafen/src/zstd/common/entropy_common.c:243:42: note: Function 'FSE_readNCount' argument 5 names different: declaration 'rBuffSize' definition 'hbSize'. mednafen/src/zstd/common/entropy_common.c:352:28: style:inconclusive: Function 'HUF_readStats_wksp' argument 8 names different: declaration 'workspace' definition 'workSpace'. [funcArgNamesDifferent] mednafen/src/zstd/common/huf.h:245:33: note: Function 'HUF_readStats_wksp' argument 8 names different: declaration 'workspace' definition 'workSpace'. mednafen/src/zstd/common/entropy_common.c:352:28: note: Function 'HUF_readStats_wksp' argument 8 names different: declaration 'workspace' definition 'workSpace'. mednafen/src/zstd/common/fse_decompress.c:254:64: style:inconclusive: Boolean expression 'BIT_reloadDStream(&bitD)==BIT_DStream_unfinished' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] mednafen/src/zstd/common/fse_decompress.c:294:53: style:inconclusive: Function 'FSE_decompress_usingDTable' argument 2 names different: declaration 'dstCapacity' definition 'originalSize'. [funcArgNamesDifferent] mednafen/src/zstd/common/fse.h:260:68: note: Function 'FSE_decompress_usingDTable' argument 2 names different: declaration 'dstCapacity' definition 'originalSize'. mednafen/src/zstd/common/fse_decompress.c:294:53: note: Function 'FSE_decompress_usingDTable' argument 2 names different: declaration 'dstCapacity' definition 'originalSize'. mednafen/src/zstd/common/xxhash.c:550:35: style:inconclusive: Boolean expression 'len>=16' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] mednafen/src/zstd/common/xxhash.c:663:32: warning: Either the condition 'input!=NULL' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] mednafen/src/zstd/common/xxhash.c:672:19: note: Assuming that condition 'input!=NULL' is not redundant mednafen/src/zstd/common/xxhash.c:662:19: note: p is assigned '(const uint8_t*)input' here. mednafen/src/zstd/common/xxhash.c:663:32: note: Null pointer addition mednafen/src/zstd/common/xxhash.c:268:61: style:inconclusive: Function 'XXH32_copyState' argument 1 names different: declaration 'dst_state' definition 'dstState'. [funcArgNamesDifferent] mednafen/src/zstd/common/xxhash.h:214:61: note: Function 'XXH32_copyState' argument 1 names different: declaration 'dst_state' definition 'dstState'. mednafen/src/zstd/common/xxhash.c:268:61: note: Function 'XXH32_copyState' argument 1 names different: declaration 'dst_state' definition 'dstState'. mednafen/src/zstd/common/xxhash.c:268:101: style:inconclusive: Function 'XXH32_copyState' argument 2 names different: declaration 'src_state' definition 'srcState'. [funcArgNamesDifferent] mednafen/src/zstd/common/xxhash.h:214:102: note: Function 'XXH32_copyState' argument 2 names different: declaration 'src_state' definition 'srcState'. mednafen/src/zstd/common/xxhash.c:268:101: note: Function 'XXH32_copyState' argument 2 names different: declaration 'src_state' definition 'srcState'. mednafen/src/zstd/common/xxhash.c:273:61: style:inconclusive: Function 'XXH64_copyState' argument 1 names different: declaration 'dst_state' definition 'dstState'. [funcArgNamesDifferent] mednafen/src/zstd/common/xxhash.h:215:61: note: Function 'XXH64_copyState' argument 1 names different: declaration 'dst_state' definition 'dstState'. mednafen/src/zstd/common/xxhash.c:273:61: note: Function 'XXH64_copyState' argument 1 names different: declaration 'dst_state' definition 'dstState'. mednafen/src/zstd/common/xxhash.c:273:101: style:inconclusive: Function 'XXH64_copyState' argument 2 names different: declaration 'src_state' definition 'srcState'. [funcArgNamesDifferent] mednafen/src/zstd/common/xxhash.h:215:102: note: Function 'XXH64_copyState' argument 2 names different: declaration 'src_state' definition 'srcState'. mednafen/src/zstd/common/xxhash.c:273:101: note: Function 'XXH64_copyState' argument 2 names different: declaration 'src_state' definition 'srcState'. mednafen/src/zstd/common/xxhash.c:348:62: style:inconclusive: Function 'XXH32' argument 2 names different: declaration 'length' definition 'len'. [funcArgNamesDifferent] mednafen/src/zstd/common/xxhash.h:143:62: note: Function 'XXH32' argument 2 names different: declaration 'length' definition 'len'. mednafen/src/zstd/common/xxhash.c:348:62: note: Function 'XXH32' argument 2 names different: declaration 'length' definition 'len'. mednafen/src/zstd/common/xxhash.c:460:68: style:inconclusive: Function 'XXH64' argument 2 names different: declaration 'length' definition 'len'. [funcArgNamesDifferent] mednafen/src/zstd/common/xxhash.h:144:62: note: Function 'XXH64' argument 2 names different: declaration 'length' definition 'len'. mednafen/src/zstd/common/xxhash.c:460:68: note: Function 'XXH64' argument 2 names different: declaration 'length' definition 'len'. mednafen/src/zstd/common/xxhash.c:598:59: style:inconclusive: Function 'XXH32_update' argument 1 names different: declaration 'statePtr' definition 'state_in'. [funcArgNamesDifferent] mednafen/src/zstd/common/xxhash.h:177:59: note: Function 'XXH32_update' argument 1 names different: declaration 'statePtr' definition 'state_in'. mednafen/src/zstd/common/xxhash.c:598:59: note: Function 'XXH32_update' argument 1 names different: declaration 'statePtr' definition 'state_in'. mednafen/src/zstd/common/xxhash.c:598:95: style:inconclusive: Function 'XXH32_update' argument 3 names different: declaration 'length' definition 'len'. [funcArgNamesDifferent] mednafen/src/zstd/common/xxhash.h:177:95: note: Function 'XXH32_update' argument 3 names different: declaration 'length' definition 'len'. mednafen/src/zstd/common/xxhash.c:598:95: note: Function 'XXH32_update' argument 3 names different: declaration 'length' definition 'len'. mednafen/src/zstd/common/xxhash.c:646:64: style:inconclusive: Function 'XXH32_digest' argument 1 names different: declaration 'statePtr' definition 'state_in'. [funcArgNamesDifferent] mednafen/src/zstd/common/xxhash.h:178:65: note: Function 'XXH32_digest' argument 1 names different: declaration 'statePtr' definition 'state_in'. mednafen/src/zstd/common/xxhash.c:646:64: note: Function 'XXH32_digest' argument 1 names different: declaration 'statePtr' definition 'state_in'. mednafen/src/zstd/common/xxhash.c:717:59: style:inconclusive: Function 'XXH64_update' argument 1 names different: declaration 'statePtr' definition 'state_in'. [funcArgNamesDifferent] mednafen/src/zstd/common/xxhash.h:181:59: note: Function 'XXH64_update' argument 1 names different: declaration 'statePtr' definition 'state_in'. mednafen/src/zstd/common/xxhash.c:717:59: note: Function 'XXH64_update' argument 1 names different: declaration 'statePtr' definition 'state_in'. mednafen/src/zstd/common/xxhash.c:717:95: style:inconclusive: Function 'XXH64_update' argument 3 names different: declaration 'length' definition 'len'. [funcArgNamesDifferent] mednafen/src/zstd/common/xxhash.h:181:95: note: Function 'XXH64_update' argument 3 names different: declaration 'length' definition 'len'. mednafen/src/zstd/common/xxhash.c:717:95: note: Function 'XXH64_update' argument 3 names different: declaration 'length' definition 'len'. mednafen/src/zstd/common/xxhash.c:781:70: style:inconclusive: Function 'XXH64_digest' argument 1 names different: declaration 'statePtr' definition 'state_in'. [funcArgNamesDifferent] mednafen/src/zstd/common/xxhash.h:182:65: note: Function 'XXH64_digest' argument 1 names different: declaration 'statePtr' definition 'state_in'. mednafen/src/zstd/common/xxhash.c:781:70: note: Function 'XXH64_digest' argument 1 names different: declaration 'statePtr' definition 'state_in'. mednafen/src/zstd/common/xxhash.c:564:79: style: Variable 'p32' is assigned a value that is never used. [unreadVariable] mednafen/src/zstd/common/zstd_common.c:45:41: style:inconclusive: Function 'ZSTD_getErrorCode' argument 1 names different: declaration 'functionResult' definition 'code'. [funcArgNamesDifferent] mednafen/src/zstd/zstd_errors.h:87:58: note: Function 'ZSTD_getErrorCode' argument 1 names different: declaration 'functionResult' definition 'code'. mednafen/src/zstd/common/zstd_common.c:45:41: note: Function 'ZSTD_getErrorCode' argument 1 names different: declaration 'functionResult' definition 'code'. mednafen/src/zstd/decompress/huf_decompress.c:307:67: style:inconclusive: Boolean expression 'BIT_reloadDStream(bitDPtr)==BIT_DStream_unfinished' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] mednafen/src/zstd/decompress/huf_decompress.c:316:71: style:inconclusive: Boolean expression 'BIT_reloadDStream(bitDPtr)==BIT_DStream_unfinished' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] mednafen/src/zstd/decompress/huf_decompress.c:397:29: style:inconclusive: Boolean expression 'op4 1', the comparison 'BIT_DStream_completed > 0' is always true. [redundantCondition] mednafen/src/zstd/decompress/zstd_decompress_block.c:823:9: style: Condition 'MEM_32bits()' is always false [knownConditionTrueFalse] mednafen/src/zstd/decompress/zstd_decompress_block.c:957:27: style: Condition 'MEM_32bits()' is always false [knownConditionTrueFalse] mednafen/src/zstd/decompress/zstd_decompress_block.c:965:31: style: Condition 'MEM_32bits()' is always false [knownConditionTrueFalse] mednafen/src/zstd/decompress/zstd_decompress_block.c:995:19: style: Condition 'MEM_32bits()' is always false [knownConditionTrueFalse] mednafen/src/zstd/decompress/zstd_decompress_block.c:997:19: style: Condition 'MEM_64bits()' is always true [knownConditionTrueFalse] mednafen/src/zstd/decompress/zstd_decompress_block.c:1006:19: style: Condition 'MEM_32bits()' is always false [knownConditionTrueFalse] mednafen/src/zstd/decompress/zstd_decompress_block.c:1028:27: style: Condition 'MEM_32bits()' is always false [knownConditionTrueFalse] mednafen/src/zstd/decompress/zstd_decompress_block.c:1033:27: style: Condition 'MEM_32bits()' is always false [knownConditionTrueFalse] mednafen/src/zstd/decompress/zstd_decompress_block.c:1505:44: style: Condition 'MEM_64bits()' is always true [knownConditionTrueFalse] mednafen/src/zstd/decompress/zstd_decompress_block.c:762:41: style: Parameter 'oend' can be declared as pointer to const [constParameter] mednafen/tests/apple2/bintodsk.cpp:27:3: error: Resource leak: ofp [resourceLeak] mednafen/tests/apple2/bintodsk.cpp:33:3: error: Resource leak: ifp [resourceLeak] mednafen/tests/apple2/bintodsk.cpp:42:3: error: Resource leak: ifp [resourceLeak] mednafen/tests/apple2/bintodsk.cpp:42:3: error: Resource leak: ofp [resourceLeak] mednafen/tests/apple2/bintodsk.cpp:48:3: error: Resource leak: ifp [resourceLeak] mednafen/tests/apple2/bintodsk.cpp:48:3: error: Resource leak: ofp [resourceLeak] mednafen/tests/apple2/gencrctab.cpp:7:11: style: The scope of the variable 'r' can be reduced. [variableScope] mednafen/tests/apple2/gencrctab.cpp:22:32: portability: Shifting signed 64-bit value by 63 bits is implementation-defined behaviour [shiftTooManyBitsSigned] mednafen/tests/apple2/gencrctab.cpp:7:13: style: Variable 'r' is assigned a value that is never used. [unreadVariable] mednafen/tests/pce/decimal/gen-results.cpp:17:8: style: Variable 'ftab' can be declared as const array [constVariable] mednafen/tests/pce/decimal/gen-results.cpp:68:8: style: Variable 'ftab' can be declared as const array [constVariable] diff: head mednafen/src/cdrom/CDAccess_Image.cpp:374:25: style: Variable 'e' can be declared as reference to const [constVariable] head mednafen/src/compress/ZIPReader.cpp:311:5: style: Variable 'umt' can be declared as const array [constVariable] head mednafen/src/desa68/desa68.c:532:14: style: Variable 'fn' can be declared as const array [constVariable] 2.8 mednafen/src/desa68/desa68.c:532:14: style: Variable 'fn' can be declared with const [constVariable] head mednafen/src/drivers/Joystick.cpp:644:15: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head mednafen/src/drivers/console.h:27:2: style: Class 'MDFNConsole' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] head mednafen/src/drivers/input.cpp:1507:15: style: Variable 'bic' can be declared as reference to const [constVariable] head mednafen/src/drivers/input.cpp:1509:16: style: Variable 'b' can be declared as reference to const [constVariable] head mednafen/src/drivers/input.cpp:2066:53: style:inconclusive: Boolean expression 'DTestButton(bic.BC,bypass_key_masking)' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] head mednafen/src/drivers/keyboard.cpp:185:87: style:inconclusive: Boolean expression 'TestSC(230,bypass_key_masking)' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] head mednafen/src/drivers/mouse.cpp:271:31: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head mednafen/src/drivers/mouse.cpp:281:31: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head mednafen/src/hw_cpu/m68k/m68k.h:34:2: style: Class 'M68K' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] head mednafen/src/hw_sound/sms_apu/Sms_Apu.cpp:240:13: style: Variable 'osc' can be declared as reference to const [constVariable] head mednafen/src/hw_sound/ym2413/emu2413.cpp:1138:17: style: Variable 'SL' can be declared as const array [constVariable] 2.8 mednafen/src/hw_sound/ym2413/emu2413.cpp:1138:17: style: Variable 'SL' can be declared with const [constVariable] head mednafen/src/hw_sound/ym2413/emu2413.cpp:342:17: style: Variable 'kltable' can be declared as const array [constVariable] 2.8 mednafen/src/hw_sound/ym2413/emu2413.cpp:342:17: style: Variable 'kltable' can be declared with const [constVariable] head mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:716:61: style: Parameter 'g' can be declared as reference to const [constParameter] head mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:716:61: style: Parameter 'g' can be declared as reference to const. However it seems that 'func' is a callback function, if 'g' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:832:26: note: You might need to cast the function pointer here mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:716:61: note: Parameter 'g' can be declared as reference to const head mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:716:61: style: Parameter 'g' can be declared as reference to const. However it seems that 'func' is a callback function, if 'g' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:833:26: note: You might need to cast the function pointer here mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:716:61: note: Parameter 'g' can be declared as reference to const head mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:716:61: style: Parameter 'g' can be declared as reference to const. However it seems that 'func' is a callback function, if 'g' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:834:26: note: You might need to cast the function pointer here mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:716:61: note: Parameter 'g' can be declared as reference to const head mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:716:61: style: Parameter 'g' can be declared as reference to const. However it seems that 'func' is a callback function, if 'g' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:835:26: note: You might need to cast the function pointer here mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:716:61: note: Parameter 'g' can be declared as reference to const head mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:716:61: style: Parameter 'g' can be declared as reference to const. However it seems that 'func' is a callback function, if 'g' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:836:26: note: You might need to cast the function pointer here mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:716:61: note: Parameter 'g' can be declared as reference to const head mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:716:61: style: Parameter 'g' can be declared as reference to const. However it seems that 'func' is a callback function, if 'g' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:837:26: note: You might need to cast the function pointer here mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:716:61: note: Parameter 'g' can be declared as reference to const 2.8 mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:716:61: style: Parameter 'g' can be declared with const [constParameter] 2.8 mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:716:61: style: Parameter 'g' can be declared with const. However it seems that 'func' is a callback function, if 'g' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:832:26: note: You might need to cast the function pointer here mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:716:61: note: Parameter 'g' can be declared with const 2.8 mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:716:61: style: Parameter 'g' can be declared with const. However it seems that 'func' is a callback function, if 'g' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:833:26: note: You might need to cast the function pointer here mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:716:61: note: Parameter 'g' can be declared with const 2.8 mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:716:61: style: Parameter 'g' can be declared with const. However it seems that 'func' is a callback function, if 'g' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:834:26: note: You might need to cast the function pointer here mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:716:61: note: Parameter 'g' can be declared with const 2.8 mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:716:61: style: Parameter 'g' can be declared with const. However it seems that 'func' is a callback function, if 'g' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:835:26: note: You might need to cast the function pointer here mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:716:61: note: Parameter 'g' can be declared with const 2.8 mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:716:61: style: Parameter 'g' can be declared with const. However it seems that 'func' is a callback function, if 'g' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:836:26: note: You might need to cast the function pointer here mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:716:61: note: Parameter 'g' can be declared with const 2.8 mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:716:61: style: Parameter 'g' can be declared with const. However it seems that 'func' is a callback function, if 'g' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:837:26: note: You might need to cast the function pointer here mednafen/src/hw_sound/ym2612/Ym2612_Emu.cpp:716:61: note: Parameter 'g' can be declared with const head mednafen/src/hw_video/huc6270/vdc.cpp:858:22: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head mednafen/src/lynx/c65c02.h:207:35: style: Parameter 'regs' can be declared as reference to const [constParameter] 2.8 mednafen/src/lynx/c65c02.h:207:35: style: Parameter 'regs' can be declared with const [constParameter] head mednafen/src/md/vdp.cpp:1287:33: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head mednafen/src/md/vdp.cpp:1540:29: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head mednafen/src/md/vdp.cpp:1580:37: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head mednafen/src/md/vdp.cpp:1613:33: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head mednafen/src/md/vdp.cpp:1673:26: style: Parameter 'srca' can be declared as pointer to const [constParameter] 2.8 mednafen/src/md/vdp.cpp:1673:26: style: Parameter 'srca' can be declared with const [constParameter] head mednafen/src/md/vdp.cpp:1673:39: style: Parameter 'srcb' can be declared as pointer to const [constParameter] 2.8 mednafen/src/md/vdp.cpp:1673:39: style: Parameter 'srcb' can be declared with const [constParameter] head mednafen/src/md/vdp.cpp:1673:64: style: Parameter 'table' can be declared as pointer to const [constParameter] 2.8 mednafen/src/md/vdp.cpp:1673:64: style: Parameter 'table' can be declared with const [constParameter] head mednafen/src/md/vdp.cpp:1693:23: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head mednafen/src/md/vdp.cpp:1700:23: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head mednafen/src/md/vdp.cpp:1775:53: style: Parameter 'table' can be declared as pointer to const [constParameter] 2.8 mednafen/src/md/vdp.cpp:1775:53: style: Parameter 'table' can be declared with const [constParameter] head mednafen/src/md/vdp.cpp:1780:11: style: Variable 'sizetab' can be declared as const array [constVariable] 2.8 mednafen/src/md/vdp.cpp:1780:11: style: Variable 'sizetab' can be declared with const [constVariable] head mednafen/src/md/vdp.cpp:1846:57: style: Parameter 'table' can be declared as pointer to const [constParameter] 2.8 mednafen/src/md/vdp.cpp:1846:57: style: Parameter 'table' can be declared with const [constParameter] head mednafen/src/md/vdp.cpp:1851:11: style: Variable 'sizetab' can be declared as const array [constVariable] 2.8 mednafen/src/md/vdp.cpp:1851:11: style: Variable 'sizetab' can be declared with const [constVariable] head mednafen/src/mpcdec/crc32.c:39:67: style: Parameter 'buf' can be declared as pointer to const [constParameter] 2.8 mednafen/src/mpcdec/crc32.c:39:67: style: Parameter 'buf' can be declared with const [constParameter] head mednafen/src/mpcdec/internal.h:91:51: style: Parameter 'key' can be declared as pointer to const [constParameter] 2.8 mednafen/src/mpcdec/internal.h:91:51: style: Parameter 'key' can be declared with const [constParameter] head mednafen/src/nes/boards/emu2413.cpp:217:12: style: Variable 'mltable' can be declared as const array [constVariable] 2.8 mednafen/src/nes/boards/emu2413.cpp:217:12: style: Variable 'mltable' can be declared with const [constVariable] head mednafen/src/nes/boards/ffe.cpp:119:20: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head mednafen/src/nes/cart.cpp:363:32: style: Parameter 'p' can be declared as pointer to const [constParameter] 2.8 mednafen/src/nes/cart.cpp:363:32: style: Parameter 'p' can be declared with const [constParameter] head mednafen/src/nes/cart.cpp:374:23: style: Parameter 'p' can be declared as pointer to const [constParameter] 2.8 mednafen/src/nes/cart.cpp:374:23: style: Parameter 'p' can be declared with const [constParameter] head mednafen/src/nes/cart.cpp:381:23: style: Parameter 'p' can be declared as pointer to const [constParameter] 2.8 mednafen/src/nes/cart.cpp:381:23: style: Parameter 'p' can be declared with const [constParameter] head mednafen/src/nes/cart.cpp:388:23: style: Parameter 'p' can be declared as pointer to const [constParameter] 2.8 mednafen/src/nes/cart.cpp:388:23: style: Parameter 'p' can be declared with const [constParameter] head mednafen/src/nes/cart.cpp:95:55: style: Parameter 'p' can be declared as pointer to const [constParameter] 2.8 mednafen/src/nes/cart.cpp:95:55: style: Parameter 'p' can be declared with const [constParameter] 2.8 mednafen/src/nes/nes.cpp:235:17: style: Variable 'LoadFunctions' can be declared with const [constVariable] head mednafen/src/nes/nes.cpp:538:14: style: Variable 'lets' can be declared as const array [constVariable] 2.8 mednafen/src/nes/nes.cpp:538:14: style: Variable 'lets' can be declared with const [constVariable] head mednafen/src/ngp/T6W28_Apu.cpp:282:15: style: Variable 'osc' can be declared as reference to const [constVariable] head mednafen/src/ngp/gfx_scanline_mono.cpp:24:45: style: Parameter 'palette_ptr' can be declared as pointer to const [constParameter] 2.8 mednafen/src/ngp/gfx_scanline_mono.cpp:24:45: style: Parameter 'palette_ptr' can be declared with const [constParameter] head mednafen/src/pce_fast/vdc.cpp:784:23: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head mednafen/src/pcfx/debug.cpp:713:21: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head mednafen/src/pcfx/debug.cpp:717:21: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head mednafen/src/pcfx/rainbow.cpp:723:70: style: Parameter 'palette_ptr' can be declared as pointer to const [constParameter] 2.8 mednafen/src/pcfx/rainbow.cpp:723:70: style: Parameter 'palette_ptr' can be declared with const [constParameter] head mednafen/src/psx/cdc.cpp:816:65: style: Parameter 'r' can be declared as pointer to const [constParameter] 2.8 mednafen/src/psx/cdc.cpp:816:65: style: Parameter 'r' can be declared with const [constParameter] head mednafen/src/psx/cpu.cpp:2292:46: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head mednafen/src/psx/cpu.cpp:2355:41: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head mednafen/src/psx/cpu.cpp:391:52: style: Parameter 'timestamp' can be declared as reference to const [constParameter] 2.8 mednafen/src/psx/cpu.cpp:391:52: style: Parameter 'timestamp' can be declared with const [constParameter] head mednafen/src/psx/cpu.cpp:493:42: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head mednafen/src/psx/debug.cpp:464:12: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head mednafen/src/psx/frontio.cpp:198:31: style: Parameter 'emulate_multitap' can be declared as const array [constParameter] 2.8 mednafen/src/psx/frontio.cpp:198:31: style: Parameter 'emulate_multitap' can be declared with const [constParameter] head mednafen/src/psx/frontio.cpp:211:38: style: Parameter 'emulate_multitap' can be declared as const array [constParameter] 2.8 mednafen/src/psx/frontio.cpp:211:38: style: Parameter 'emulate_multitap' can be declared with const [constParameter] head mednafen/src/psx/gte.cpp:1171:8: style: Variable 'IR_temp' can be declared as const array [constVariable] 2.8 mednafen/src/psx/gte.cpp:1171:8: style: Variable 'IR_temp' can be declared with const [constVariable] head mednafen/src/psx/input/dualshock.cpp:451:34: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head mednafen/src/psx/input/dualshock.cpp:511:34: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head mednafen/src/psx/mdec.cpp:330:41: style: Parameter 'in_coeff' can be declared as pointer to const [constParameter] 2.8 mednafen/src/psx/mdec.cpp:330:41: style: Parameter 'in_coeff' can be declared with const [constParameter] head mednafen/src/psx/notes/tristep.cpp:19:19: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] head mednafen/src/psx/psx.cpp:1280:24: style: Variable 'e' can be declared as reference to const [constVariable] head mednafen/src/psx/psx.cpp:1851:31: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head mednafen/src/psx/psx.cpp:1859:31: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head mednafen/src/psx/psx.cpp:1865:31: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head mednafen/src/psx/psx.cpp:1876:31: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head mednafen/src/psx/psx.cpp:1882:31: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head mednafen/src/psx/psx.cpp:1888:31: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head mednafen/src/psx/psx.cpp:1909:32: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head mednafen/src/psx/psx.cpp:1925:32: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head mednafen/src/psx/psx.cpp:1931:32: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head mednafen/src/psx/psx.cpp:1947:31: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head mednafen/src/psx/psx.cpp:532:30: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head mednafen/src/psx/spu.cpp:856:20: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head mednafen/src/qtrecord.cpp:413:21: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head mednafen/src/quicklz/quicklz.c:838:36: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head mednafen/src/sasplay/sasplay.cpp:161:50: style: Parameter 's' can be declared as pointer to const [constParameter] 2.8 mednafen/src/sasplay/sasplay.cpp:161:50: style: Parameter 's' can be declared with const [constParameter] head mednafen/src/sexyal/drivers/cmi8738.cpp:411:35: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head mednafen/src/sexyal/drivers/es1370.cpp:396:29: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head mednafen/src/sexyal/drivers/es1370.cpp:417:58: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head mednafen/src/sexyal/drivers/es1371.cpp:126:21: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head mednafen/src/sexyal/drivers/es1371.cpp:364:29: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head mednafen/src/sexyal/drivers/es1371.cpp:385:29: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head mednafen/src/sexyal/drivers/es1371.cpp:422:51: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head mednafen/src/sexyal/drivers/es1371.cpp:438:30: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head mednafen/src/sexyal/drivers/es1371.cpp:498:62: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head mednafen/src/sexyal/drivers/es1371.cpp:86:29: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head mednafen/src/sexyal/drivers/sb.cpp:1172:19: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head mednafen/src/sexyal/drivers/sb.cpp:171:55: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head mednafen/src/sms/render.cpp:281:56: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head mednafen/src/sms/render.cpp:302:49: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head mednafen/src/sms/render.cpp:485:65: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head mednafen/src/sms/render.cpp:492:33: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head mednafen/src/sms/render.cpp:512:49: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head mednafen/src/sms/vdp.cpp:350:52: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head mednafen/src/snes/interface.cpp:178:37: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head mednafen/src/snes/interface.cpp:74:60: style: Parameter 'CustomColorMap' can be declared as pointer to const [constParameter] 2.8 mednafen/src/snes/interface.cpp:74:60: style: Parameter 'CustomColorMap' can be declared with const [constParameter] head mednafen/src/snes/src/chip/spc7110/decomp.cpp:151:40: error: Array 'pixelorder[4]' accessed at index 4, which is out of bounds. [arrayIndexOutOfBounds] mednafen/src/snes/src/chip/spc7110/decomp.cpp:150:20: note: Assuming that condition 'm<4' is not redundant mednafen/src/snes/src/chip/spc7110/decomp.cpp:151:15: note: Assignment 'n=m', assigned value is 4 mednafen/src/snes/src/chip/spc7110/decomp.cpp:151:40: note: Array index out of bounds head mednafen/src/snes/src/chip/spc7110/decomp.cpp:159:39: error: Array 'realorder[4]' accessed at index 4, which is out of bounds. [arrayIndexOutOfBounds] mednafen/src/snes/src/chip/spc7110/decomp.cpp:158:20: note: Assuming that condition 'm<4' is not redundant mednafen/src/snes/src/chip/spc7110/decomp.cpp:159:15: note: Assignment 'n=m', assigned value is 4 mednafen/src/snes/src/chip/spc7110/decomp.cpp:159:39: note: Array index out of bounds head mednafen/src/snes/src/chip/spc7110/decomp.cpp:164:39: error: Array 'realorder[4]' accessed at index 4, which is out of bounds. [arrayIndexOutOfBounds] mednafen/src/snes/src/chip/spc7110/decomp.cpp:163:20: note: Assuming that condition 'm<4' is not redundant mednafen/src/snes/src/chip/spc7110/decomp.cpp:164:15: note: Assignment 'n=m', assigned value is 4 mednafen/src/snes/src/chip/spc7110/decomp.cpp:164:39: note: Array index out of bounds head mednafen/src/snes/src/chip/spc7110/decomp.cpp:169:39: error: Array 'realorder[4]' accessed at index 4, which is out of bounds. [arrayIndexOutOfBounds] mednafen/src/snes/src/chip/spc7110/decomp.cpp:168:20: note: Assuming that condition 'm<4' is not redundant mednafen/src/snes/src/chip/spc7110/decomp.cpp:169:15: note: Assignment 'n=m', assigned value is 4 mednafen/src/snes/src/chip/spc7110/decomp.cpp:169:39: note: Array index out of bounds head mednafen/src/snes/src/chip/spc7110/decomp.cpp:257:41: error: Array 'pixelorder[16]' accessed at index 16, which is out of bounds. [arrayIndexOutOfBounds] mednafen/src/snes/src/chip/spc7110/decomp.cpp:256:20: note: Assuming that condition 'm<16' is not redundant mednafen/src/snes/src/chip/spc7110/decomp.cpp:257:15: note: Assignment 'n=m', assigned value is 16 mednafen/src/snes/src/chip/spc7110/decomp.cpp:257:41: note: Array index out of bounds head mednafen/src/snes/src/chip/spc7110/decomp.cpp:265:40: error: Array 'realorder[16]' accessed at index 16, which is out of bounds. [arrayIndexOutOfBounds] mednafen/src/snes/src/chip/spc7110/decomp.cpp:264:20: note: Assuming that condition 'm<16' is not redundant mednafen/src/snes/src/chip/spc7110/decomp.cpp:265:15: note: Assignment 'n=m', assigned value is 16 mednafen/src/snes/src/chip/spc7110/decomp.cpp:265:40: note: Array index out of bounds head mednafen/src/snes/src/chip/spc7110/decomp.cpp:270:40: error: Array 'realorder[16]' accessed at index 16, which is out of bounds. [arrayIndexOutOfBounds] mednafen/src/snes/src/chip/spc7110/decomp.cpp:269:20: note: Assuming that condition 'm<16' is not redundant mednafen/src/snes/src/chip/spc7110/decomp.cpp:270:15: note: Assignment 'n=m', assigned value is 16 mednafen/src/snes/src/chip/spc7110/decomp.cpp:270:40: note: Array index out of bounds head mednafen/src/snes/src/chip/spc7110/decomp.cpp:275:40: error: Array 'realorder[16]' accessed at index 16, which is out of bounds. [arrayIndexOutOfBounds] mednafen/src/snes/src/chip/spc7110/decomp.cpp:274:20: note: Assuming that condition 'm<16' is not redundant mednafen/src/snes/src/chip/spc7110/decomp.cpp:275:15: note: Assignment 'n=m', assigned value is 16 mednafen/src/snes/src/chip/spc7110/decomp.cpp:275:40: note: Array index out of bounds head mednafen/src/snes/src/ppu/render/line.cpp:18:12: style: Variable 'p' can be declared as reference to const [constVariable] 2.8 mednafen/src/snes/src/ppu/render/line.cpp:18:12: style: Variable 'p' can be declared with const [constVariable] head mednafen/src/snes/src/ppu/render/line.cpp:53:12: style: Variable 'p' can be declared as reference to const [constVariable] 2.8 mednafen/src/snes/src/ppu/render/line.cpp:53:12: style: Variable 'p' can be declared with const [constVariable] head mednafen/src/snes/src/ppu/render/oam.cpp:204:12: style: Variable 'pri_tbl' can be declared as const array [constVariable] 2.8 mednafen/src/snes/src/ppu/render/oam.cpp:204:12: style: Variable 'pri_tbl' can be declared with const [constVariable] head mednafen/src/snes/src/sdsp/voice.cpp:18:29: style: Parameter 'v' can be declared as reference to const [constParameter] 2.8 mednafen/src/snes/src/sdsp/voice.cpp:18:29: style: Parameter 'v' can be declared with const [constParameter] head mednafen/src/snes/src/sdsp/voice.cpp:43:30: style: Parameter 'v' can be declared as reference to const [constParameter] 2.8 mednafen/src/snes/src/sdsp/voice.cpp:43:30: style: Parameter 'v' can be declared with const [constParameter] head mednafen/src/snes_faust/cart.cpp:453:35: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head mednafen/src/snes_faust/cart.cpp:455:35: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head mednafen/src/snes_faust/cart.cpp:480:35: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head mednafen/src/snes_faust/cart.cpp:482:35: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head mednafen/src/snes_faust/cart/dsp1.cpp:142:34: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head mednafen/src/snes_faust/cart/dsp1.cpp:147:34: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head mednafen/src/snes_faust/cart/sa1.cpp:1240:30: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head mednafen/src/snes_faust/cart/sa1.cpp:1248:33: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head mednafen/src/snes_faust/cart/sa1.cpp:1249:44: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head mednafen/src/snes_faust/cart/sa1.cpp:1319:32: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head mednafen/src/snes_faust/cart/sa1.cpp:1320:43: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head mednafen/src/snes_faust/cart/sa1.cpp:1327:43: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head mednafen/src/snes_faust/cart/sa1.cpp:1337:43: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head mednafen/src/snes_faust/cart/sdd1.cpp:618:32: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head mednafen/src/snes_faust/cart/superfx.cpp:2180:32: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head mednafen/src/snes_faust/cart/superfx.cpp:2188:32: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head mednafen/src/snes_faust/cart/superfx.cpp:2196:32: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head mednafen/src/snes_faust/snes.cpp:579:32: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head mednafen/src/snes_faust/snes.cpp:597:32: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head mednafen/src/sound/Blip_Buffer.h:251:2: style: Class 'blip_eq_t' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] head mednafen/src/sound/Blip_Buffer.h:488:50: style: Parameter 'blip_buf' can be declared as reference to const [constParameter] 2.8 mednafen/src/sound/Blip_Buffer.h:488:50: style: Parameter 'blip_buf' can be declared with const [constParameter] head mednafen/src/sound/OwlResampler.cpp:268:33: style: Parameter 'wave' can be declared as pointer to const [constParameter] 2.8 mednafen/src/sound/OwlResampler.cpp:268:33: style: Parameter 'wave' can be declared with const [constParameter] head mednafen/src/sound/OwlResampler.cpp:268:46: style: Parameter 'coeffs' can be declared as pointer to const [constParameter] 2.8 mednafen/src/sound/OwlResampler.cpp:268:46: style: Parameter 'coeffs' can be declared with const [constParameter] head mednafen/src/ss/cart.cpp:183:12: style: Variable 'm' can be declared as reference to const [constVariable] head mednafen/src/ss/cart.cpp:186:12: style: Variable 'm' can be declared as reference to const [constVariable] head mednafen/src/ss/cdb.cpp:3676:43: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head mednafen/src/ss/cdb.cpp:4480:10: style: Variable 'p' can be declared as reference to const [constVariable] head mednafen/src/ss/cdb.cpp:4491:10: style: Variable 'b' can be declared as reference to const [constVariable] head mednafen/src/ss/input/jpkeyboard.cpp:242:55: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head mednafen/src/ss/input/keyboard.cpp:257:55: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head mednafen/src/string/string.cpp:793:46: style:inconclusive: Boolean expression 'MDFN_isspace(new_c)' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] head mednafen/src/vb/input.cpp:110:38: style: Parameter 'timestamp' can be declared as reference to const [constParameter] 2.8 mednafen/src/vb/input.cpp:110:38: style: Parameter 'timestamp' can be declared with const [constParameter] head mednafen/src/vb/input.cpp:69:38: style: Parameter 'timestamp' can be declared as reference to const [constParameter] 2.8 mednafen/src/vb/input.cpp:69:38: style: Parameter 'timestamp' can be declared with const [constParameter] head mednafen/src/vb/vip.cpp:489:42: style: Parameter 'timestamp' can be declared as reference to const [constParameter] 2.8 mednafen/src/vb/vip.cpp:489:42: style: Parameter 'timestamp' can be declared with const [constParameter] head mednafen/src/wswan/main.cpp:295:12: style: Variable 'bl' can be declared as const array [constVariable] head mednafen/src/zstd/common/fse_decompress.c:254:64: style:inconclusive: Boolean expression 'BIT_reloadDStream(&bitD)==BIT_DStream_unfinished' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] head mednafen/src/zstd/decompress/huf_decompress.c:302:71: style: Parameter 'pEnd' can be declared as pointer to const [constParameter] 2.8 mednafen/src/zstd/decompress/huf_decompress.c:302:71: style: Parameter 'pEnd' can be declared with const [constParameter] head mednafen/src/zstd/decompress/huf_decompress.c:307:67: style:inconclusive: Boolean expression 'BIT_reloadDStream(bitDPtr)==BIT_DStream_unfinished' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] head mednafen/src/zstd/decompress/huf_decompress.c:316:71: style:inconclusive: Boolean expression 'BIT_reloadDStream(bitDPtr)==BIT_DStream_unfinished' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] head mednafen/src/zstd/decompress/huf_decompress.c:764:67: style:inconclusive: Boolean expression 'BIT_reloadDStream(bitDPtr)==BIT_DStream_unfinished' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] head mednafen/src/zstd/decompress/zstd_decompress.c:1839:49: style: Parameter 'oend' can be declared as pointer to const [constParameter] 2.8 mednafen/src/zstd/decompress/zstd_decompress.c:1839:49: style: Parameter 'oend' can be declared with const [constParameter] head mednafen/src/zstd/decompress/zstd_decompress_block.c:762:41: style: Parameter 'oend' can be declared as pointer to const [constParameter] 2.8 mednafen/src/zstd/decompress/zstd_decompress_block.c:762:41: style: Parameter 'oend' can be declared with const [constParameter] head mednafen/tests/pce/decimal/gen-results.cpp:17:8: style: Variable 'ftab' can be declared as const array [constVariable] 2.8 mednafen/tests/pce/decimal/gen-results.cpp:17:8: style: Variable 'ftab' can be declared with const [constVariable] head mednafen/tests/pce/decimal/gen-results.cpp:68:8: style: Variable 'ftab' can be declared as const array [constVariable] 2.8 mednafen/tests/pce/decimal/gen-results.cpp:68:8: style: Variable 'ftab' can be declared with const [constVariable] DONE