Buildfixes

This commit is contained in:
Henrik Rydgård 2020-08-16 12:48:09 +02:00
parent 5d64fc5ff1
commit 8db6599e77
4 changed files with 7 additions and 3 deletions

View File

@ -28,6 +28,10 @@
#include "Common/FileUtil.h"
#include "Common/StringUtils.h"
#if PPSSPP_PLATFORM(ANDROID)
#include <android/log.h>
#endif
// Don't need to savestate this.
const char *hleCurrentThreadName = nullptr;

View File

@ -729,7 +729,7 @@ void TextureCacheD3D11::LoadTextureLevel(TexCacheEntry &entry, ReplacedTexture &
pixelData = (u32 *)mapData;
// We always end up at 8888. Other parts assume this.
assert(scaleFmt == DXGI_FORMAT_B8G8R8A8_UNORM);
_assert_(scaleFmt == DXGI_FORMAT_B8G8R8A8_UNORM);
bpp = sizeof(u32);
decPitch = w * bpp;

View File

@ -738,7 +738,7 @@ void TextureCacheDX9::LoadTextureLevel(TexCacheEntry &entry, ReplacedTexture &re
pixelData = (u32 *)rect.pBits;
// We always end up at 8888. Other parts assume this.
assert(dstFmt == D3DFMT_A8R8G8B8);
_assert_(dstFmt == D3DFMT_A8R8G8B8);
bpp = sizeof(u32);
decPitch = w * bpp;

View File

@ -51,7 +51,7 @@ void LibretroHWRenderContext::ContextReset() {
if (!draw_) {
CreateDrawContext();
bool success = draw_->CreatePresets();
assert(success);
_assert_(success);
}
GotBackbuffer();