David Marcec
d3d2bb2c35
Fixed incorrect hwopus assert
7 years ago
bunnei
42b74a5e41
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
eae8892b57
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
cbbb016f34
Improve OpenGL state handling
7 years ago
Lioncash
1429e2ca92
service/usb: Update IPdSession's function table
Updated based off information on SwitchBrew.
7 years ago
ReinUsesLisp
58988435c2
video_core: Move surface declarations out of gl_rasterizer_cache
7 years ago
FernandoS27
906d2fd5af
Assert Control Codes Generation
7 years ago
Lioncash
70e4492d49
general: Remove unused boost inclusions where applicable
Cleans up unused includes and trims off some dependencies on externals.
7 years ago
Frederic L
c76f4b6aec
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
6f2cb1a437
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
abf974f2f5
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
0470bc90ce
time_stretch: Switch to values of Citra
7 years ago
ReinUsesLisp
06aee386b7
video_core: Move OpenGL specific utils to its renderer
7 years ago
Rodolfo Bogado
c7a7479993
renderer_opengl: Correct bpp value for ASTC_2D_8X5_SRGB
7 years ago
FernandoS27
8b69038887
Assert Control Flow Instructions using Control Codes
7 years ago
FernandoS27
af83b683d8
Fixed black textures, pixelation and we no longer require to auto-generate mipmaps
7 years ago
FernandoS27
be78be20dc
Fixed mipmap block autosizing algorithm
7 years ago
FernandoS27
c9f347e156
Fixed Invalid Image size and Mipmap calculation
7 years ago
FernandoS27
b6e94867b9
Fixed Block Resizing algorithm and Clang Format
7 years ago
FernandoS27
5d5236c512
Implement Mip Filter
7 years ago
FernandoS27
76ce66359d
Zero out memory region of recreated surface before flushing
7 years ago
FernandoS27
87d1001720
Implement Mipmaps
7 years ago
Lioncash
55233bbdd2
core: Make System references const where applicable
7 years ago
Lioncash
9497f1d93f
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
df99f996f8
Enable alpha channel for DXT1 texture format
7 years ago
Frederic Laing
d0eea8fc3a
configure_system: Fix compiler warning
7 years ago
Tobias
8a7dd746c1
Correct bpp value for ASTC_2D_8X5
7 years ago
FernandoS27
95576a248a
Refactor precise usage and add FMNMX, MUFU, FMUL32 and FADD332
7 years ago
fearlessTobi
381e04453a
compatdb: Use a seperate endpoint for testcase submission
7 years ago
Frederic L
cbe1bbf1bd
file_sys/patch_manager: Remove unnecessary if-statements ( #1586 )
* remove unnecessary if-statements
* Addressed feedback
7 years ago
Rodolfo Bogado
1670155ee2
Implement sRGB Support, including workarounds for nvidia driver issues and QT sRGB support
7 years ago
Zach Hilman
74802ed32a
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
6eb07feeea
Improved Shader accuracy on Vertex and Geometry Shaders with FFMA, FMUL and FADD
7 years ago
FernandoS27
6540abe0d7
Implement Default Block Height for each format
7 years ago
Zach Hilman
bd78dc0c29
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
a2ce78114e
gl_rasterizer_cache: Fix compiler warning
7 years ago
DeeJayBro
d29877e73e
service/filesystem: Add DirectoryDelete & DirectoryDeleteRecursively
7 years ago
Lioncash
f7d6c35085
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
f4272e65b8
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
2099e41b17
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
8c7a40434a
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
2aa6e317d6
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
9bb7bc911f
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
b22ff96e0a
gl_rasterizer: Implement primitive restart.
7 years ago
bunnei
2bc1f075bb
maxwell_3d: Add code for initializing register defaults.
7 years ago
bunnei
419b62982f
gl_rasterizer: Implement depth range.
7 years ago
bunnei
c86d76d65c
ldr: Partially implement LoadNro.
- This is an incomplete implementation. It was tested with Super Mario Party.
7 years ago
bunnei
bdb2835028
process: LoadModule should clear JIT instruction cache.
7 years ago
bunnei
59b8f91cb2
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
ae5b0d437f
nro: Make LoadNro method accessible outside of apploader code.
7 years ago