mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-06 15:48:05 -04:00
minor fixes from old tree
This commit is contained in:
parent
30f0fdd422
commit
1889fe877c
2 changed files with 23 additions and 8 deletions
|
@ -283,9 +283,9 @@ int pollux_get_real_snd_rate(int req_rate)
|
|||
rate = decode_pll(clk0_src ? memregl[0xf008>>2] : memregl[0xf004>>2]);
|
||||
|
||||
// apply divisors
|
||||
div = ((memregl[0xdbc4>>2] >> 4) & 0x1f) + 1;
|
||||
div = ((memregl[0xdbc4>>2] >> 4) & 0x3f) + 1;
|
||||
rate /= div;
|
||||
div = ((memregl[0xdbc8>>2] >> 4) & 0x1f) + 1;
|
||||
div = ((memregl[0xdbc8>>2] >> 4) & 0x3f) + 1;
|
||||
rate /= div;
|
||||
rate /= 64;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue