summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2019-03-06 16:51:03 +0100
committerGitHub <noreply@github.com>2019-03-06 16:51:03 +0100
commit10f08ab9ec3704c5c1fa5f9ea03d7570de06e9a5 (patch)
tree2d693ba8ec998ed645044c2e7fbc6ebc042d6b0b
parentMerge pull request #2185 from FearlessTobi/port-4630 (diff)
parentvideo_core/surface: Remove obsolete TODO in PixelFormatFromRenderTargetFormat() (diff)
downloadyuzu-10f08ab9ec3704c5c1fa5f9ea03d7570de06e9a5.tar
yuzu-10f08ab9ec3704c5c1fa5f9ea03d7570de06e9a5.tar.gz
yuzu-10f08ab9ec3704c5c1fa5f9ea03d7570de06e9a5.tar.bz2
yuzu-10f08ab9ec3704c5c1fa5f9ea03d7570de06e9a5.tar.lz
yuzu-10f08ab9ec3704c5c1fa5f9ea03d7570de06e9a5.tar.xz
yuzu-10f08ab9ec3704c5c1fa5f9ea03d7570de06e9a5.tar.zst
yuzu-10f08ab9ec3704c5c1fa5f9ea03d7570de06e9a5.zip
-rw-r--r--src/core/hle/kernel/thread.cpp2
-rw-r--r--src/video_core/surface.cpp2
2 files changed, 0 insertions, 4 deletions
diff --git a/src/core/hle/kernel/thread.cpp b/src/core/hle/kernel/thread.cpp
index 6661e2130..eb54d6651 100644
--- a/src/core/hle/kernel/thread.cpp
+++ b/src/core/hle/kernel/thread.cpp
@@ -184,8 +184,6 @@ ResultVal<SharedPtr<Thread>> Thread::Create(KernelCore& kernel, std::string name
return ERR_INVALID_PROCESSOR_ID;
}
- // TODO(yuriks): Other checks, returning 0xD9001BEA
-
if (!Memory::IsValidVirtualAddress(owner_process, entry_point)) {
LOG_ERROR(Kernel_SVC, "(name={}): invalid entry {:016X}", name, entry_point);
// TODO (bunnei): Find the correct error code to use here
diff --git a/src/video_core/surface.cpp b/src/video_core/surface.cpp
index 044ba116a..a7ac26d71 100644
--- a/src/video_core/surface.cpp
+++ b/src/video_core/surface.cpp
@@ -89,8 +89,6 @@ PixelFormat PixelFormatFromDepthFormat(Tegra::DepthFormat format) {
PixelFormat PixelFormatFromRenderTargetFormat(Tegra::RenderTargetFormat format) {
switch (format) {
- // TODO (Hexagon12): Converting SRGBA to RGBA is a hack and doesn't completely correct the
- // gamma.
case Tegra::RenderTargetFormat::RGBA8_SRGB:
return PixelFormat::RGBA8_SRGB;
case Tegra::RenderTargetFormat::RGBA8_UNORM: