mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 05:19:56 +00:00
Buildfixes
This commit is contained in:
parent
5d64fc5ff1
commit
8db6599e77
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
@ -51,7 +51,7 @@ void LibretroHWRenderContext::ContextReset() {
|
||||
if (!draw_) {
|
||||
CreateDrawContext();
|
||||
bool success = draw_->CreatePresets();
|
||||
assert(success);
|
||||
_assert_(success);
|
||||
}
|
||||
|
||||
GotBackbuffer();
|
||||
|
Loading…
Reference in New Issue
Block a user