More warning and compile fixes.
This commit is contained in:
@@ -91,6 +91,7 @@ static int host_cpu_features_by_cpuid(void)
|
||||
return features;
|
||||
}
|
||||
|
||||
#if (RESID_USE_SSE==1)
|
||||
static int host_cpu_features(void)
|
||||
{
|
||||
static int features = 0;
|
||||
@@ -152,6 +153,7 @@ static int host_cpu_features(void)
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
float SIDFP::kinked_dac(const int x, const float nonlinearity, const int max)
|
||||
{
|
||||
|
||||
@@ -587,7 +587,7 @@ ac97_codec_init(const device_t *info)
|
||||
break;
|
||||
}
|
||||
if (dev->model >= (sizeof(ac97_codecs) / sizeof(ac97_codecs[0]))) {
|
||||
fatal("AC97 Codec %d: Unknown ID %c%c%c%02X\n", ac97_codec_id, (info->local >> 24) & 0xff, (info->local >> 16) & 0xff, (info->local >> 8) & 0xff, info->local & 0xff);
|
||||
fatal("AC97 Codec %d: Unknown ID %c%c%c%02X\n", ac97_codec_id, (uint32_t) ((info->local >> 24) & 0xff), (uint32_t) ((info->local >> 16) & 0xff), (uint32_t) ((info->local >> 8) & 0xff), (uint32_t) (info->local & 0xff));
|
||||
free(dev);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user