diff options
author | bunnei <bunneidev@gmail.com> | 2018-07-25 04:31:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-25 04:31:09 +0200 |
commit | e0106a7d6881e3f1160a7fc70c8d2396971cf5c1 (patch) | |
tree | 511287a101e17f966850ebd5383818571eb3c0c1 | |
parent | Merge pull request #806 from lioncash/friend (diff) | |
parent | GPU: Remove the assert that required the CODE_ADDRESS to be 0. (diff) | |
download | yuzu-e0106a7d6881e3f1160a7fc70c8d2396971cf5c1.tar yuzu-e0106a7d6881e3f1160a7fc70c8d2396971cf5c1.tar.gz yuzu-e0106a7d6881e3f1160a7fc70c8d2396971cf5c1.tar.bz2 yuzu-e0106a7d6881e3f1160a7fc70c8d2396971cf5c1.tar.lz yuzu-e0106a7d6881e3f1160a7fc70c8d2396971cf5c1.tar.xz yuzu-e0106a7d6881e3f1160a7fc70c8d2396971cf5c1.tar.zst yuzu-e0106a7d6881e3f1160a7fc70c8d2396971cf5c1.zip |
-rw-r--r-- | src/video_core/engines/maxwell_3d.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/video_core/engines/maxwell_3d.cpp b/src/video_core/engines/maxwell_3d.cpp index d7328ff39..0e205ed72 100644 --- a/src/video_core/engines/maxwell_3d.cpp +++ b/src/video_core/engines/maxwell_3d.cpp @@ -75,14 +75,6 @@ void Maxwell3D::WriteReg(u32 method, u32 value, u32 remaining_params) { ProcessMacroUpload(value); break; } - case MAXWELL3D_REG_INDEX(code_address.code_address_high): - case MAXWELL3D_REG_INDEX(code_address.code_address_low): { - // Note: For some reason games (like Puyo Puyo Tetris) seem to write 0 to the CODE_ADDRESS - // register, we do not currently know if that's intended or a bug, so we assert it lest - // stuff breaks in other places (like the shader address calculation). - ASSERT_MSG(regs.code_address.CodeAddress() == 0, "Unexpected CODE_ADDRESS register value."); - break; - } case MAXWELL3D_REG_INDEX(const_buffer.cb_data[0]): case MAXWELL3D_REG_INDEX(const_buffer.cb_data[1]): case MAXWELL3D_REG_INDEX(const_buffer.cb_data[2]): |