add ROM #3159 to romlist.bin

This commit is contained in:
StapleButter 2018-12-12 17:23:54 +01:00
parent 758bed93bc
commit 2c8f674318
2 changed files with 1 additions and 0 deletions

Binary file not shown.

View File

@ -542,6 +542,7 @@ void Write(u8 val, u32 hold)
// 560190 cycles per frame
u32 cyclepos = (u32)NDS::GetSysClockCycles(2);
u32 samplepos = (cyclepos * MicBufferLen) / 560190;
if (samplepos >= MicBufferLen) samplepos = MicBufferLen-1;
s16 sample = MicBuffer[samplepos];
// make it louder