mirror of
https://github.com/siemens-mobile-hacks/dc166-patch.git
synced 2026-11-25 19:37:24 +00:00
9 lines
230 B
C
9 lines
230 B
C
float select_f32(float value, unsigned int select_value)
|
|
{
|
|
return select_value == 0x5a5aU ? value : 12345.0f;
|
|
}
|
|
|
|
double select_f64(double value, unsigned int select_value)
|
|
{
|
|
return select_value == 0x5a5aU ? value : 12345.0;
|
|
}
|