Fix log message.

This commit is contained in:
Themaister 2011-01-29 23:23:54 +01:00
parent e0403e4dae
commit 8ba639c7d5

View File

@ -92,7 +92,7 @@ static void* __xa_init(const char* device, int rate, int latency)
size_t bufsize = latency * rate / 1000;
bufsize = next_pow2(bufsize);
SSNES_LOG("XAudio2: Requesting %d ms latency, using %d ms latency.\n", latency, (int)bufsize * rate / 1000);
SSNES_LOG("XAudio2: Requesting %d ms latency, using %d ms latency.\n", latency, (int)bufsize * 1000 / rate);
xa->xa = pxanew(rate, 2, 16, bufsize << 2);
if (!xa->xa)