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
static bool RGBA8_To_RGB8_Different_Sizes(u32*, u32*) { | |
u32* input = (u32*)linearAlloc(0x200 * 0x190 * 4); | |
u32* output = (u32*)linearAlloc(0xF0 * 0x190 * 4); | |
SCOPE_EXIT({ | |
linearFree(input); | |
linearFree(output); | |
}); | |
memset(input, 0, 0x200 * 0x190 * 4); | |
memset(output, 0, 0xF0 * 0x190 * 4); | |
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/externals/nihstro b/externals/nihstro | |
--- a/externals/nihstro | |
+++ b/externals/nihstro | |
@@ -1 +1 @@ |
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/src/citra_qt/debugger/graphics_framebuffer.cpp b/src/citra_qt/debugger/graphics_framebuffer.cpp | |
index 1ba6002..a6ca2a1 100644 | |
--- a/src/citra_qt/debugger/graphics_framebuffer.cpp | |
+++ b/src/citra_qt/debugger/graphics_framebuffer.cpp | |
@@ -161,6 +161,19 @@ void GraphicsFramebufferWidget::OnFramebufferFormatChanged(int new_value) | |
} | |
} | |
+unsigned int SeparateBy1(unsigned int x) { | |
+ x &= 0x0000ffff; // x = ---- ---- ---- ---- fedc ba98 7654 3210 |
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/externals/nihstro b/externals/nihstro | |
--- a/externals/nihstro | |
+++ b/externals/nihstro | |
@@ -1 +1 @@ |
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/externals/nihstro b/externals/nihstro | |
--- a/externals/nihstro | |
+++ b/externals/nihstro | |
@@ -1 +1 @@ |
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/src/core/hw/gpu.cpp b/src/core/hw/gpu.cpp | |
index 643e4ff..b6d410f 100644 | |
--- a/src/core/hw/gpu.cpp | |
+++ b/src/core/hw/gpu.cpp | |
@@ -147,19 +147,19 @@ inline void Write(u32 addr, const T data) { | |
const unsigned int block_width = 8; | |
const unsigned int block_height = 8; | |
- const unsigned int coarse_x = x & ~7; | |
+ const unsigned int coarse_x = (config.scale_horizontally ? x * 2 : x) & ~7; |
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/src/core/hw/gpu.cpp b/src/core/hw/gpu.cpp | |
index 643e4ff..4966e61 100644 | |
--- a/src/core/hw/gpu.cpp | |
+++ b/src/core/hw/gpu.cpp | |
@@ -117,11 +117,11 @@ inline void Write(u32 addr, const T data) { | |
u8* source_pointer = Memory::GetPointer(Memory::PhysicalToVirtualAddress(config.GetPhysicalInputAddress())); | |
u8* dest_pointer = Memory::GetPointer(Memory::PhysicalToVirtualAddress(config.GetPhysicalOutputAddress())); | |
- // Cheap emulation of horizontal scaling: Just skip each second pixel of the | |
- // input framebuffer. We keep track of this in the pixel_skip variable. |
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/src/video_core/clipper.cpp b/src/video_core/clipper.cpp | |
index ba3876a..233e79e 100644 | |
--- a/src/video_core/clipper.cpp | |
+++ b/src/video_core/clipper.cpp | |
@@ -161,6 +161,7 @@ void ProcessTriangle(OutputVertex &v0, OutputVertex &v1, OutputVertex &v2) { | |
vtx2.screenpos.x.ToFloat32(), vtx2.screenpos.y.ToFloat32(), vtx2.screenpos.z.ToFloat32()); | |
Rasterizer::ProcessTriangle(vtx0, vtx1, vtx2); | |
+ Rasterizer::ProcessTriangle(vtx2, vtx1, vtx0); | |
} |
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/externals/nihstro b/externals/nihstro | |
--- a/externals/nihstro | |
+++ b/externals/nihstro | |
@@ -1 +1 @@ |
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 |