Lioncash
35c05e8bf2
gl_shader_decompiler: Get rid of variable shadowing within LEA instructions
These variables are already defined within an outer scope.
7 years ago
Lioncash
d241be6c78
kernel/svc: Sanitize addresses and sizes within svcMapMemory() and svcUnmapMemory()
The kernel checks if the addresses and given size is 4KB aligned before
continuing onwards to map the memory.
7 years ago
Lioncash
3e8e34221e
kernel/svc: Sanitize heap sizes within svcSetHeapSize()
The kernel checks if the given size is a multiple of 2MB and <= to 4GB
before going ahead and attempting to allocate that much memory.
7 years ago
bunnei
ef9d72bfac
Merge pull request #1310 from lioncash/kernel-ns
kernel/thread: Include thread-related enums within the kernel namespace
7 years ago
bunnei
b943872832
Merge pull request #1309 from lioncash/nested
service: Use nested namespace specifiers where applicable
7 years ago
Lioncash
a51b67f163
audio_core/time_stretch: Silence truncation warnings in Process()
The SoundTouch API only accepts uint amount of samples.
7 years ago
bunnei
22285a91dd
Merge pull request #1307 from lioncash/pl
services/pl_u: Add missing Korean font to the fallback case for shared fonts
7 years ago
Lioncash
52fcbcf500
kernel/errors: Amend error code for ERR_NOT_FOUND
This is the value returned by the kernel for svcConnectToNamedPort() if
the named port cannot be found.
7 years ago
Lioncash
0bc2298dcc
service/vi: Replace includes with forward declarations where applicable
7 years ago
Lioncash
2300f0b951
kernel/thread: Include thread-related enums within the kernel namespace
Previously, these were sitting outside of the Kernel namespace, which
doesn't really make sense, given they're related to the Thread class
which is within the Kernel namespace.
7 years ago
Lioncash
a69848a429
service: Use nested namespace specifiers where applicable
There were a few places where nested namespace specifiers weren't being
used where they could be within the service code. This amends that to
make the namespacing a tiny bit more compact.
7 years ago
James Rowe
bdd44b2044
Merge pull request #1308 from valentinvanelslande/ipc
ipc: fix spelling mistake
7 years ago
Valentin Vanelslande
d00a39ec2d
ipc: minor fix
7 years ago
ReinUsesLisp
a5584cd896
Use ARB_multi_bind for uniform buffers ( #1287 )
* gl_rasterizer: use ARB_multi_bind for uniform buffers
* address feedback
7 years ago
Lioncash
0df76b27b9
services/pl_u: Add missing Korean font to the fallback case for shared fonts
Previously this wasn't using the Korean font at all.
7 years ago
bunnei
e228fcd133
Merge pull request #1298 from lioncash/view
audio_core/sink_details: Change std::string parameter into std::string_view
7 years ago
bunnei
97dcd54e0a
Merge pull request #1302 from lioncash/config
yuzu/configure_gamelist: Mark combo-box strings as translatable
7 years ago
bunnei
f5b02a99e7
Merge pull request #1163 from FearlessTobi/add-audio-stretching
audio_core: Add audio stretching support
7 years ago
bunnei
616f18dc9e
Merge pull request #1306 from bunnei/fix-b5g6r5u
gl_rasterizer_cache: B5G6R5U should use GL_RGB8 as an internal format.
7 years ago
bunnei
98d5dc07f0
gl_rasterizer_cache: B5G6R5U should use GL_RGB8 as an internal format.
- Fixes a regression with Sonic Mania with ARB_texture_storage.
7 years ago
bunnei
34f0521f30
Merge pull request #1297 from lioncash/pl
pl_u: Eliminate mutable file-scope state
7 years ago
bunnei
6f138dd425
Merge pull request #1263 from FernandoS27/tex-mode
shader_decompiler: Implemented (Partially) Texture Processing Modes
7 years ago
Subv
46b33657b6
GPU: Basic implementation of the Kepler Inline Memory engine (p2mf).
This engine writes data from a FIFO register into the configured address.
7 years ago
MerryMage
9ffbfeee26
audio_core: Flush stream when not playing anything
7 years ago
FernandoS27
aa5c2354eb
Implemented Texture Processing Modes
7 years ago
bunnei
a57419b925
Merge pull request #1303 from lioncash/error
kernel/errors: Amend invalid thread priority and invalid processor ID error codes
7 years ago
bunnei
5b1f9a4755
Merge pull request #1304 from lioncash/str
svc: Do nothing in svcOutputDebugString() if given a length of zero
7 years ago
bunnei
029eef8fdb
Merge pull request #1305 from FreddyFunk/cmake_yuzu_as_vs_startup_project
Set yuzu project as default StartUp Project in Visual Studio
7 years ago
Frederic Laing
57a333eade
Update CMakeLists.txt
Set yuzu project as default StartUp Project in Visual Studio
7 years ago
Lioncash
8bdae1d7ff
svc: Return ERR_INVALID_PROCESSOR_ID in CreateThread() if an invalid processor ID is given
This is what the kernel does for an out-of-range processor ID.
7 years ago
Lioncash
d5ec89c1fb
kernel/errors: Correct error codes for invalid thread priority and invalid processor ID
7 years ago
Lioncash
4b9e65a70c
svc: Do nothing if svcOutputDebugString() is given a length of zero
While unlikely, it does avoid constructing a std::string and
unnecessarily calling into the memory code if a game or executable
decides to be really silly about their logging.
7 years ago
Lioncash
00b69a9527
svc: Correct parameter type for OutputDebugString()
This should be a u64 to represent size.
7 years ago
Lioncash
baafcb6c76
yuzu/configure_gamelist: Make combo box strings translatable
Given these are shown to the user, they should be translatable.
While we're at it, also set up the dialog to automatically retranslate
the dialog along with the combo boxes if it receives a LanguageChange
event.
7 years ago
Lioncash
3b44db275e
yuzu/configure_gamelist: Use std::array instead of std::vector for translatable strings
We don't need to use an allocating container for these, given we know
the fixed amount of strings being used. This is just a waste of memory.
7 years ago
Lioncash
1757dd2e9d
yuzu/configure_gamelist: Move combo box initializtion to their own functions
Keeps the individual initialization of the combo boxes logically separate.
We also shouldn't be dumping this sort of thing in the constructor
directly.
7 years ago
bunnei
ad6c31e1c5
Merge pull request #1296 from lioncash/prepo
service/prepo: Move class into the cpp file
7 years ago
bunnei
409aad84a9
Merge pull request #1301 from lioncash/qt
game_list: Resolve variable shadowing within LoadCompatibilityList()
7 years ago
bunnei
7242141139
Merge pull request #1300 from lioncash/audio
service/audio: Replace includes with forward declarations where applicable
7 years ago
bunnei
0a9aaabbba
Merge pull request #1278 from tech4me/bg-color-fix
Port Citra #4047 & #4052 : add change background color support
7 years ago
bunnei
b91937ce88
Merge pull request #1295 from bunnei/accurate-copies
gl_rasterizer_cache: Improve accuracy of caching and copies.
7 years ago
bunnei
d75c171e97
Merge pull request #1294 from degasus/optimizations
gl_rasterizer: Use ARB_texture_storage.
7 years ago
bunnei
673650e636
gl_rasterizer_cache: Always blit on recreate, regardless of format.
- Fixes several rendering issues with Super Mario Odyssey.
7 years ago
Lioncash
7b527cc06f
game_list: Resolve variable shadowing within LoadCompatibilityList()
"value" is already a used variable name within the outermost ranged-for
loop, so this variable was shadowing the outer one. This isn't a bug,
but it will get rid of a -Wshadow warning.
7 years ago
Lioncash
2e84bcfe06
game_list: Use QJsonValueRef() within LoadCompatibilityList()
This way, we aren't constructing unnecessary QJsonValue instances.
7 years ago
Lioncash
51a53a5caf
service/audio: Replace includes with forward declarations where applicable
A few headers were including other headers when a forward declaration
can be used instead, allowing the include to be moved to the cpp file.
7 years ago
Lioncash
93e3030d0c
audio_core/sink_details: Change std::string parameter into std::string_view
The given string is only ever used for lookup and comparison, so we can
just utilize a non-owning view to string data here
7 years ago
Lioncash
9e1f5aa9b3
pl_u: Eliminate mutable file-scope state
Converts the PL_U internals to use the PImpl idiom and makes the state
part of the Impl struct, eliminating mutable global/file state.
7 years ago
bunnei
f0e82e9add
Merge pull request #1289 from FernandoS27/lea_pset
shader_decompiler: Implemented LEA and PSET
7 years ago
Lioncash
061dd78882
service/prepo: Move class into the cpp file
This doesn't need to be exposed within the header and be kept in the
translation unit, eliminating the need to include anything within the
header.
7 years ago