diff --git a/BizHawk.Client.Common/Global.cs b/BizHawk.Client.Common/Global.cs index 367feb4083..6f7d4e46fd 100644 --- a/BizHawk.Client.Common/Global.cs +++ b/BizHawk.Client.Common/Global.cs @@ -130,6 +130,8 @@ namespace BizHawk.Client.Common return SystemInfo.Coleco; case "GBA": return SystemInfo.GBA; + case "NDS": + return SystemInfo.NDS; case "N64": return SystemInfo.N64; case "SAT": diff --git a/BizHawk.Client.EmuHawk/DisplayManager/DisplayManager.cs b/BizHawk.Client.EmuHawk/DisplayManager/DisplayManager.cs index cf8783c48d..2a5d46c036 100644 --- a/BizHawk.Client.EmuHawk/DisplayManager/DisplayManager.cs +++ b/BizHawk.Client.EmuHawk/DisplayManager/DisplayManager.cs @@ -339,6 +339,8 @@ namespace BizHawk.Client.EmuHawk //otherwise, have the filter program untransform it Vector2 v = new Vector2(p.X, p.Y); v = CurrentFilterProgram.UntransformPoint("default",v); + if (Global.SystemInfo.System == ApiHawk.CoreSystem.NintendoDS) + v.Y = 2 * v.Y - (Global.Emulator as IVideoProvider).BufferHeight; return new Point((int)v.X, (int)v.Y); }