Commit graph

16 commits

Author SHA1 Message Date
Cameron Cawley
1d5f475c30 3DS: Rename the _3DS namespace 2021-02-15 02:58:15 +02:00
Bastien Bouclet
0a567b6058 3DS: Implement OSystem::kFeatureFilteringMode 2020-07-19 17:41:05 +02:00
Michael Ball
b08ab0e130 3DS: Implement dynamic graphics modes to improve performance
When launching a game, switch the graphics mode if necessary
(and by extension the pixel formats used for Graphics::Surfaces
and Sprites) to the one that most closely matches the pixel format
used in-game.

Additional Fixes:
- Fix to prevent cursor position from changing when exiting a menu.
- Fix to prevent updating of Magnification viewport position when
virtual keyboard is open.
- Cosmetic code fixes for improper whitespace and missing curly brackets.
- Remove RGB8 as a mode option because:
  1) It was already commented out in the master 3DS backend.
  2) There are currently no games that explicitly require it.

Notes:
- As these graphics modes are automatically implemented on a per-game basis, they
are meant for backend use only and are purposefully not accessible through the
Options menu.
- RGBA8 (aka RGBA8888) remains the default pixel format, being used for the launcher
menu, CLUT8, and for games which do not specify a particular format.
2020-02-07 18:33:56 +01:00
Cameron Cawley
0edf2da7ba
3DS: Fix compilation 2019-12-14 18:42:37 +00:00
Cameron Cawley
c3c3137ab3 BACKENDS: Move nextHigher2() into common/algorithm.h 2019-12-14 17:09:18 +02:00
Michael Ball
78de572404 3DS: Implement magnify mode toggle on L and move keyboard to Y/DRIGHT 2019-11-05 05:51:45 +01:00
Bastien Bouclet
036d61cbd6 3DS: Implement cloud sync support 2019-11-03 19:14:15 +01:00
Bastien Bouclet
e9b1df95ff 3DS: Upload the textures to VRAM in a separate frame
So rendering waits for the textures to finish uploading before using
them. Fixes glitchy mouse pointer in Riven.
2019-10-25 19:13:40 +02:00
Nitrus
a4f85955fe 3DS: Don't wait after SyncDisplayTransfer 2018-11-21 07:54:49 +00:00
Nitrus
4d84105237 3DS: Fix deprecated C3D methods 2018-11-21 07:54:49 +00:00
Nitrus
2122c07d5f 3DS: Update header inclusions and forbidden symbols 2018-11-21 07:54:49 +00:00
Eugene Sandulenko
355c4fa646 JANITORIAL: Remove more trailing spaces 2016-10-09 15:02:02 +02:00
Torbjörn Andersson
85e55d0c6e JANITORIAL: Remove unnecessary semicolons 2016-05-25 05:37:07 +02:00
Thomas Edvalson
e8dcfc3a4e 3DS: Fix code styling, add license header, remove unused portdefs.h 2016-04-19 03:22:32 -04:00
Thomas Edvalson
a0cc562f1f 3DS: Use linear GPU texture downscaling for better legibility in hi-res games 2016-04-11 15:21:58 -04:00
Thomas Edvalson
e2b9572a83 3DS: Initial commit 2016-04-06 02:12:02 -04:00