bunnei
e353b9fb3d
thread: Add THREADSTATUS_WAIT_HLE_EVENT, remove THREADSTATUS_WAIT_ARB.
8 years ago
Subv
7b6868e908
GPU: Implement the BindStorageBuffer macro method in HLE.
This macro binds the SSBO Info Buffer as the current ConstBuffer.
This buffer is usually bound to c0 during shader execution.
Games seem to use this macro instead of directly writing the address for some reason.
8 years ago
Subv
85d820b1b4
GPU: Handle writes to the CB_DATA method.
Writing to this method will cause the written value to be stored in the currently-set ConstBuffer plus CB_POS.
This method is usually used to upload uniforms or other shader-visible data.
8 years ago
Subv
a64b936cbe
GPU: Move the GPU's class constructor and destructors to a cpp file.
This should reduce recompile times when editing the Maxwell3D register structure.
8 years ago
Subv
aa586fa268
GPU: Store uploaded GPU macros and keep track of the number of method parameters.
8 years ago
Subv
7ac8657432
GPU: Macros are specific to the Maxwell3D engine, so handle them internally.
8 years ago
Subv
ccb8da1512
GPU: Renamed ShaderType to ShaderStage as that is less confusing.
8 years ago
Subv
88698c156f
GPU: Store shader constbuffer bindings in the GPU state.
8 years ago
Subv
66dae22790
GPU: Corrected some register offsets and removed superfluous macro registers.
8 years ago
Subv
1d9d9c16e8
GPU: Make the SetShader macro call do the same as the real macro's code.
It'll now set the CB_SIZE, CB_ADDRESS and CB_BIND registers when it's called.
Presumably this SetShader function is binding the constant shader uniforms to buffer 1 (c1[]).
8 years ago
Subv
579000e747
GPU: Corrected the parameter documentation for the SetShader macro call.
Register 0xE24 is actually a macro that sets some shader parameters in the register structure.
Macros are uploaded to the GPU at startup and have their own ISA, we'll probably write an interpreter for this in the future.
8 years ago
Subv
f93d769a1c
GPU: Handle the SetShader method call (0xE24) and store the shader config.
8 years ago
Subv
d2888f7e90
GPU: Added the vertex array registers.
8 years ago
Subv
29feece4b8
GPU: Process command mode 5 (IncreaseOnce) differently from other commands.
Accumulate all arguments before calling the desired method.
Note: Maybe we should do the same for the NonIncreasing mode?
8 years ago
Subv
bf310a41b8
GPU: Assert that we get a 0 CODE_ADDRESS register in the 3D engine.
Shader address calculation depends on this value to some extent, we do not currently know what it being 0 entails.
8 years ago
Subv
cbec739e7b
GPU: Added Maxwell registers for Shader Program control.
8 years ago
bunnei
494275fd38
nvflinger: Remove superfluous buffer format check.
8 years ago
bunnei
cc6f22e0e4
process: MirrorMemory should use MemoryState::Mapped.
8 years ago
bunnei
e9a857ce82
process: Unmap previously allocated heap.
8 years ago
bunnei
403f8e79ea
arm_interface: Support unmapping previously mapped memory.
8 years ago
bunnei
34a29ad051
svc: Use more correct values for GetInfo MapRegion and NewMapRegion.
8 years ago
bunnei
8581404482
kernel: Move stack region outside of application heap.
8 years ago
bunnei
69ee9edd8d
memory: Add regions for map region, "new" map region, etc.
8 years ago
bunnei
3923b0f589
process: Fix stack memory state.
8 years ago
bunnei
8be7131033
MemoryState: Add additional memory states and improve naming.
8 years ago
mailwl
fbfa7ddd62
IGeneralService: fix function list
8 years ago
mailwl
9289255314
Service/NIFM: stub cancel function
8 years ago
mailwl
ec030a542f
Service/NIFM: convert to module
8 years ago
bunnei
7d6653268f
core: Move process creation out of global state.
8 years ago
Subv
5fb4c718cc
GPU: Intercept writes to the VERTEX_END_GL register.
This is the register that gets written after a game calls DrawArrays().
We should collect all GPU state and draw using our graphics API here.
8 years ago
Subv
84e1c0a430
FS: Use the correct error code when trying to open files that don't exist.
8 years ago
Subv
e4b7a1d160
FS: Stubbed CreateSaveData. It currently does nothing.
8 years ago
Subv
0eefe6e4d1
FS: Make EnsureSaveData create the savedata folder when called for the first time.
8 years ago
Subv
248881fa7f
CoreTiming: Unschedule the pending events when an Interface is destroyed.
8 years ago
Subv
656e7aab29
Vi: Signal the BufferQueue's Native Handle right after ReleaseBuffer is called.
This prevents a thread starvation issue in Puyo Puyo Tetris.
We should hwtest this behavior and figure out where exactly this event is signaled.
8 years ago
mailwl
28669872d9
Service/Set: add more services
8 years ago
Subv
3209cff530
SaveData: Use the current titleid when opening the savedata archive.
8 years ago
Subv
827f8ca3c7
Kernel: Store the program id in the Process class instead of the CodeSet class.
There may be many CodeSets per Process, so it's wasteful and overcomplicated to store the program id in each of them.
8 years ago
Subv
cc6e4ae6cf
FS: Implement MountSaveData and some of the IFile interface.
8 years ago
Subv
d140c8ecf7
Filesystem: Added a SaveData Factory and associated Disk_FileSystem.
8 years ago
Jules Blok
c74af07c49
thread: Clear the process list on shutdown.
8 years ago
Subv
6e38081165
ResultCode: Mark any error code that isn't 0 as an error.
8 years ago
Vishal Sharma
65f3119074
Removes the use of QKeySequence::Cancel ( #186 )
* Removes the use of QKeySequence::Cancel to remove issues while running make
* Corrects characters in a line for travis failure
* Corrects space in a line for travis failure
8 years ago
shinyquagsire23
e29710818f
file_sys: Style tweaks
Asdf
8 years ago
shinyquagsire23
487f8bc018
loader: Check error on NPDM load, use TID for CodeSet
8 years ago
shinyquagsire23
fd3806fd30
loader: Use NPDM information when loading NSOs
8 years ago
shinyquagsire23
2b28fd7809
file_sys: Add support for parsing NPDM files
8 years ago
N00byKing
08c6ac02cf
(Hopefully) Fix MinGW Build
8 years ago
N00byKing
2b41c6e573
Add UnmapSharedMemory
C++11 requires spaces on the Identifier
Add inttypes include
clang
8 years ago
shinyquagsire23
a63d4fa5b4
time: Add missing time:s functions, used for libnx
8 years ago