Wrap asm statements in NONMATCHING
This commit is contained in:
@@ -904,7 +904,9 @@ void CgbModVol(struct CgbChannel *chan)
|
||||
// Force chan->rightVolume and chan->leftVolume to be read from memory again,
|
||||
// even though there is no reason to do so.
|
||||
// The command line option "-fno-gcse" achieves the same result as this.
|
||||
asm("" : : : "memory");
|
||||
#ifndef NONMATCHING
|
||||
asm("" : : : "memory");
|
||||
#endif
|
||||
|
||||
chan->eg = (u32)(chan->rightVolume + chan->leftVolume) >> 4;
|
||||
if (chan->eg > 15)
|
||||
|
||||
Reference in New Issue
Block a user