bunnei
dfc3eed0cb
maxwell_to_gl: Implement VertexAttribute::Size::Size_16_16_16_16.
- Used by Super Mario Odyssey (in game).
7 years ago
bunnei
06d0b96ca9
maxwell_to_gl: Implement PrimitiveTopology::Points.
- Used by Super Mario Odyssey (in game).
7 years ago
mailwl
c0d44d3b2a
Service/Account: stub LoadImage function
7 years ago
bunnei
7bf422d58c
gpu: Add R11G11B10_FLOAT to RenderTargetBytesPerPixel.
- Used by Super Mario Odyssey.
7 years ago
mailwl
3c498189b6
hid: fix IsSixAxisSensorAtRest() response
7 years ago
bunnei
7f0d0a93f7
gl_shader_decompiler: Stub input attribute Unknown_63.
7 years ago
bunnei
57982df105
maxwell_3d: Use correct const buffer size and check bounds.
- Fixes mem corruption with Super Mario Odyssey and Pokkén Tournament DX.
7 years ago
bunnei
8c6338b6f9
renderer_opengl: Use trace log in a few places.
7 years ago
bunnei
c120ed7d18
maxwell_to_gl: Implement VertexAttribute::Size::Size_8_8.
7 years ago
bunnei
0f834e2284
nvhost_gpu: Don't over copy IoctlSubmitGpfifo.
7 years ago
bunnei
e542356d0c
gl_shader_decompiler: Let OpenGL interpret floats.
- Accuracy is lost in translation to string, e.g. with NaN.
- Needed for Super Mario Odyssey.
7 years ago
bunnei
b7fb9f2071
am: Stub SetScreenShotImageOrientation.
- Used by Super Mario Odyssey.
7 years ago
Lioncash
934a2b9604
acc: Add missing function table entries for GetUserCount
Given this is stubbed within the common module in
5ac7b84, it should be added to the other relevant tables as well.
7 years ago
bunnei
2bc296801a
acc: Stub GetUserCount. ( #973 )
- Used by Pokken Tournament DX.
7 years ago
Lioncash
d378d98e26
nvdrv: Get rid of global std::weak_ptr
Rather than use global state, we can simply pass the instance into the
NVFlinger instance directly.
7 years ago
Lioncash
766c1a2d50
vector_math: Remove unimplemented function prototypes
7 years ago
Lioncash
5c323d96e0
vector_math: Make functions constexpr where applicable
7 years ago
Lioncash
4e3bc37791
vector_math: Convert typedefs to type aliases
7 years ago
Lioncash
a7d6efc520
common: Convert type traits templates over to variable template versions where applicable
Uses the C++17 inline variable variants
7 years ago
Lioncash
cd1a96f389
hle: Remove unused romfs.cpp/.h
These files are no longer used, so we can get rid of them.
7 years ago
Lioncash
62b0b83fd8
externals: Update catch to 2.3.0
Updates the library from 2.2.3 to 2.3.0
7 years ago
Hexagon12
7139f05fc5
Fixed the sRGB pixel format ( #963 )
* Changed the sRGB pixel format return
* Add a message about SRGBA -> RGBA conversion
7 years ago
Zach Hilman
1abfd4166e
configure_gamelist: Use explicit QVariant constructor
7 years ago
Lioncash
0735a0c8a1
file_util: Avoid sign-conversions in WriteArray() and ReadArray()
Prevents compiler warnings.
7 years ago
Hexagon12
bc6d91a103
Lowered down the logging for methods
7 years ago
Zach Hilman
3e81c09094
loader: Fix scope error in DeconstructedRomDirectory
7 years ago
Lioncash
12ab5a0547
service/apm: Add the apm:sys service
Adds the basic skeleton of the apm:sys service based off the information
on Switch Brew.
7 years ago
Lioncash
d3f64785d1
nvflinger: Correct typo in name of composition event
7 years ago
Lioncash
300ab211e8
nvdrv: Make Ioctl()'s definition match its prototype
The only reason this wasn't a compilation error is because we use
little-endian systems.
7 years ago
Lioncash
fa8017295b
nvdrv: Get rid of indirect inclusions
7 years ago
Lioncash
e40b0cf437
nvflinger: Get rid of indirect inclusions
7 years ago
Lioncash
7e49881b7f
nvflinger: Use std::string_view in OpenDisplay()
We don't need to use a std::string here, given all that's done is
comparing the character sequence against another. This allows passing
regular const char* without needing to heap allocate.
7 years ago
KAMiKAZOW
0f5c4615ae
Make building cubeb optional
7 years ago
Lioncash
890e543304
services/hid: Add ActivateNpadWithRevision() to the hid function info array
Updated based off the information on Switch Brew.
8 years ago
Lioncash
20c976ff2a
service/time: Amend command IDs of ToPosixTime() and ToPosixTimeWithMyRule()
Updates the ID of these based off the information on Switch Brew.
8 years ago
Lioncash
45bc449ff9
service: Add usb services
Adds basic skeleton for the usb services based off the information provided by Switch Brew.
8 years ago
Lioncash
c8f6754417
qt/hotkey: Get rid of global hotkey map instance
Instead, we make a proper registry class and house it within the main
window, then pass it to whatever needs access to the loaded hotkeys.
This way, we avoid a global variable, and don't need to initialize a
std::map instance before the program can do anything.
8 years ago
Zach Hilman
91cfe70301
loader: Add icon and title support to XCI
8 years ago
Zach Hilman
5927cf0e17
Use const where applicable
8 years ago
Zach Hilman
9e88f03e75
Avoid parsing RomFS to directory in NCA
8 years ago
Lioncash
da2f00ab7d
client_port: Make all data members private
These members don't need to be entirely exposed, we can instead expose
an API to operate on them without directly needing to mutate them
We can also guard against overflow/API misuse this way as well, given
active_sessions is an unsigned value.
8 years ago
Hedges
e2b74f6354
GDBStub works with both Unicorn and Dynarmic now ( #941 )
* GDBStub works with both Unicorn and Dynarmic now
* Tidy up
8 years ago
Lioncash
96b6ad11c1
qt/main: Avoid sign conversions in UpdateRecentFiles()
This was intermixing signed and unsigned values when they could all just
be signed.
8 years ago
Lioncash
10d693b9c2
game_list: Remove unnecessary conversion to std::string in ValidateEntry()
We can just use the file interfaces that Qt provides to prevent needing
to convert to std::string.
8 years ago
Lioncash
a5ac53dd4c
game_list: Use QString::fromStdString() where applicable instead of c_str()
The codec used by Qt for const char* and std::string don't necessarily
have to be the same depending on locale. Therefore, we should be using
the correct functions to do the conversions.
8 years ago
Lioncash
251e92513a
game_list: Join declarations and assignments in onTextChanged()
There's no need to keep these separate from one another.
8 years ago
Lioncash
cf983888cc
qt/main: Collapse if statement in UpdateRecentFiles()
Given the function accepts a boolean, we don't need to use an if
statement here and repeat ourselves.
8 years ago
Lioncash
2b2dc00bfd
qt/main: Better file-existence checking within OnMenuRecentFile() and UpdateUITheme()
In OnMenuRecentFile() we don't need to construct a QFileInfo instance
just to check if a file exists, we can just use the static member
function to do that (which Qt's documentation also notes as quicker than
constructing an instance).
In UpdateUITheme(), we just want to try and open the file and check the
success of that operation. Technically speaking, between the existence
check and the open call, the file can be deleted or moved, but still
appear to succeed in code. i.e.
1. Existence check -> Returns true
2. File is moved/deleted
3. Open is called, the return value of which isn't checked
4. Nonsense behavior
This way we combine the existence check and the open into one.
8 years ago
Lioncash
d33f641912
qt: Don't show error dialog when canceling the Load Folder dialog
Previously, when canceling out of the Load Folder dialog, a user would
get an error dialog about the selected folder not containing a main
file, however, by canceling out of the dialog, no selection was actually
made.
8 years ago
Lioncash
9764b4ec0e
qt/game_list_p: Remove redundant base class constructor invocations
These occur automatically without the need to call them. While we're at
it, also std::move the QString instance into its member variable.
8 years ago