Created
March 8, 2015 16:07
-
-
Save Subv/c8d8c8f56a76179bab66 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/externals/boost b/externals/boost | |
--- a/externals/boost | |
+++ b/externals/boost | |
@@ -1 +1 @@ | |
-Subproject commit 728a4d7d1c8b28355544ae829df9c4b5f28373c5 | |
+Subproject commit 728a4d7d1c8b28355544ae829df9c4b5f28373c5-dirty | |
diff --git a/src/core/hle/service/gsp_gpu.cpp b/src/core/hle/service/gsp_gpu.cpp | |
index c23cfa3..e2ded46 100644 | |
--- a/src/core/hle/service/gsp_gpu.cpp | |
+++ b/src/core/hle/service/gsp_gpu.cpp | |
@@ -380,7 +380,7 @@ static void ExecuteCommand(const Command& command, u32 thread_id) { | |
WriteGPURegister(static_cast<u32>(GPU_REG_INDEX(memory_fill_config[1].address_end)), | |
Memory::VirtualToPhysicalAddress(params.end2) >> 3); | |
WriteGPURegister(static_cast<u32>(GPU_REG_INDEX(memory_fill_config[1].value_32bit)), params.value2); | |
- WriteGPURegister(static_cast<u32>(GPU_REG_INDEX(memory_fill_config[1].control)), params.control2); | |
+ WriteGPURegister(static_cast<u32>(GPU_REG_INDEX(memory_fill_config[1].control)), 2); | |
break; | |
} | |
diff --git a/src/core/hw/gpu.cpp b/src/core/hw/gpu.cpp | |
index 424ce2c..fffad66 100644 | |
--- a/src/core/hw/gpu.cpp | |
+++ b/src/core/hw/gpu.cpp | |
@@ -74,7 +74,7 @@ inline void Write(u32 addr, const T data) { | |
const bool is_second_filler = (index != GPU_REG_INDEX(memory_fill_config[0].trigger)); | |
auto& config = g_regs.memory_fill_config[is_second_filler]; | |
- if (config.address_start && config.trigger) { | |
+ if (config.address_start /*&& config.trigger*/) { | |
u8* start = Memory::GetPointer(Memory::PhysicalToVirtualAddress(config.GetStartAddress())); | |
u8* end = Memory::GetPointer(Memory::PhysicalToVirtualAddress(config.GetEndAddress())); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment