Blargg's video game music emulation library, which allows audio applications to easily add playback support for the music of many classic video game consoles.
I get the following warning from gcc: (curious that it doesn't show up in CI logs?)
/tmp/game-music-emu/gme/Ym2612_Nuked.cpp: In member function ‘void Ym2612_Nuked_Emu::reset()’:
/tmp/game-music-emu/gme/Ym2612_Nuked.cpp:1413:11: warning: argument 1 null where non-null expected [-Wnonnull]
memset(chip, 0, sizeof(ym3438_t));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/game-music-emu/gme/Ym2612_Nuked.cpp:37:0:
/usr/include/string.h:60:14: note: in a call to function ‘void* memset(void*, int, size_t)’ declared here
extern void *memset (void *__s, int __c, size_t __n) __THROW __nonnull ((1));
^~~~~~
I think the condition here is a typo: Is the following patch correct? If it is, I can send a PR.
I get the following warning from gcc: (curious that it doesn't show up in CI logs?)
I think the condition here is a typo: Is the following patch correct? If it is, I can send a PR.