Blame gcc-enablement.patch
|
|
8529cf |
diff --git a/include/nihstro/shader_bytecode.h b/include/nihstro/shader_bytecode.h
|
|
|
8529cf |
index 68527cb..55134ea 100644
|
|
|
8529cf |
--- a/externals/nihstro/include/nihstro/shader_bytecode.h
|
|
|
8529cf |
+++ b/externals/nisthro/include/nihstro/shader_bytecode.h
|
|
|
8529cf |
@@ -86,6 +86,7 @@ struct SourceRegister {
|
|
|
8529cf |
return value - 0x10;
|
|
|
8529cf |
else if (GetRegisterType() == RegisterType::FloatUniform)
|
|
|
8529cf |
return value - 0x20;
|
|
|
8529cf |
+ return value;
|
|
|
8529cf |
}
|
|
|
8529cf |
|
|
|
8529cf |
static const SourceRegister FromTypeAndIndex(RegisterType type, int index) {
|