-
Notifications
You must be signed in to change notification settings - Fork 471
Offer a co-ordinate normalisation function (invariant to core's display settings) #3772
Copy link
Copy link
Open
Open
Copy link
Labels
Core: EncoreNintendo 3DS core (fork of Citra)Nintendo 3DS core (fork of Citra)Core: melonDSNintendo DS coreNintendo DS coreRequest: Feature/EnhancementFor feature requests or possible improvementsFor feature requests or possible improvementsre: APIHawkRelating to EmuHawk's public .NET API or to the creation of external toolsRelating to EmuHawk's public .NET API or to the creation of external toolsre: Lua API/scriptingRelating to EmuHawk's Lua API (not the Lua Console)Relating to EmuHawk's Lua API (not the Lua Console)
Milestone
Description
Activity
Metadata
Metadata
Assignees
Labels
Core: EncoreNintendo 3DS core (fork of Citra)Nintendo 3DS core (fork of Citra)Core: melonDSNintendo DS coreNintendo DS coreRequest: Feature/EnhancementFor feature requests or possible improvementsFor feature requests or possible improvementsre: APIHawkRelating to EmuHawk's public .NET API or to the creation of external toolsRelating to EmuHawk's public .NET API or to the creation of external toolsre: Lua API/scriptingRelating to EmuHawk's Lua API (not the Lua Console)Relating to EmuHawk's Lua API (not the Lua Console)
client.bufferheight()is a constant384regardless of screen gap, yet trying to draw on the bottom screen (EmuCoresurface) withyvalues in192..<384draws that distance below the origin, not taking the screen gap into account.If you were wondering why the bundled Lua script draws on the
Clientsurface, this is why. If you were wondering why it reads the current rotation/gap settings only to force a preset I have no idea.I bet this affects Citra too. If only we'd thought to write a robust multi-screen API (parent issue) instead of hacking stuff into the existing one. (This is where I'd say "I told you so," if I could find a link to that.)