J :
* Change a printf for some architectures.
This commit is contained in:
@@ -187,10 +187,10 @@ void GameApp::Create()
|
|||||||
JSoundSystem::GetInstance()->SetMusicVolume(options[Options::MUSICVOLUME].number);
|
JSoundSystem::GetInstance()->SetMusicVolume(options[Options::MUSICVOLUME].number);
|
||||||
|
|
||||||
char buf[512];
|
char buf[512];
|
||||||
sprintf(buf, "size of MTGCard : %lu\n" , sizeof(MTGCard));
|
sprintf(buf, "size of MTGCard : %llu\n", (long long unsigned int)sizeof(MTGCard));
|
||||||
OutputDebugString(buf);
|
OutputDebugString(buf);
|
||||||
|
|
||||||
sprintf(buf, "size of CardPrimitive : %lu\n" , sizeof(CardPrimitive));
|
sprintf(buf, "size of CardPrimitive : %llu\n" , (long long unsigned int)sizeof(CardPrimitive));
|
||||||
OutputDebugString(buf);
|
OutputDebugString(buf);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -57,8 +57,8 @@ void WResourceManager::DebugRender(){
|
|||||||
if(textureWCache.totalSize > textureWCache.cacheSize)
|
if(textureWCache.totalSize > textureWCache.cacheSize)
|
||||||
man = textureWCache.totalSize - textureWCache.cacheSize;
|
man = textureWCache.totalSize - textureWCache.cacheSize;
|
||||||
|
|
||||||
sprintf(buf,"Textures %u+%lu (of %u) items (%u misses), Pixels: %lu (of %lu) + %lu",
|
sprintf(buf,"Textures %u+%llu (of %u) items (%u misses), Pixels: %lu (of %lu) + %lu",
|
||||||
textureWCache.cacheItems, textureWCache.managed.size(),textureWCache.maxCached,
|
textureWCache.cacheItems, (long long unsigned int)textureWCache.managed.size(),textureWCache.maxCached,
|
||||||
misses,textureWCache.cacheSize,textureWCache.maxCacheSize,man);
|
misses,textureWCache.cacheSize,textureWCache.maxCacheSize,man);
|
||||||
font->DrawString(buf, 10,5);
|
font->DrawString(buf, 10,5);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user