mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -04:00
audio: added SSG-EG to YM2612, plus some timing changes for SN76496+YM2612
This commit is contained in:
parent
2a942f0d41
commit
8ac9ab7fcb
13 changed files with 571 additions and 455 deletions
|
@ -1393,7 +1393,7 @@ static void emith_sync_t(int sr)
|
|||
else if (tcond >= 0) {
|
||||
int tmp = rcache_get_tmp();
|
||||
EMIT(A64_CSET(tcond, tmp));
|
||||
EMIT(A64_BFI_IMM(sr, tmp, 0, 1)); // assumes SR.T = bit 0
|
||||
EMIT(A64_BFI_IMM(sr, tmp, __builtin_ffs(T)-1, 1));
|
||||
rcache_free_tmp(tmp);
|
||||
}
|
||||
tcond = -1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue