bunnei
67b125f9ee
Merge pull request #1955 from bunnei/g8r8-fix
gpu: Remove PixelFormat G8R8U and G8R8S, as they do not seem to exist.
7 years ago
bunnei
82662f374a
gpu: Remove PixelFormat G8R8U and G8R8S, as they do not seem to exist.
- Fixes UI rendering issues in The Legend of Zelda: Breath of the Wild.
7 years ago
bunnei
d533603cf8
Merge pull request #1958 from lioncash/audio
audio_core: Convert LOG_CRITICAL + UNREACHABLE over to UNIMPLEMENTED/UNIMPLEMENTED_MSG
7 years ago
Lioncash
f652c969a4
audio_core: Convert LOG_CRITICAL + UNREACHABLE over to UNIMPLEMENTED/UNIMPLEMENTED_MSG
These two macros being used in tandem were used prior to the
introduction of UNIMPLEMENTED and UNIMPLEMENTED_MSG. This provides
equivalent behavior, just with less typing/reading involved.
7 years ago
bunnei
07aa082e2a
Merge pull request #1954 from lioncash/npdm
file_sys/program_metadata: Print out more descriptive address space descriptions
7 years ago
bunnei
e436d0e304
Merge pull request #1953 from lioncash/mem
kernel/process: Remove most allocation functions from Process' interface
7 years ago
Lioncash
a72bda4ecc
file_sys/program_metadata: Print out more descriptive address space descriptions
Provides extra information that makes it easier to tell if an executable
being run is using a 36-bit address space or a 39-bit address space.
While we don't support AArch32 executables yet, this also puts in
distinguishing information for the 32-bit address space types as well.
7 years ago
Lioncash
e835034c17
kernel/process: Remove most allocation functions from Process' interface
In all cases that these functions are needed, the VMManager can just be
retrieved and used instead of providing the same functions in Process'
interface.
This also makes it a little nicer dependency-wise, since it gets rid of
cases where the VMManager interface was being used, and then switched
over to using the interface for a Process instance. Instead, it makes
all accesses uniform and uses the VMManager instance for all necessary
tasks.
All the basic memory mapping functions did was forward to the Process'
VMManager instance anyways.
7 years ago
bunnei
0c833d12d7
Merge pull request #1951 from Tinob/master
Add missing uintBitsToFloat to SetRegisterToHalfFloat
7 years ago
Rodolfo Bogado
aa86cd851e
Add missing uintBitsToFloat to SetRegisterToHalfFloat
7 years ago
bunnei
25a218248a
Merge pull request #1928 from lioncash/caps
kernel: Handle kernel capability descriptors
7 years ago
bunnei
dad1c81676
Merge pull request #1892 from Tinob/master
Improve Zero flag implementation
7 years ago
bunnei
3341118585
Merge pull request #1929 from bunnei/fix-hid
hid: Fix SetNpadJoyHoldType and improve logging.
7 years ago
bunnei
d73812d06b
Merge pull request #1945 from bunnei/fix-hid-horiz
npad: Remove code to invert input in horizontal mode.
7 years ago
bunnei
959e977ce3
Merge pull request #1949 from lioncash/unmap
kernel/vm_manager: Reset region attributes when unmapping a VMA
7 years ago
bunnei
574d06b207
Merge pull request #1879 from DarkLordZach/am-save-data-size
am: Implement GetSaveDataSize and ExtendSaveData using files
7 years ago
Zach Hilman
9121887ae4
am: Implement GetSaveDataSize and ExtendSaveData
These functions come in a pair and are needed by Smash Ultimate, Minecraft, and Skyrim, amongst others.
7 years ago
Zach Hilman
346c6291df
filesystem: Populate save data sizes from control data
7 years ago
Zach Hilman
cfb21a8781
savedata_factory: Partially implement IVFC save sizes using files
This stores a file in the save directory called '.yuzu_save_size' which stores the two save sizes (normal area and journaled area) sequentially as u64s.
7 years ago
Zach Hilman
8916266110
loader: Add accessor for game control data
7 years ago
Zach Hilman
80ae27c5fc
control_metadata: Update NACP fields with latest Switchbrew data
7 years ago
Zach Hilman
8e1160d668
control_metadata: Use value member instead of unique_ptr to store struct
Serves no actual purpose in this instance besides making NACP's copy assignment deleted, which is not intended behavior.
7 years ago
Zach Hilman
f6755b94db
vfs: Add reinterpret_casts to WriteArray and Object
Allows these functions to compile when T is not u8.
7 years ago
bunnei
1695b504b0
Merge pull request #1946 from lioncash/decl
renderer_opengl: Correct forward declaration of FramebufferLayout
7 years ago
bunnei
4b7d8b536d
Merge pull request #1948 from lioncash/translatable
configure_per_general: Mark UI strings as translatable in the constructor
7 years ago
Lioncash
b51e57a751
kernel/vm_manager: Reset region attributes when unmapping a VMA
Like the other members related to memory regions, the attributes need to
be reset back to their defaults as well.
7 years ago
bunnei
ea0e4631fd
Merge pull request #1947 from lioncash/init
configure_input_simple: Make input profile array constexpr
7 years ago
Lioncash
ba343cf922
configure_per_general: Mark UI strings as translatable in the constructor
These are user-facing strings, so they should be translatable.
7 years ago
Lioncash
bd56fa947d
configure_input_simple: Make input profile array constexpr
Calling tr() from a file-scope array isn't advisable, since it can be
executed before the Qt libraries are even fully initialized, which can
lead to crashes.
Instead, the translatable strings should be annotated, and the tr()
function should be called at the string's usage site.
7 years ago
Lioncash
21dec95072
renderer_opengl: Correct forward declaration of FramebufferLayout
This is actually a struct, not a class, which can lead to compilation
warnings.
7 years ago
Rodolfo Bogado
50a48fe118
Apply CC test to the final value to be stored in the register
7 years ago
David
615a0df6b6
Fixed shader linking error due to TLDS ( #1934 )
* Fixed shader linking error due to TLDS
coord should be coords
* Fix remaining coords
7 years ago
bunnei
037dfae35c
Merge pull request #1849 from encounter/svcSetThreadActivity
svc: Implement SetThreadActivity (thread suspension)
7 years ago
bunnei
c0e6ab15b4
Merge pull request #1943 from ReinUsesLisp/fixup-texs
shader_bytecode: Fixup TEXS.F16 encoding
7 years ago
bunnei
015093c1dd
npad: Remove code to invert input in horizontal mode.
- This was incorrect, the game appears to handle this for us.
- Fixes horizontal mode with Puyo Puyo Tetris and Super Mario Odyssey.
7 years ago
ReinUsesLisp
a04b5e9a42
shader_bytecode: Fixup TEXS.F16 encoding
7 years ago
bunnei
7961e11cd4
Merge pull request #1886 from FearlessTobi/port-4164
Port citra-emu/citra#4164 : "citra_qt, video_core: Screenshot functionality"
7 years ago
bunnei
c2e2637b52
Merge pull request #1930 from lioncash/common
common/quaternion: Ensure that w is always initialized
7 years ago
bunnei
4686643323
Merge pull request #1781 from DarkLordZach/applet-profile-select
am: Implement HLE profile selector applet
7 years ago
bunnei
22ef8eea69
Merge pull request #1780 from DarkLordZach/controller-profiles
configure_input: Add Controller Setup Profiles and simplify input UI
7 years ago
Rodolfo Bogado
6ef7d94656
Includde saturation in the evaluation of the control code
7 years ago
Rodolfo Bogado
fd77c416fd
Handle RZ cases evaluating the expression instead of the register value.
7 years ago
Rodolfo Bogado
0ebab7e4c6
complete emulation of ZeroFlag
7 years ago
Lioncash
8734a27b8d
common/quaternion: Ensure that w is always initialized
Previously xyz was always being zero initialized due to its constructor,
but w wasn't. Ensures that we always have a deterministic initial state.
7 years ago
bunnei
1dac8b1e9f
Merge pull request #1921 from ogniK5377/no-unit
Fixed uninitialized memory due to missing returns in canary
7 years ago
bunnei
fea11df6ee
Merge pull request #1920 from heapo/texture_format_selection
Texture format fixes for RGBA16UI for copies and R16U when used as depth
7 years ago
bunnei
70b6a81670
Merge pull request #1925 from lioncash/pid
kernel/{process, thread}: Amend behavior related to IDs
7 years ago
bunnei
953b65add7
Merge pull request #1914 from lioncash/id
service/am: Unstub GetAppletResourceUserId
7 years ago
bunnei
7f47320f34
hid: Fix SetNpadJoyHoldType and improve logging.
7 years ago
Lioncash
b221836d5d
kernel/process: Hook up the process capability parser to the process itself
While we're at it, we can also toss out the leftover capability parsing
from Citra.
7 years ago