gdkchan
2fd23577ce
Move prio/core locals inside the lock on yield ( #478 )
2018-10-24 09:45:37 -03:00
gdkchan
9ace6b9285
Fix for render target and a shader compilation issue ( #471 )
...
* Fix render target using possibly deleted or wrong handles
* Fix basic blocks with only a KIL instruction on the shader translator
* Formatting fix
2018-10-23 17:59:52 -03:00
gdkchan
044b84b078
Add depth range support on the GPU ( #472 )
...
* Add depth range support on the GPU
* Address PR feedback
2018-10-23 16:04:08 -03:00
LDj3SNuD
e674b37710
Fix Fcvtl_V and Fcvtn_V; fix half to float conv. and add float to half conv. (full FP emu.). Add 4 FP Tests. ( #468 )
...
* Update CpuTest.cs
* Update CpuTestSimd.cs
* Superseded.
* Update AInstEmitSimdCvt.cs
* Update ASoftFloat.cs
* Nit.
* Update PackageReferences.
* Update AInstEmitSimdArithmetic.cs
* Update AVectorHelper.cs
* Update ASoftFloat.cs
* Update ASoftFallback.cs
* Update AThreadState.cs
* Create FPType.cs
* Create FPExc.cs
* Create FPCR.cs
* Create FPSR.cs
* Update ARoundMode.cs
* Update APState.cs
* Avoid an unwanted implicit cast of the operator >= to long, continuing to check for negative values. Remove a leftover.
* Nits.
2018-10-23 11:12:45 -03:00
Ac_K
7920dc1d2f
Implement basic psm service ( #467 )
...
* Implement basic psm service
- Add `IPsmServer`
- Stub `GetBatteryChargePercentage` & `GetChargerType`
* Fix wrong sorting
* Add IPsmSession
- Add `IPsmSession` by Thog
- Implement `OpenSession`
2018-10-21 03:01:22 -03:00
Thomas Guillemard
b5f7d8106b
Complete rewrite of bsd IClient ( #460 )
...
This should provide accurate behaviours.
This implementation has been tested with ftpd and libtransistor bsd tests.
This implementation lacks OOB support.
2018-10-20 22:08:58 +00:00
gdkchan
2cb8541462
Print stack trace on invalid memory accesses ( #461 )
...
* Print stack trace on invalid memory accesses
* Rebased, change code region base address for 39-bits address space, print stack trace on break and undefined instructions too
2018-10-20 22:07:52 +00:00
gdkchan
0e1e094b7a
Improve texture tables ( #457 )
...
* Improve texture tables
* More renaming and other tweaks
* Minor tweaks
2018-10-17 18:02:23 -03:00
gdkchan
02a8e7fc93
Remove unnecessary usings ( #463 )
...
* Remove unnecessary usings
* Fix CastExpression while I'm at it
2018-10-17 14:55:10 -03:00
ReinUsesLisp
b3a4662be1
Move logging to Ryujinx.Common and make it a static class ( #413 )
2018-10-17 14:15:50 -03:00
Thomas Guillemard
9b19ea3c87
Remove IFileSystem::OpenDirectory extraneous check ( #459 )
...
A directory can be open more than one time. This fix issues with
homebrews opening the same directory multiple time.
2018-10-16 23:55:10 +00:00
HorrorTroll
76330b10b4
Add G8R8Unorm, G8R8Snorm, B8G8R8A8, D24_S8 Uint, R8Uint, R32Uint ( #426 )
...
* Implement B5G6R5Unorm & BGR5A1Unorm
* Fix R8G8 Unorm to G8R8 Unorm
* Added back R8G8 Unorm
* Fix G8R8Unorm, add R8G8B8A8
* Add D24_S8 Uint
* Add R8Uint & R32Uint
* Another fixed
* Reverting back
* R8G8B8A8 change to B8G8R8A8
* Add G8R8 Snorm
2018-10-14 18:23:23 -03:00
HorrorTroll
b0cfe2fb1f
Add RG16Unorm & R16Uint ( #456 )
...
* Implement B5G6R5Unorm & BGR5A1Unorm
* Add RG16Unorm, R16Uint
2018-10-14 18:20:10 -03:00
gdkchan
72317d7777
Add support for saturation on some shader instructions, fix ReadTexture alignment and add ColorMask support ( #451 )
...
* Add support for saturation on some shader instructions, fix ReadTexture alignment
* Add ColorMask support, other tweaks
2018-10-13 23:54:14 -03:00
LDj3SNuD
894459fcd7
Add Fmls_Se, Fmulx_Se/Ve, Smov_S Inst.; Opt. Clz/Clz_V, Cnt_V, Shl_V, S/Ushr_V, S/Usra_V Inst.; Add 11 Tests. Some fixes. ( #449 )
...
* Update AOpCodeTable.cs
* Update AInstEmitSimdMove.cs
* Update AInstEmitSimdArithmetic.cs
* Update AInstEmitSimdShift.cs
* Update ASoftFallback.cs
* Update ASoftFloat.cs
* Update AOpCodeSimdRegElemF.cs
* Update CpuTestSimdIns.cs
* Update CpuTestSimdRegElem.cs
* Create CpuTestSimdRegElemF.cs
* Update CpuTestSimd.cs
* Update CpuTestSimdReg.cs
* Superseded Fmul_Se Test. Nit.
* Address PR feedback.
* Address PR feedback.
* Update AInstEmitSimdArithmetic.cs
* Update ASoftFallback.cs
* Update AInstEmitAlu.cs
* Update AInstEmitSimdShift.cs
2018-10-13 23:35:16 -03:00
Thomas Guillemard
ac1a379265
Fix some issues with UserId ( #455 )
2018-10-14 02:07:56 +00:00
Ac_K
3561062bc6
Update IAccountService and IManagerForApplication ( #454 )
...
* Update IAccountService and IManagerForApplication
`IAccountService`:
- Add symbols.
- Fix some mistake.
- Add `IsUserRegistrationRequestPermitted` and `TrySelectUserWithoutInteraction`.
`IManagerForApplication`:
- Add symbols.
- Add Uuid args.
- Little improvement of `GetAccountId`
2018-10-14 01:16:02 +02:00
Ac_K
824d4b74d0
Update UInt128.cs ( #453 )
...
Fix invalid Write implementation.
2018-10-13 23:29:49 +02:00
gdkchan
aa1cd849cf
Quads, QuadStrip, const attributes and half-float attributes support ( #447 )
...
* Quads, QuadStrip and const attributes support
* Add support for half float attributes and fix texture pitch alignment
* Throw when an unsupported float type is used as const attribute aswell
2018-10-13 01:37:01 +00:00
gdkchan
dd3cb33c9f
Fix race condition on OpenALAudioOut ( #448 )
2018-10-12 18:47:53 -03:00
Thomas Guillemard
b2063be597
Implement IResolver ( #442 )
...
* Implement IResolver
- GetAddrInfo & GetNameInfo still need to be implemented.
* Address comments
* Use MakeError
2018-10-10 01:15:07 +02:00
Thomas Guillemard
d5c0de8362
Implement IRoInterface ( #445 )
...
* Implement IRoInterface
This is required by Super Mario Party.
This commit also adds MapProcessCodeMemory and UnmapProcessCodeMemory functions in KMemoryManager. Those two calls might not reflect what the SVC of the same names do.
* Fix some code style issues
* Use MakeError to clarify error code
* Add NRR and NRO constants
* Fix some codestyle issues
* Fix InvalidMemoryState error code
2018-10-10 01:01:49 +02:00
Thomas Guillemard
65c67bb4a5
Break: don't crash when bit 31 is set ( #444 )
2018-10-08 20:53:08 +02:00
gdkchan
74ca82c534
Tweak cpu cache deletion policy values ( #433 )
...
* Tweak cpu cache deletion policy values
* Address PR feedback
2018-10-07 23:40:37 -03:00
emmauss
625fc8c0e0
Stubs Again ( #439 )
...
* stub/implement audren commands
* stub ISelfController get/set IdleTimeDetectonExtension
* stub irs
* add irs logclass, stub mmu:u irequest 1
* style fixes, addressed comments
2018-10-07 17:12:11 +02:00
emmauss
caa181edf2
Save Common implementation ( #434 )
...
* save common implementation
* remove zero userid check
* Renamed UserId to UInt128
* fix index in hex conversion
2018-10-07 15:13:46 +02:00
Ac_K
5b8ccb717f
Implement ISslContext ( #440 )
...
This PR implement an empty `ISslContext` and update `CreateContext` and `SetInterfaceVersion` inside `ISslService`
2018-10-07 00:16:42 +02:00
Alex Barney
5821ff675d
Misc content loading improvements ( #432 )
...
* Misc content loading improvements
2018-10-06 18:11:47 +03:00
LDj3SNuD
bba9bf97d0
Add 9+7 fast/slow FP inst. impls.; add 14 FP Tests. ( #437 )
...
* Update CpuTest.cs
* Delete CpuTestSimdCmp.cs
Obsolete.
* Update CpuTestSimdArithmetic.cs
Superseded.
* Update CpuTestSimd.cs
* Update CpuTestSimdReg.cs
* Update AInstEmitSimdArithmetic.cs
* Update AInstEmitSimdHelper.cs
* Update ASoftFloat.cs
* Nit.
* Update AOpCodeTable.cs
* Update AOptimizations.cs
* Update AInstEmitSimdArithmetic.cs
* Update ASoftFloat.cs
* Update CpuTest.cs
* Update CpuTestSimd.cs
* Update CpuTestSimdReg.cs
* Update AOpCodeTable.cs
* Update AInstEmitSimdArithmetic.cs
* Update ASoftFloat.cs
* Update CpuTestSimdReg.cs
* Update AOpCodeTable.cs
* Update AInstEmitSimdArithmetic.cs
* Update ASoftFloat.cs
* Update CpuTestSimd.cs
* Update CpuTestSimdReg.cs
2018-10-05 22:45:59 -03:00
emmauss
0254a84f90
Merge pull request #436 from emmauss/hidhandles
...
Fix Out of Handles error in HidServer
2018-09-28 13:50:15 +03:00
emmaus
0ada047eaf
fix out of handles error
2018-09-28 10:47:53 +00:00
gdkchan
0b52ee6627
Optimize BIC, BSL, BIT, BIF, XTN, ZIP, DUP (Gp), FMADD (Scalar) and FCVT (Scalar) using SSE intrinsics ( #405 )
...
* Optimize BIC, BSL, BIT, BIF, XTN, ZIP, DUP (Gp), FMADD (Scalar) and FCVT (Scalar) using SSE intrinsics, some CQ improvements
* Remove useless space
* Address PR feedback
* Revert EmitVectorZero32_128 changes
2018-09-26 23:30:21 -03:00
Ac_K
40282da93a
Implement friend:a IFriendService: 10101 ( #429 )
...
* Implement friend:a IFriendService: 10101
* Update Profile Picture
* Update IFriendServiceTypes.cs
* Update IFriendServiceTypes.cs
* Update IFriendService.cs
* Update IFriendServiceTypes.cs
* Update IFriendServiceTypes.cs
* Update IFriendService.cs
2018-09-25 19:59:29 -03:00
ReinUsesLisp
2562ca6c3f
Fix multiple rendertargets ( #427 )
...
* Simplify render target bindings
* Implement multiple viewports
* Pack glViewportIndexed calls into a single glViewportArray
* Use ARB_viewport_array when available
* Cache framebuffer attachments
* Use get accessors in OGLExtension
* Address feedback
2018-09-26 00:55:30 +02:00
gdkchan
7de7b559ad
Improve kernel events implementation ( #430 )
...
* Improve kernel events implementation
* Some cleanup
* Address PR feedback
2018-09-23 20:11:46 +02:00
gdkchan
54ed9096bd
Add FMAXP and FMINP (Vector) instructions on the CPU ( #412 )
...
* Add FMAXP and FMINP (Vector) instructions on the CPU
* Address PR feedback
2018-09-22 17:26:18 -03:00
Ac_K
a76660eac5
Fix IHidServer code style
2018-09-21 06:30:58 +02:00
Ac_K
e77c1560e6
Full 5.X stubbed IHidServer ( #428 )
...
* Full 5.X stubbed IHidServer
Since we can't support all those Hid calls in the right way, we can stub them with more information as possible in the logs.
I have added all symbols in it to be more revelant as possible.
It's remove some Hid spam in few games too, because we assign some var as the game want.
* Fix issues
* Fix code according to review
2018-09-21 02:08:35 +02:00
ReinUsesLisp
47a62e826f
Implement DepthWriteMask and add R16G16 ( #425 )
2018-09-19 22:02:11 -03:00
ReinUsesLisp
bed13f2022
General improvements for GpuResourceManager ( #421 )
...
* General improvements to GpuResourceManager
* Address feedback
* Address feedback
2018-09-19 18:26:49 -03:00
ReinUsesLisp
e04221b293
Fixup SSY ( #424 )
2018-09-19 17:11:05 -03:00
gdkchan
6d65e53664
Remove cold methods from the CPU cache ( #224 )
...
* Remove unused tracing functionality from the CPU
* GetNsoExecutable -> GetExecutable
* Unsigned comparison
* Re-add cpu tracing
* Config change
* Remove cold methods from the translation cache on the cpu
* Replace lock with try lock, pass new ATranslatorCache instead of ATranslator
* Rebase fixups
2018-09-19 17:07:56 -03:00
gdkchan
99b2692425
Fix performance regression caused by the new scheduler changes ( #422 )
...
* Call interrupt less often, remove some leftovers from the old scheduler code
* Remove unneeded attribute
2018-09-19 12:16:20 -03:00
emmauss
fae097408e
Show Game Title on Titlebar ( #408 )
...
* support reading control data
* show game info on titlebar
* use first language is default is not available
* use seperate language enums for titles
* fix hex display
2018-09-19 14:09:49 +02:00
gdkchan
b8133c1997
Thread scheduler rewrite ( #393 )
...
* Started to rewrite the thread scheduler
* Add a single core-like scheduling mode, enabled by default
* Clear exclusive monitor on context switch
* Add SetThreadActivity, misc fixes
* Implement WaitForAddress and SignalToAddress svcs, misc fixes
* Misc fixes (on SetActivity and Arbiter), other tweaks
* Rebased
* Add missing null check
* Rename multicore key on config, fix UpdatePriorityInheritance
* Make scheduling data MLQs private
* nit: Ordering
2018-09-18 20:36:43 -03:00
gdkchan
33e2810ef3
Fix d32s8 format on OGLEnumConverter ( #420 )
2018-09-18 13:27:12 -03:00
gdkchan
d6fba62f8a
Misc fixes on the arena allocator ( #364 )
2018-09-18 12:28:28 -03:00
gdkchan
d4187aaa9d
Allow "reinterpretation" of framebuffer/zeta formats ( #418 )
...
* (Re)Implement format reinterpretation, other changes
* Implement writeback to guest memory, some refactoring
* More refactoring, implement reinterpretation the old way again
* Clean up
* Some fixes on M2MF (old Dma engine), added partial support for P2MF, fix conditional ssy, add Z24S8 zeta format, other fixes
* nit: Formatting
* Address PR feedback
2018-09-18 01:30:35 -03:00
gdkchan
bec95cacc1
Ensure that buffers are available after a signal when GetReleasedBuffers is called ( #369 )
2018-09-18 00:12:47 -03:00
LDj3SNuD
c7387be0d2
Fix/Add 1+12 [Saturating] [Rounded] Shift Right Narrow (imm.) Instructions; add 14 Tests. Add 6 Tests for PR#405. Add 2 Tests for PR#412. ( #409 )
...
* Update AOpCodeTable.cs
* Update AInstEmitSimdShift.cs
* Update CpuTestSimdShImm.cs
* Update AInstEmitSimdArithmetic.cs
* Update AInstEmitSimdHelper.cs
* Create CpuTestSimdIns.cs
* Update CpuTest.cs
* Update CpuTestSimd.cs
* Update CpuTestSimdReg.cs
* Update CpuTest.cs
* Update CpuTestSimd.cs
* Update CpuTestSimdReg.cs
* Update CpuTestSimd.cs
* Update CpuTestSimdReg.cs
* Update CpuTest.cs
* Update CpuTestSimdReg.cs
* Update CpuTestSimd.cs
2018-09-17 01:54:05 -03:00