bunnei
a0b5ed6846
maxwell_dma: Check for valid source in destination before copy.
- Avoid a crash in Octopath Traveler.
7 years ago
bunnei
bb6e007a63
memory_manager: Add protections for invalid GPU addresses.
- Avoid a crash in Xenoblade Chronicles 2.
7 years ago
bunnei
b34849e61a
gl_rasterizer_cache: Check that backing memory is valid before creating a surface.
- Fixes a crash in Puyo Puyo Tetris.
7 years ago
bunnei
fa405371ee
gpu: Rewrite virtual memory manager using PageTable.
7 years ago
bunnei
6f872bd580
gpu: Move GPUVAddr definition to common_types.
7 years ago
bunnei
aff4b0b50a
Merge pull request #2272 from lioncash/boost
common/CMakeLists: Amend boost dependency
7 years ago
Lioncash
67bf0f88c4
common/CMakeLists: Amend boost dependency
When #2247 was created, thread_queue_list.h was the only user of
boost-related code, however #2252 moved the page table struct into
common, which makes use of Boost.ICL, so we need to add the dependency
to the common library's link interface again.
7 years ago
bunnei
78b9ee4f6c
Merge pull request #2267 from FernandoS27/fix-2238
Fix crash caused by #2238 .
7 years ago
bunnei
0653cfa1a9
Merge pull request #2247 from lioncash/include
common/thread_queue_list: Remove unnecessary dependency on boost
7 years ago
bunnei
ceaf34e645
Merge pull request #2224 from lioncash/opus
hwopus: Leverage multistream API for decoding regular Opus packets
7 years ago
bunnei
d865dc4235
Merge pull request #2239 from FearlessTobi/port-4684
Port citra-emu/citra#4684 : "frontend: qt: fix a freeze where if you click on entry in the game list too fast, citra will hang"
7 years ago
bunnei
156e2feaf2
Merge pull request #2264 from lioncash/linker
core/loader: Remove vestigial Linker class
7 years ago
bunnei
a73e7daeec
Merge pull request #2263 from FearlessTobi/port-4697
Port citra-emu/citra#4697 : "Fix getopt on systems where char is unsigned by default"
7 years ago
Fernando Sahmkow
18ca210bb7
Fix crash caused by 2238.
7 years ago
Lioncash
2ee1a9132a
loader: Remove Linker class
Given the class is now currently unused, it can be removed.
7 years ago
Lioncash
55b2ab35f7
loader: Remove Linker inheritance from NRO and NSO loaders
Neither the NRO or NSO loaders actually make use of the functions or
members provided by the Linker interface, so we can just remove the
inheritance altogether.
7 years ago
xperia64
399dc8e6d4
Fix getopt on systems where char is unsigned by default
7 years ago
bunnei
5228d3bf7b
Merge pull request #2258 from lioncash/am
service/am: Supply remaining missing IAudioController functions
7 years ago
bunnei
d45ca5d139
Merge pull request #2259 from lioncash/fsp
fsp_srv: Unstub SetCurrentProcess
7 years ago
bunnei
f101c4305b
Merge pull request #2254 from lioncash/redundant
input_common/sdl_impl: Minor cleanup in SDLState constructor
7 years ago
Lioncash
63ac36a535
fsp_srv: Unstub SetCurrentProcess
This just acts as a basic setter for a given PID value and performs no
further checking, so we can just store the passed in value.
7 years ago
Lioncash
a7cb88f3b2
service/am: Add basic implementation of ChangeMainAppletMasterVolume
All this does is supply a new volume level and a fade time in
nanoseconds for the volume transition to occur within.
7 years ago
Lioncash
a3db2ec8af
service/am: Unstub SetTransparentVolumeRate()
Like the other volume setter, this mainly just sets a data member within
the service, nothing too special.
7 years ago
Lioncash
c70aa00b23
service/am: Unstub SetExpectedMasterVolume()
This function passes in the desired main applet and library applet
volume levels. We can then just pass those values back within the
relevant volume getter functions, allowing us to unstub those as well.
The initial values for the library and main applet volumes differ. The
main applet volume is 0.25 by default, while the library applet volume
is initialized to 1.0 by default in the services themselves.
7 years ago
bunnei
c61da38963
Merge pull request #2238 from lioncash/thread
kernel/thread: Amend conditional test and assignment within UpdatePriority()
7 years ago
Mat M
67da3a12e7
Merge pull request #2257 from MerryMage/boost-1.66
CMakeLists: Raise minimum Boost requirement to 1.66.0
7 years ago
MerryMage
a977d8429d
CMakeLists: Raise minimum Boost requirement to 1.66.0
Required due to bugfix in boost for changed template resolving rules in GCC 7.3.0 in C++17 mode
7 years ago
bunnei
77b3cee572
Merge pull request #2252 from bunnei/move-page-table
core: Move PageTable struct into Common.
7 years ago
Lioncash
3a67c46490
input_common/sdl_impl: Make lambda capture more specific in SDLState constructor
We don't need to universally capture by reference. We specifically just
need to capture the this pointer.
7 years ago
Lioncash
ddbcc91a56
input_common/sdl_impl: Remove unnecessary std::chrono::duration construction
Specifying the time unit itself is sufficient here.
7 years ago
Lioncash
4eeedd0436
input_common/sdl_impl: Remove unused variable in SDLState constructor
7 years ago
bunnei
8c959b8840
Merge pull request #2251 from bunnei/skip-zero-flush
gl_rasterizer: Skip zero addr/sized regions on flush/invalidate.
7 years ago
bunnei
a6d95b3d84
Merge pull request #2249 from lioncash/ipc
ipc_helpers: Allow pushing and popping floating-point values
7 years ago
bunnei
06ee19dce0
Merge pull request #2246 from lioncash/opus-fork
externals: Update opus to latest master
7 years ago
bunnei
dd5334a70c
Merge pull request #2245 from lioncash/unused-def
kernel/thread: Actually remove the definition of ExitCurrentThread()
7 years ago
bunnei
5840ce2950
core: Move PageTable struct into Common.
7 years ago
bunnei
65db8f5f47
gl_rasterizer: Skip zero addr/sized regions on flush/invalidate.
7 years ago
bunnei
c30ea8aa0d
Merge pull request #2244 from bunnei/gpu-mem-refactor
video_core: Refactor to use MemoryManager interface for all memory access.
7 years ago
bunnei
d0e3aca4b1
Merge pull request #2243 from bunnei/mem-simplify-cache
memory: Simplify rasterizer cache operations.
7 years ago
bunnei
2ad9af464a
Merge pull request #2129 from FernandoS27/cntpct
Correct CNTPCT from using CPU Cycles to using Clock Cycles
7 years ago
Lioncash
e6f8a5c934
ipc_helpers: Allow pushing and popping floating-point values
Certain values that are passed through the IPC buffer are actually
floating point values, not solely integral values.
7 years ago
Lioncash
58312f2968
common/thread_queue_list: Remove unnecessary dependency on boost
We really don't need to pull in several headers of boost related
machinery just to perform the erase-remove idiom (particularly with
C++20 around the corner, which adds universal container std::erase and
std::erase_if, which we can just use instead).
With this, we don't need to link in anything boost-related into common.
7 years ago
Lioncash
43be3c1d8a
externals: Update opus to latest master
Prevents yuzu from getting 2000+ warnings in MSVC in a future change.
7 years ago
Lioncash
6e56eb5205
kernel/thread: Actually remove the definition of ExitCurrentThread()
This was intended to be removed in
0032bede5a , but I guess I forgot to
actually save the file like a dingus.
7 years ago
bunnei
43e9563fe0
Merge pull request #2241 from lioncash/compile-flags
CMakeLists: Remove now-unnecessary GCC special-casing
7 years ago
bunnei
238a5ac1a7
Merge pull request #2242 from lioncash/thread-fn
kernel/thread: Remove WaitCurrentThread_Sleep() and ExitCurrentThread()
7 years ago
bunnei
ee8ae39de5
memory: Simplify rasterizer cache operations.
7 years ago
bunnei
d3f26c1546
video_core: Refactor to use MemoryManager interface for all memory access.
# Conflicts:
# src/video_core/engines/kepler_memory.cpp
# src/video_core/engines/maxwell_3d.cpp
# src/video_core/morton.cpp
# src/video_core/morton.h
# src/video_core/renderer_opengl/gl_global_cache.cpp
# src/video_core/renderer_opengl/gl_global_cache.h
# src/video_core/renderer_opengl/gl_rasterizer_cache.cpp
7 years ago
bunnei
25de9134e7
Merge pull request #2237 from bunnei/cache-host-addr
gpu: Use host address for caching instead of guest address.
7 years ago
Lioncash
0032bede5a
kernel/thread: Move thread exiting logic from ExitCurrentThread to svcExitThread
Puts the operation on global state in the same places as the rest of the
svc calls.
7 years ago