early-access version 1510

This commit is contained in:
pineappleEA 2021-03-08 23:44:19 +01:00
parent c3f9e4a27b
commit f09ef16224
2 changed files with 5 additions and 7 deletions

View file

@ -1,7 +1,7 @@
yuzu emulator early access yuzu emulator early access
============= =============
This is the source code for early-access 1509. This is the source code for early-access 1510.
## Legal Notice ## Legal Notice

View file

@ -1136,10 +1136,8 @@ void FillError(ivec3 coord) {
} }
} }
void FillVoidExtentLDR(ivec3 coord, uint block_index) { void FillVoidExtentLDR(ivec3 coord) {
for (int i = 0; i < 4; i++) { StreamBits(52);
StreamBits(13);
}
uint r_u = StreamBits(16); uint r_u = StreamBits(16);
uint g_u = StreamBits(16); uint g_u = StreamBits(16);
uint b_u = StreamBits(16); uint b_u = StreamBits(16);
@ -1166,10 +1164,10 @@ void DecompressBlock(ivec3 coord, uint block_index) {
return; return;
} }
if (params.void_extent_ldr) { if (params.void_extent_ldr) {
FillVoidExtentLDR(coord, block_index); FillVoidExtentLDR(coord);
return; return;
} }
if (params.size.x > block_dims.x || params.size.y > block_dims.y) { if ((params.size.x > block_dims.x) || (params.size.y > block_dims.y)) {
FillError(coord); FillError(coord);
return; return;
} }