mirror of
https://github.com/libretro/ppsspp.git
synced 2025-02-06 09:06:55 +00:00
Some Android warning fixes
This commit is contained in:
parent
f225a64408
commit
351baa101c
@ -15,7 +15,9 @@
|
||||
// Official SVN repository and contact information can be found at
|
||||
// http://code.google.com/p/dolphin-emu/
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
#pragma warning(disable:4091) // workaround bug in VS2015 headers
|
||||
#endif
|
||||
|
||||
#include "FileUtil.h"
|
||||
#include "StringUtils.h"
|
||||
|
@ -423,7 +423,7 @@ int sceKernelSendMbx(SceUID id, u32 packetAddr)
|
||||
NativeMbxPacket p;
|
||||
for (int i = 0, n = m->nmb.numMessages; i < n; i++)
|
||||
{
|
||||
Memory::ReadStruct<NativeMbxPacket>(next, &p);
|
||||
Memory::ReadStructUnchecked<NativeMbxPacket>(next, &p);
|
||||
if (addPacket->priority < p.priority)
|
||||
{
|
||||
if (i == 0)
|
||||
|
@ -932,7 +932,7 @@ static bool decodePmpVideo(PSPPointer<SceMpegRingBuffer> ringbuffer, u32 pmpctxA
|
||||
// joint all blocks into H264Frames
|
||||
SceMpegLLI lli;
|
||||
for (int i = 0; i < pmp_nBlocks; i++){
|
||||
Memory::ReadStruct(pmp_videoSource, &lli);
|
||||
Memory::ReadStructUnchecked(pmp_videoSource, &lli);
|
||||
// add source block into pmpframes
|
||||
pmpframes->add(Memory::GetPointer(lli.pSrc), lli.iSize);
|
||||
// get next block
|
||||
|
Loading…
x
Reference in New Issue
Block a user