Daniel Lim Wee Soong
a66204eb5c
common: fix swap functions on Bitrig and OpenBSD
swap{16,32,64} are defined as macros on the two, but client code
tries to invoke them as Common::swap{16,32,64}, which naturally
doesn't work. This hack redefines the macros as inline functions
in the Common namespace: the bodies of the functions are the
same as the original macros, but relying on OS-specific
implementation details like this is of course brittle.
8 years ago
Subv
11b4ab9685
GPU: Use the MacroInterpreter class to execute the GPU macros instead of HLEing them.
8 years ago
Subv
1ec8d2123d
GPU: Implemented a gpu macro interpreter.
The Ryujinx macro interpreter and envydis were used as reference.
Macros are programs that are uploaded by the games during boot and can later be called by writing to their method id in a GPU command buffer.
8 years ago
bunnei
72b90494e7
hid: Write empty touch screen state.
8 years ago
bunnei
f4ba523992
hle_ipc, fsp_srv: Cleanup logging.
8 years ago
bunnei
b6b7d78ded
hid: Stub out GetSupportedNpadStyleSet.
8 years ago
bunnei
eef097bdc7
hle_ipc: Do not ensure write buffer size.
8 years ago
bunnei
88582b84a5
fsp_srv: Implement GetSize and SetSize.
8 years ago
bunnei
b27ab46bde
memory: Fix stack region.
8 years ago
N00byKing
1b7dc84132
Port citra-emu/citra#3610 to yuzu
8 years ago
N00byKing
b55dc9c85e
Remove whitespaces
8 years ago
N00byKing
78e974ba68
Add Dark theme, Icon theming
configure_general.ui: Add UI Option for Themes
config.cpp: Save Theme Settings
8 years ago
bunnei
86095e62cc
audren_u: Stub QueryAudioDeviceSystemEvent and GetActiveChannelCount.
8 years ago
bunnei
f6893969b3
svc: Stub GetThreadCoreMask.
8 years ago
bunnei
deaf6f9e35
service: Add NFP module interface.
service: Initialize NFP service.
Log: Add NFP service as a log subtype.
8 years ago
Lioncash
36e60c217a
result: Check against self-assignment in ResultVal's copy assignment operator
Avoids doing work that doesn't need to be done.
8 years ago
N00byKing
16b14aa7e3
main.h: Add pragma once, remove ifndef
8 years ago
bunnei
212a6ab937
settings: Remove unused CpuCore class.
8 years ago
bunnei
94f4009c3b
config: Use simplified checkbox (from Citra) for CPU JIT.
8 years ago
bunnei
5ecf152c8e
config: Rename is_docked to use_docked_mode to be consistent with other config bools.
8 years ago
bunnei
f1423fcbc1
configure_general: Cleanup naming.
8 years ago
bunnei
c97ff4460c
qt: Add config option for is_docked.
8 years ago
bunnei
12b05c719e
config: Add setting for whether the system is docked or not.
8 years ago
bunnei
5e343edc9e
renderer_opengl: Use better naming for DrawScreens and DrawSingleScreen.
8 years ago
bunnei
d8f745382b
graphics_surface: Remove superfluous cast.
8 years ago
bunnei
c33abac275
gl_rasterizer: Move code to bind framebuffer surfaces before draw to its own function.
8 years ago
bunnei
d30110348b
gl_rasterizer: Add a SyncViewport method.
8 years ago
bunnei
67bc2f5ecd
gl_rasterizer: Move PrimitiveTopology check to MaxwellToGL.
8 years ago
bunnei
666d53299c
graphics_surface: Fix merge conflicts.
8 years ago
bunnei
ac19e3d061
gl_rasterizer: Use ReadBlock instead of GetPointer for SetupVertexArray.
8 years ago
bunnei
a6cab532f8
gl_rasterizer: Normalize vertex array data as appropriate.
8 years ago
bunnei
d4fb8a887c
memory: Fix cast for ReadBlock/WriteBlock/ZeroBlock/CopyBlock.
8 years ago
bunnei
527ce12ce4
maxwel_to_gl: Fix string formatting in log statements.
8 years ago
bunnei
d89bfec5f5
rasterizer: Rename DrawTriangles to DrawArrays.
8 years ago
bunnei
1bfc0dc2db
gl_rasterizer: Use passthrough shader for SetupVertexShader.
8 years ago
bunnei
0a5832798a
renderer_opengl: Logging, etc. cleanup.
8 years ago
bunnei
7504df52fc
renderer_opengl: Remove framebuffer RasterizerFlushVirtualRegion hack.
8 years ago
bunnei
c1ccbf332f
gl_rasterizer_cache: Implement UpdatePagesCachedCount.
8 years ago
bunnei
d732142b66
memory: Add RasterizerMarkRegionCached code and cleanup.
8 years ago
bunnei
c2dbdefedf
gl_rasterizer: Implement SetupVertexArray.
8 years ago
bunnei
cd8bb6ea9b
gl_rasterizer_cache: Fix an ASSERT_MSG.
8 years ago
bunnei
4369af6b7e
maxwell_to_gl: Add module and function for decoding VertexType.
8 years ago
bunnei
3754e0fdfd
maxwell_3d: Use names that match envytools for VertexType.
8 years ago
bunnei
15925b8293
maxwell_3d: Add VertexAttribute struct and cleanup.
8 years ago
bunnei
0ee38e1363
gl_rasterizer: Use 32 texture units instead of 3.
8 years ago
bunnei
0162a2d5cb
gl_rasterizer: Implement DrawTriangles.
8 years ago
bunnei
33c0bf9dc5
Maxwell3D: Call AccelerateDrawBatch on DrawArrays.
8 years ago
bunnei
ed2134784e
gl_rasterizer: Implement AnalyzeVertexArray.
8 years ago
bunnei
8041d72a1f
gl_rasterizer_cache: MortonCopy Switch-style.
8 years ago
bunnei
170ac3f9ee
gl_rasterizer_cache: Implement GetFramebufferSurfaces.
8 years ago