mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-22 22:33:43 -07:00
remove unused bitrate var
This commit is contained in:
parent
99a4e2ccfb
commit
37ef01e950
1 changed files with 0 additions and 6 deletions
|
@ -148,7 +148,6 @@ s32 osAiSetFrequency(u32 freq) {
|
||||||
// from libultra
|
// from libultra
|
||||||
// #define VI_NTSC_CLOCK 48681812 /* Hz = 48.681812 MHz */
|
// #define VI_NTSC_CLOCK 48681812 /* Hz = 48.681812 MHz */
|
||||||
// s32 osViClock = VI_NTSC_CLOCK;
|
// s32 osViClock = VI_NTSC_CLOCK;
|
||||||
u8 bitrate;
|
|
||||||
f32 dacRateF = ((f32)48681812 / freq) + 0.5f;
|
f32 dacRateF = ((f32)48681812 / freq) + 0.5f;
|
||||||
u32 dacRate = dacRateF;
|
u32 dacRate = dacRateF;
|
||||||
|
|
||||||
|
@ -156,11 +155,6 @@ s32 osAiSetFrequency(u32 freq) {
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
bitrate = (dacRate / 66);
|
|
||||||
if (bitrate > 16) {
|
|
||||||
bitrate = 16;
|
|
||||||
}
|
|
||||||
|
|
||||||
return 48681812 / (s32)dacRate;
|
return 48681812 / (s32)dacRate;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue