diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2023-08-27 02:00:48 +0200 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2023-08-27 03:47:04 +0200 |
commit | 710ca3ca494e1af4ce5481f650e67c75c235be83 (patch) | |
tree | 3c4d0db9c68e59e2b1e20a802226d056a3c49a7f /src/shader_recompiler/frontend/maxwell/translate/impl/move_special_register.cpp | |
parent | DMA Pusher: Fix regression caused by guest memory optimizations (diff) | |
download | yuzu-710ca3ca494e1af4ce5481f650e67c75c235be83.tar yuzu-710ca3ca494e1af4ce5481f650e67c75c235be83.tar.gz yuzu-710ca3ca494e1af4ce5481f650e67c75c235be83.tar.bz2 yuzu-710ca3ca494e1af4ce5481f650e67c75c235be83.tar.lz yuzu-710ca3ca494e1af4ce5481f650e67c75c235be83.tar.xz yuzu-710ca3ca494e1af4ce5481f650e67c75c235be83.tar.zst yuzu-710ca3ca494e1af4ce5481f650e67c75c235be83.zip |
Diffstat (limited to '')
-rw-r--r-- | src/shader_recompiler/frontend/maxwell/translate/impl/move_special_register.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/move_special_register.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/move_special_register.cpp index 753c62098..e593132e6 100644 --- a/src/shader_recompiler/frontend/maxwell/translate/impl/move_special_register.cpp +++ b/src/shader_recompiler/frontend/maxwell/translate/impl/move_special_register.cpp @@ -161,7 +161,8 @@ enum class SpecialRegister : u64 { LOG_WARNING(Shader, "(STUBBED) SR_AFFINITY"); return ir.Imm32(0); // This is the default value hardware returns. default: - throw NotImplementedException("S2R special register {}", special_register); + LOG_CRITICAL(Shader, "(STUBBED) Special register {}", special_register); + return ir.Imm32(0); // This is the default value hardware returns. } } } // Anonymous namespace |