patch-src_nes_ines_cpp 395 B

123456789101112131415
  1. $OpenBSD: patch-src_nes_ines_cpp,v 1.1 2017/05/25 23:40:06 espie Exp $
  2. Index: src/nes/ines.cpp
  3. --- src/nes/ines.cpp.orig
  4. +++ src/nes/ines.cpp
  5. @@ -327,7 +327,7 @@ static void SetInput(void)
  6. };
  7. int x=0;
  8. - while(moo[x].input1 > 0 || moo[x].input2 > 0 || moo[x].inputfc > 0)
  9. + while(moo[x].input1 != 0 || moo[x].input2 != 0 || moo[x].inputfc != 0)
  10. {
  11. if(moo[x].crc32==iNESGameCRC32)
  12. {