bunnei
748ddc628c
services: time: Implement CalculateSpanBetween.
- Used by Super Smash Bros. Ultimate.
6 years ago
perillamint
133948067c
am: Implement VR related APIs
Implement (and stub) VR related APIs in AM sysmodule.
This fixes issue #2938
6 years ago
bunnei
7ee7aa21b1
services: ldr: Fix MemoryState for read/write regions of NROs.
- Fixes #3541 , used by Final Fantasy VIII Remastered.
6 years ago
James Rowe
c935a1a475
Address review and fix broken yuzu-tester build
6 years ago
James Rowe
b37d69e5e1
Frontend/GPU: Refactor context management
Changes the GraphicsContext to be managed by the GPU core. This
eliminates the need for the frontends to fool around with tricky
MakeCurrent/DoneCurrent calls that are dependent on the settings (such
as async gpu option).
This also refactors out the need to use QWidget::fromWindowContainer as
that caused issues with focus and input handling. Now we use a regular
QWidget and just access the native windowHandle() directly.
Another change is removing the debug tool setting in FrameMailbox.
Instead of trying to block the frontend until a new frame is ready, the
core will now take over presentation and draw directly to the window if
the renderer detects that its hooked by NSight or RenderDoc
Lastly, since it was in the way, I removed ScopeAcquireWindowContext and
replaced it with a simple subclass in GraphicsContext that achieves the
same result
6 years ago
FearlessTobi
23a8887526
sm/controller: Increase PointerBufferSize
This increases the PointerBufferSize as a lager one is required by some services.
This change is still not hw-accurate, but it is proven to work in Ryujinx.
Instead of using a hardcoded size, we should figure out the specific values for each service in the future. Some of them can be taken from Atmosphere: https://github.com/Atmosphere-NX/Atmosphere/search?q=PointerBufferSize .
6 years ago
FearlessTobi
1c7dcf3858
core/web_browser: Allow WebApplet to exit gracefully when an error occurs
Currently, yuzu just freezes when an error occurs while Initializing the WebApplet.
From a user perspective, this obviously isn't great as the game just softlocks.
With this change, yuzu will call the Finalize method, so to the game it seems like as the user just exited the WebApplet normally.
This works around https://github.com/yuzu-emu/yuzu/issues/2852 .
6 years ago
Dan
d5c239a047
set: implement GetRegionCode
6 years ago
ReinUsesLisp
e656938a5a
time_zone_content_manager: Fix out of bounds read
There were cases where raw_data didn't contain enough
space to hold the zero terminator.
This was caught with -fsanitize=address.
6 years ago
FearlessTobi
918657de2e
yuzu: Save sound output mode and set it to Stereo by default
6 years ago
Gauvain "GovanifY" Roussel-Tarbouriech
fc6dfe012c
gdbstub: small logic bug fix with defer_start
6 years ago
Gauvain "GovanifY" Roussel-Tarbouriech
32ebfa66fe
gdbstub: Ensure gdbstub doesn't drop packets crucial to initialization
6 years ago
Fernando Sahmkow
babc572a47
NVFlinger: Do the microprofile Flip after processing a valid frame.
6 years ago
Vitor Kiguchi
d28c202e1d
framebuffer_layout.h: drop the use of enum for screen dimensions.
+clang format
6 years ago
bunnei
36c4c33bb8
core: hle: Implement separate A32/A64 SVC interfaces.
6 years ago
bunnei
048ac77adc
core: Implement separate A32/A64 ARM interfaces.
6 years ago
bunnei
9b0419ce67
core: loader: Remove check for 32-bit.
6 years ago
bunnei
9137455d86
core: dynarmic: Add CP15 from Citra.
6 years ago
ReinUsesLisp
005f5ca883
video_core: Reintroduce dirty flags infrastructure
6 years ago
Morph
c6e07faf25
Create an "Advanced" tab in the graphics configuration tab and add anisotropic filtering levels.
6 years ago
Morph
055ebfc2e7
AM/ICommonStateGetter: Stub SetLcdBacklighOffEnabled ( #3454 )
* Stub SetLcdBacklighOffEnabled
Used by Super Smash Bros. Ultimate
We require backlight services to be implemented to turn on/off the backlight.
* Address feedback
6 years ago
bunnei
cba9bdcab0
renderer_opengl: Move Frame/FrameMailbox to OpenGL namespace.
6 years ago
Fernando Sahmkow
2f55c11a35
ARM_Interface: Cache the JITs instead of deleting/recreating.
This was a bug inherited from citra which was fixed by then at some
time. This commit corrects such bug and ensures JITs are correctly
recycled.
6 years ago
bunnei
f1f2405b9f
core: frontend: Refactor scope_acquire_window_context to scope_acquire_context.
6 years ago
bunnei
6904e8442d
frontend: sdl2: emu_window: Implement separate presentation thread.
6 years ago
bunnei
361819a125
renderer_opengl: Add texture mailbox support for presenter thread.
6 years ago
bunnei
27e56facc9
core: frontend: emu_window: Add TextureMailbox class.
6 years ago
bunnei
f93fe8e862
core: settings: Add setting to enable vsync, which is on by default.
6 years ago
Fernando Sahmkow
d0b12c793d
Scheduler: Inline global scheduler in Scheduler Lock.
6 years ago
Fernando Sahmkow
d6584d988f
Kernel: Correct pending feedback.
6 years ago
Fernando Sahmkow
8a079a59ed
System: Expose Host thread registering routines from kernel.
6 years ago
Fernando Sahmkow
78f01601d0
Kernel: Address Feedback.
6 years ago
Fernando Sahmkow
7c2b72bcef
Kernel: Implement Scheduler locks
6 years ago
Fernando Sahmkow
fe53ac3e33
Kernel: Implement Time Manager.
6 years ago
Fernando Sahmkow
e6cc0a48e0
Kernel: Rename ThreadCallbackHandleTable and Setup Thread Ids on Kernel.
6 years ago
Fernando Sahmkow
f5da504663
Kernel: Make global scheduler depend on KernelCore
6 years ago
Brian Clinkenbeard
050a4362ad
httplib compatibility
6 years ago
CJBok
7ec4bd7793
analog_from_button get direction implementation
6 years ago
Nguyen Dac Nam
2807020c01
IUserLocalCommunicationService: add function Initialize2
6 years ago
Nguyen Dac Nam
c4e8f9589a
HLE: correct function name of IUserLocalCommunicationService
402: function name should be Initialize2 (7.0.0+) not SetOperationMode
Follow by: https://switchbrew.org/wiki/LDN_services#IUserLocalCommunicationService
6 years ago
namkazy
8bb64da7ac
nvhost_gpu: implement ChannelSetTimeslice
6 years ago
Morph
5afb6b95ed
Add 4:3 aspect ratio and address feedback
6 years ago
Fernando Sahmkow
f326183e8b
Core: Correct compilition in GCC
6 years ago
Morph
5abb2b6336
Address feedback
6 years ago
Morph
db5dc22c68
Use enumeration instead of magic numbers
6 years ago
Morph
74a490c909
Add following aspect ratios: 16:9, 21:9, Stretch to Window
Available as a drop down within the configure graphics tab.
6 years ago
Fernando Sahmkow
0d2a459fae
Core: Address Feedback
6 years ago
Lioncash
5c0742bb94
address_arbiter: Collapse loops in InsertThread() and RemoveThread()
Same behavior, but without the need to explicitly loop through
everything manually.
6 years ago
Lioncash
3105b7864c
address_arbiter: Simplify GetThreadsWaitingOnAddress()
Simplifies the overall function and also allows for it to become a
const-qualified member function.
6 years ago
Lioncash
d5435df964
bcat/backend: Make formatting of passphrase consistent in NullBackend::SetPassphrase()
Aligns the '=' to be consistent with the rest of the logs within this
source file.
6 years ago