Open ghost opened 6 years ago
It appears to be confused about variables:
https://github.com/libretro/desmume/blob/master/desmume/src/emufile.h#L306
It's acting like this->mode
and mode
are pointing to the same thing, except somehow they're actually 4 bytes apart. Simply renaming the mode
function parameter seems to make it go away though.
So this is a false positive?
Is it really? That mode comes from emufile.cpp but isn't declared there. Isn't it just taking emufile.h 'protected' declaration and copied it into itself?
I've never touched C++ in my life more than compiling some projects mind you.
Not sure it matters because it's just closing the file and re-opening because of truncation (for some reason) so it wants to end up with the same mode.
Using latest HEAD, I get this crash on startup when loading a ROM:
Using latest RA on Linux x64.