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);
|
||||
|
||||
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);
|
||||
|
||||
sprintf(buf, "size of CardPrimitive : %lu\n" , sizeof(CardPrimitive));
|
||||
sprintf(buf, "size of CardPrimitive : %llu\n" , (long long unsigned int)sizeof(CardPrimitive));
|
||||
OutputDebugString(buf);
|
||||
}
|
||||
|
||||
|
||||
@@ -57,8 +57,8 @@ void WResourceManager::DebugRender(){
|
||||
if(textureWCache.totalSize > textureWCache.cacheSize)
|
||||
man = textureWCache.totalSize - textureWCache.cacheSize;
|
||||
|
||||
sprintf(buf,"Textures %u+%lu (of %u) items (%u misses), Pixels: %lu (of %lu) + %lu",
|
||||
textureWCache.cacheItems, textureWCache.managed.size(),textureWCache.maxCached,
|
||||
sprintf(buf,"Textures %u+%llu (of %u) items (%u misses), Pixels: %lu (of %lu) + %lu",
|
||||
textureWCache.cacheItems, (long long unsigned int)textureWCache.managed.size(),textureWCache.maxCached,
|
||||
misses,textureWCache.cacheSize,textureWCache.maxCacheSize,man);
|
||||
font->DrawString(buf, 10,5);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user