mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-05 12:13:50 +01:00
Minor: Initialize a struct. Decrease logging in sceMt19937.
This commit is contained in:
1 parent
4de34de57f
commit
dd79d33f14
2 files changed
+2
-3
No files matched your search
@@ -28,7 +28,7 @@
|
||||
|
||||
static u32 sceMt19937Init(u32 mt19937Addr, u32 seed)
|
||||
{
|
||||
WARN_LOG(HLE, "sceMt19937Init(%08x, %08x)", mt19937Addr, seed);
|
||||
INFO_LOG(HLE, "sceMt19937Init(%08x, %08x)", mt19937Addr, seed);
|
||||
if (!Memory::IsValidAddress(mt19937Addr))
|
||||
return -1;
|
||||
void *ptr = Memory::GetPointer(mt19937Addr);
|
||||
@@ -40,7 +40,6 @@ static u32 sceMt19937Init(u32 mt19937Addr, u32 seed)
|
||||
|
||||
static u32 sceMt19937UInt(u32 mt19937Addr)
|
||||
{
|
||||
WARN_LOG(HLE, "sceMt19937UInt(%08x)", mt19937Addr);
|
||||
if (!Memory::IsValidAddress(mt19937Addr))
|
||||
return -1;
|
||||
MersenneTwister *mt = (MersenneTwister *)Memory::GetPointer(mt19937Addr);
|
||||
|
||||
@@ -1179,7 +1179,7 @@ void VulkanQueueRunner::PerformRenderPass(const VKRStep &step, VkCommandBuffer c
|
||||
rc.layerCount = 1;
|
||||
rc.rect.extent.width = (uint32_t)curWidth;
|
||||
rc.rect.extent.height = (uint32_t)curHeight;
|
||||
VkClearAttachment attachments[2];
|
||||
VkClearAttachment attachments[2]{};
|
||||
if (c.clear.clearMask & VK_IMAGE_ASPECT_COLOR_BIT) {
|
||||
VkClearAttachment &attachment = attachments[numAttachments++];
|
||||
attachment.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT;
|
||||
|
||||
Reference in new issue
Block a user