bunnei
de0ab806df
maxwell_3d: Restructure macro upload to use a single macro code memory.
- Fixes an issue where macros could be skipped.
- Fixes rendering of distant objects in Super Mario Odyssey.
7 years ago
Lioncash
a6830e61b8
configure_system: Contrain profile usernames to 32 characters
Previously, we would let a user enter an unbounded name and then
silently truncate away characters that went over the 32-character limit.
This is kind of bad from the UX point of view, because we're essentially
not doing what the user intended in certain scenarios.
Instead, we clamp it to 32 characters and make that visually apparent in
the dialog box to provide a name for a user.
7 years ago
Rodolfo Bogado
aca218aea0
Improve OpenGL state handling
7 years ago
Lioncash
9b9c586dff
service/usb: Update IPdSession's function table
Updated based off information on SwitchBrew.
7 years ago
ReinUsesLisp
76754f5705
video_core: Move surface declarations out of gl_rasterizer_cache
7 years ago
FernandoS27
5bb80ab009
Assert Control Codes Generation
7 years ago
Lioncash
352b56367c
general: Remove unused boost inclusions where applicable
Cleans up unused includes and trims off some dependencies on externals.
7 years ago
Frederic L
7a5eda5914
global: Use std::optional instead of boost::optional ( #1578 )
* get rid of boost::optional
* Remove optional references
* Use std::reference_wrapper for optional references
* Fix clang format
* Fix clang format part 2
* Adressed feedback
* Fix clang format and MacOS build
7 years ago
Lioncash
6383653a8d
hle_ipc: Add member function for querying the existence of a domain header
Gets rid of the need to call the getter and then check for null.
7 years ago
Lioncash
0cc347462d
hle_ipc: Make GetDomainMessageHeader return a regular pointer
Nothing requires the shared owner ship here, so we can just return a
plain pointer.
7 years ago
fearlessTobi
655694253a
time_stretch: Switch to values of Citra
7 years ago
ReinUsesLisp
80cbd81276
video_core: Move OpenGL specific utils to its renderer
7 years ago
Rodolfo Bogado
e8b565b239
renderer_opengl: Correct bpp value for ASTC_2D_8X5_SRGB
7 years ago
FernandoS27
3aa8b644a9
Assert Control Flow Instructions using Control Codes
7 years ago
FernandoS27
dde3094058
Fixed black textures, pixelation and we no longer require to auto-generate mipmaps
7 years ago
FernandoS27
f0e902a7d6
Fixed mipmap block autosizing algorithm
7 years ago
FernandoS27
87f8181405
Fixed Invalid Image size and Mipmap calculation
7 years ago
FernandoS27
f4432b5d0c
Fixed Block Resizing algorithm and Clang Format
7 years ago
FernandoS27
258f0f5c31
Implement Mip Filter
7 years ago
FernandoS27
dc85e3bff1
Zero out memory region of recreated surface before flushing
7 years ago
FernandoS27
bbf3b2da0c
Implement Mipmaps
7 years ago
Lioncash
a973a049b7
core: Make System references const where applicable
7 years ago
Lioncash
b77f571d20
core: Add missing const variants of getters for the System class
Many of the Current<Thing> getters (as well as a few others) were
missing const qualified variants, which makes it a pain to retrieve
certain things from const qualified references to System.
7 years ago
Michael
635d1e5651
Enable alpha channel for DXT1 texture format
7 years ago
Frederic Laing
f50f065c31
configure_system: Fix compiler warning
7 years ago
Tobias
351d5a2227
Correct bpp value for ASTC_2D_8X5
7 years ago
FernandoS27
e5ca097e32
Refactor precise usage and add FMNMX, MUFU, FMUL32 and FADD332
7 years ago
fearlessTobi
585b6a6a50
compatdb: Use a seperate endpoint for testcase submission
7 years ago
Frederic L
72d10ce66c
file_sys/patch_manager: Remove unnecessary if-statements ( #1586 )
* remove unnecessary if-statements
* Addressed feedback
7 years ago
Rodolfo Bogado
0287b2be6d
Implement sRGB Support, including workarounds for nvidia driver issues and QT sRGB support
7 years ago
Zach Hilman
1fa31cf74d
key_manager: Use isxdigit instead of isdigit when reading key file
Crypto revisions are hex numbers and this function only checks if the string is valid for stoul in base 16, so it should be isxdigit.
7 years ago
FernandoS27
d8d557df86
Improved Shader accuracy on Vertex and Geometry Shaders with FFMA, FMUL and FADD
7 years ago
FernandoS27
705300992e
Implement Default Block Height for each format
7 years ago
Zach Hilman
7c70746ec4
loader/nsp: Move secondary loader initialization to constructor
Prevents nullptr bug when trying to dump the RomFS of an NSP resulting from secondary_loader not being initialized.
7 years ago
Frederic Laing
0bf24d310e
gl_rasterizer_cache: Fix compiler warning
7 years ago
DeeJayBro
3b1e4c0995
service/filesystem: Add DirectoryDelete & DirectoryDeleteRecursively
7 years ago
Lioncash
9024cbb5b8
configure_system: Make GetIcon() return the scaled 64x64 icon
Avoids the need to put the scaling parameters all over the place for the
common case. The only other time scaling is done is to generate the
smaller 48x48 image, so this is fine.
7 years ago
Lioncash
85ed0af84e
configure_system: Move entry formatting for the user account list entries to its own function
Avoids the need to duplicate this all over the place, and makes it
translator-friendly across the board.
7 years ago
Lioncash
8eaf857d06
configure_system: Display errors to the user if file operations fail when setting user images
We should display an error to the user if setting a user image for an
account fails, rather than continuing onwards.
7 years ago
Weiyi Wang
12c365b549
cubeb_sink: ignore null-name device when selecting
We already ignore them on listing devices. We should do the same when selecting devices. This fix a crash when opening a specific device while there is a null device in the list
7 years ago
Lioncash
7de8e36343
svc: Localize the GetInfo enum class to the function itself
Nothing from this enum is intended to be used outside of this function.
7 years ago
Lioncash
6594853eb1
svc: Implement svcGetInfo command 0xF0000002
This retrieves:
if (curr_thread == handle_thread) {
result = total_thread_ticks + (hardware_tick_count - last_context_switch_ticks);
} else if (curr_thread == handle_thread && sub_id == current_core_index) {
result = hardware_tick_count - last_context_switch_ticks;
}
7 years ago
bunnei
58444a0376
gl_rasterizer: Implement primitive restart.
7 years ago
bunnei
949d9a7136
maxwell_3d: Add code for initializing register defaults.
7 years ago
bunnei
8cea598158
gl_rasterizer: Implement depth range.
7 years ago
bunnei
cebce2a93a
ldr: Partially implement LoadNro.
- This is an incomplete implementation. It was tested with Super Mario Party.
7 years ago
bunnei
c2049aa4e5
process: LoadModule should clear JIT instruction cache.
7 years ago
bunnei
a609b6907a
Kernel/Memory: Added a function to first a suitable guest address at which to allocate a region of a given size.
7 years ago
bunnei
ef7b2237d9
nro: Make LoadNro method accessible outside of apploader code.
7 years ago
Lioncash
85285b09b0
configure_system: Make the file selector text translatable
This should be localizable, since it's user-facing text.
7 years ago