Commit Graph

1367 Commits (542b0b0057fcfa54ecc31dfe30d9bb435ca8f722)

Author SHA1 Message Date
Lioncash 5e16216afb armemu: Simplify REVSH/UXTH/UXTAH 11 years ago
Yuri Kunde Schlesner 7e2903cb74 Kernel: New handle manager
This handle manager more closely mirrors the behaviour of the CTR-OS
one. In addition object ref-counts and support for DuplicateHandle have
been added.

Note that support for DuplicateHandle is still experimental, since parts
of the kernel still use Handles internally, which will likely cause
troubles if two different handles to the same object are used to e.g.
wait on a synchronization primitive.
11 years ago
Yuri Kunde Schlesner 23f2142009 Kernel: Replace GetStaticHandleType by HANDLE_TYPE constants 11 years ago
Yuri Kunde Schlesner 73fba22c01 Rename ObjectPool to HandleTable 11 years ago
Lioncash 059c65a27a armemu: Fix underflows in USAD8/USADA8
Initially reported by xdec.
11 years ago
xdec 8de09d87ab Fix crash when the disassembler pause button is pressed while no game is running. 11 years ago
Lioncash af69b0840b dyncom: Implement UQADD8, UQADD16, UQSUB8, UQSUB16, UQASX, and UQSAX. 11 years ago
Lioncash 60523113a9 armemu: Implement UQADD8, UQADD16, UQSUB16, UQASX, and UQSAX 11 years ago
Lioncash 52d889d85d dyncom: Implement UHADD8, UHADD16, UHSUB8, UHSUB16, UHASX, and UHSAX 11 years ago
bunnei b48ca7878b Merge pull request #348 from lioncash/uhops
armemu: Implement UHADD8, UHADD16, UHSUB8, UHSUB16, UHASX, and UHSAX
11 years ago
Lioncash 84a0438cf5 armemu: Implement UHADD8, UHADD16, UHSUB8, UHSUB16, UHASX, and UHSAX 11 years ago
bunnei a2005d0657 GPU: Change internal framerate to 30fps. 11 years ago
bunnei 01c675685e Merge pull request #327 from Apology11/master
Fix visual studio ambiguous symbol error
11 years ago
Daniel Lundqvist 7e3f62a367 Remove duplicate work 11 years ago
Daniel Lundqvist ba4ca041f4 Allow focus only when in popout mode
Only allow manually setting focus to the rendering widget when in Single Window mode. Apply this behavior to when changing the mode while an app is running.
11 years ago
bunnei e5ddbfee02 Merge pull request #339 from bunnei/fixup-gsp-synch
Fixup gsp synch
11 years ago
bunnei 5d2ee78d8f Merge pull request #330 from purpasmart96/new_srv
More services & small clean ups
11 years ago
bunnei 5799025ac4 GPU: Further improve synchronization. 11 years ago
bunnei 4783133bbd ARM: Add a mechanism for faking CPU time elapsed during HLE.
- Also a few cleanups.
11 years ago
purpasmart96 9796bc1fa2 More services & small clean ups 11 years ago
bunnei 9c8ec675d9 Merge pull request #343 from lioncash/smmla
armemu: Implement SMMUL, SMMLA, and SMMLS.
11 years ago
bunnei 254567056f Merge pull request #341 from lioncash/moresmops
armemu: Implement SMLALD/SMLSLD
11 years ago
Daniel Lundqvist 9d90b26020 Allow focus on the Qt render widget
By default widgets are set to the focus policy Qt::NoFocus which disallows manually focusing it. Changing the policy to allow clicking the widget to set focus to it allows for keyboard input when not rendering to a popout window. This commit also sets focus to the widget when showing it.

Fixes issue #158.
11 years ago
Lioncash 35dbfc7ab0 armemu: Implement SMMUL, SMMLA, and SMMLS. 11 years ago
Lioncash 82c3962b95 armemu: Implement SMLALD/SMLSLD 11 years ago
Lioncash 6b7808e412 armemu: Fix GE/Q flag setting semantics 11 years ago
Emmanuel Gil Peyrot bbe0bf1332 FileSys: Clean up according to the coding style, and remove redundant namespaced names. 11 years ago
bunnei 2bbbe68399 Merge pull request #328 from archshift/writeable
Stubbed IsSdmcWriteable to always return writeable.
11 years ago
archshift 81a538ccc2 Stubbed IsSdmcWriteable to always return writeable. 11 years ago
Lioncash 20fc5f2a35 armemu: Set the Q flag correctly for much of the other ops
They were setting the old S flag.
11 years ago
Lioncash 79a7a432c5 armemu: Set the Q flag properly for SMLAD/SMUAD 11 years ago
bunnei d31a94f06b Merge pull request #334 from lioncash/cpsr
armemu: Fix retrieval of the CPSR in MRS instructions.
11 years ago
bunnei 53447da142 Merge pull request #335 from lioncash/cpsrcreate
armemu: Emulate the GE and Q flags.
11 years ago
Lioncash 6446331938 armemu: Properly set the Q flag for SSAT16/USAT16 upon saturation. 11 years ago
Lioncash f66d356938 armemu: Fix SEL
Needs to use the updated state of the CPSR.
11 years ago
Lioncash 8e2accd974 armemu: Fix construction of the CPSR 11 years ago
Lioncash 8c72322422 armemu: Fix retrieval of the CPSR in MRS instructions. 11 years ago
bunnei 949d95659e Merge pull request #275 from yuriks/cmake-clean
Clean up CMake library specification
11 years ago
Lioncash 97f3e884d2 dyncom: Move over QADD16/QASX/QSAX/QSUB16 11 years ago
bunnei 2188af4a65 Merge pull request #322 from chinhodado/master
More warning cleanups
11 years ago
bunnei ae76469373 Merge pull request #332 from lioncash/sel
dyncom: Move SEL over
11 years ago
bunnei ec1ddc17e2 Merge pull request #312 from Subv/still_more_savedata_stuff
CFG: Implemented the GetConfigInfoBlk2 function.
11 years ago
Lioncash 245276c9cc dyncom: Move SEL over 11 years ago
bunnei 770b274c86 Merge pull request #324 from lioncash/dync
dyncom: Move over SASX/SSAX/SADD16/SSUB16
11 years ago
Lioncash c6f27055c9 dyncom: Move over SASX/SSAX/SADD16/SSUB16 11 years ago
Subv 2030f9d946 CFG: Fixed some warnings and errors in Clang 11 years ago
Subv 304735fb52 CFG: More style changes 11 years ago
Subv f080e3ccfa CFGU: Indentation 11 years ago
Subv 6f304d3b00 CFG: Some indentation 11 years ago
Subv b3cee19289 CFG: Changed the CreateConfigInfoBlk search loop 11 years ago
Subv 3e94b9054c CFG: Corrected the licenses in cfg_i.cpp and cfg_u.cpp 11 years ago
Subv 6115f013a9 CFG: Create a new subfolder cfg inside service to handle cfg
Moved most of the shared CFG code there, implemented a few CFG:I functions
11 years ago
Subv 9e45240e23 CFGU: Some changes 11 years ago
Subv cdd78fa01d CFGU: Addressed some issues. 11 years ago
Subv 718a120754 CFGU: Addressed some comments. 11 years ago
Subv a1b9b80a55 Style: Addressed some comments 11 years ago
Subv a7cc7972de CFG_U: Use Common::make_unique instead of the std version 11 years ago
Subv 9029efd873 CFG:U: Implemented some more blocks 11 years ago
Subv 8b0ee93526 CFG: Implemented block 0x00070001 in the config savefile 11 years ago
Subv b3d1c8ba6a CFGU: Use an absolute offset in the config savefile blocks 11 years ago
Subv 95ca6ae1e1 CFG: Load the Config savedata file if it already exists. 11 years ago
Subv b49bdb6ba7 CFGU: Added block 0x000A0002 to the default savegame file
That's the language id block, we're using LANGUAGE_EN for now. This block allows some games to boot further
11 years ago
Subv 4cd21b43c1 CFG: Refactored how the config file works.
It is now kept in memory as per 3dbrew, all updates happen on memory, then they can be saved using UpdateConfigNANDSavegame.
11 years ago
Subv 462740278d CFG:U: Add some data to the 0x00050005 config block.
Seems to allow some games to boot further, thanks @Normmatt for sharing this information
11 years ago
Subv fa3d72ab3e CFG: Implemented the GetConfigInfoBlk2 function.
Added a "config" file to the CFG process service (CFG:U), and added a few default blocks to it.

Implemented GetSystemModel and GetModelNintendo2DS
11 years ago
bunnei 0de6a08d75 Merge pull request #291 from purpasmart96/license
License change
11 years ago
Apology11 8d81e23d6e Fix visual studio ambiguous symbol error 11 years ago
Chin 0199a7d9ef More warning cleanups 11 years ago
bunnei 572ce043c2 Merge pull request #271 from archshift/createf
Added CreateFile to the FS_USER service
11 years ago
archshift 0625dd09ea Added CreateFile to the FS_USER service
Tested with hwtests.
11 years ago
purpasmart96 ebfd831ccb License change 11 years ago
bunnei 0f696037f6 Merge pull request #323 from lioncash/saddsub
armemu: Implement SADD8/SSUB8
11 years ago
bunnei 4fcdbed9f6 Thread: Wait current thread on svc_SleepThread
- Removed unused VBLANK sleep mode
- Added error log for bad context switch
- Renamed VerifyWait to CheckWaitType to be more clear
11 years ago
Lioncash 855eda6f85 armemu: Implement SADD8/SSUB8 11 years ago
bunnei 2e5869c939 Merge pull request #316 from yuriks/thread-handle
Kernel: Implement support for current thread pseudo-handle
11 years ago
bunnei 0e9262885d Merge pull request #296 from lioncash/dyn
dyncom: Implement UMAAL
11 years ago
bunnei 993afd3bf0 Merge pull request #310 from lioncash/ssat16
armemu: Fix SSAT16.
11 years ago
Lioncash 2a097f0990 armemu: Should be using labs for USAD8/USADA8 11 years ago
bunnei 7095c4959b Merge pull request #311 from lioncash/usada
armemu: Implement USAD8 and USADA8
11 years ago
bunnei 52bc58283d Merge pull request #313 from lioncash/smlsd
armemu: Implement SMLSD
11 years ago
bunnei 1c50a036dd Merge pull request #314 from lioncash/qsax-qasx
armemu: Implement QASX and QSAX
11 years ago
Tony Wasserka 08f42c2b8c Pica/VertexShader: Promote a log message to critical status. 11 years ago
Tony Wasserka 17f31de364 Pica/VertexShader: Small optimization. 11 years ago
Tony Wasserka a664574ecb Pica/VertexShader: Be robust against invalid inputs.
More specifically, this also fixes crashes by Citra trying to load a src2 register even if the current instruction does not use that.
11 years ago
Tony Wasserka ad5db467d7 Pica/VertexShader: Clarify a comment. 11 years ago
Tony Wasserka 871418e62b Pica/DebugUtils: Further cleanups to LookupTexture. 11 years ago
Tony Wasserka 88e9efe4b8 Pica/DebugUtils: Fix two warnings. 11 years ago
Tony Wasserka 6e275778c9 Pica/DebugUtils: Better document LookupTexture. 11 years ago
Tony Wasserka e4e9710d18 Pica/Rasterizer: Get rid of C-style casts. 11 years ago
Tony Wasserka d81370682f Pica/DebugUtils: Make a number of variables static.
Makes for cleaner and faster code.
11 years ago
Tony Wasserka 6bd41de276 Pica/VertexShader: Cleanup flow control logic and implement CMP/IFU instructions. 11 years ago
Tony Wasserka 22afb9d830 Pica/VertexShader: Run instruction handlers according to the effective opcode.
This allows for proper emulation of the different CMP/LRP/MAD instructions.
11 years ago
Tony Wasserka cd163fb59a Pica/VertexShader: Implement MAX instructions. 11 years ago
Tony Wasserka aff808b2fd Pica: Add support for boolean uniforms. 11 years ago
Tony Wasserka 67618a2c55 Pica/VertexShader: Add support for MOVA, CMP and IFC. 11 years ago
Tony Wasserka cb1804e0ab Pica/VertexShader: Move code around a bit. 11 years ago
Tony Wasserka b85524c760 Pica/VertexShader: Some cleanups using std::array. 11 years ago
Tony Wasserka ce36ad454e Pica/VertexShader: Support negating src2. 11 years ago
Tony Wasserka cc5746abfe Pica/DebugUtils: Replace duplicated SHBIN structures in favor of nihstro's ones. 11 years ago
Tony Wasserka 8ce1d32460 Pica/VertexShader: Remove (now) duplicated shader bytecode definitions in favor of nihstro's ones. 11 years ago
Tony Wasserka 79c29243ed Pica/DebugUtils: Add an event triggered after loading a vertex. 11 years ago
Tony Wasserka cd322e328e Pica/PrimitiveAssembly: Implement triangle strips. 11 years ago
Tony Wasserka 346012f29e Pica/CommandProcessor: Add a safety check for invalid (?) GPU configurations. 11 years ago
Tony Wasserka 1e960e9ee2 Pica/CommandProcessor: Fix vertex decoding if multiple memory areas are accessed for different attributes. 11 years ago
Tony Wasserka 1c972ef3b9 Add support for a ridiculous number of texture formats. 11 years ago
Tony Wasserka 40f123b7c0 Pica: Unify ugly address translation hacks. 11 years ago
Tony Wasserka 7e210e0229 Pica: Further improve Tev emulation. 11 years ago
Tony Wasserka 3df88d59b0 Pica: Merge texture lookup logic for DebugUtils and Rasterizer.
This effectively adds support for a lot texture formats in the rasterizer.
11 years ago
Tony Wasserka 0fba1d48a6 Pica: Implement texture wrapping. 11 years ago
Tony Wasserka c81f1a9ebc Pica/DebugUtils: Add support for RGBA8, RGBA5551, RGBA4 and A8 texture formats. 11 years ago
Tony Wasserka 782592e6d3 citra-qt: Fix invalid memory read upon program startup.
This was caused by the framebuffer display widget not checking whether we are actually in a valid emulation state or not.
11 years ago
Tony Wasserka fd2539121c Pica: Initial support for multitexturing. 11 years ago
Tony Wasserka 95be6a09b2 BitField: Add an explicit Assign method.
This is useful when doing crazy stuff like inheriting from BitField.
11 years ago
Tony Wasserka 8cd0d9c000 citra-qt: static-constify a map. 11 years ago
bunnei 2b0d7a1d29 Merge pull request #315 from chinhodado/master
Clean up some warnings
11 years ago
Chin e795692614 Clean up some warnings 11 years ago
Yuri Kunde Schlesner 82528ba7df Common: Add a clone of std::make_unique 11 years ago
Yuri Kunde Schlesner adee775f44 Kernel: Implement support for current thread pseudo-handle
This boots a few (mostly Nintendo 1st party) games further.
11 years ago
bunnei f1309e6bf0 Merge pull request #306 from Subv/even_more_savedata
SaveData: Added some documentation to FormatSaveData
11 years ago
Subv fc73bef692 FS_U: Added the command to the docs of SaveData functions 11 years ago
bunnei eb394ac0af Merge pull request #309 from chinhodado/patch-1
Properly erase/remove a DebuggerObserver
11 years ago
bunnei 245abb4125 Merge pull request #294 from lioncash/var
armemu: Narrow the scope of some variables in handle_v6_insn
11 years ago
bunnei dc5d1a9061 Merge pull request #305 from lioncash/paren
armemu: Get rid of bitwise parenthesis warnings
11 years ago
chinhodado d31c23e958 Properly erase/remove an observer 11 years ago
Lioncash 4b506cec01 armemu: Implement QASX and QSAX 11 years ago
Lioncash 0f3a6a161c armemu: Implement SMLSD 11 years ago
Lioncash 4a646ace1f dyncom: Implement UMAAL 11 years ago
bunnei 017e6a488e Merge pull request #302 from purpasmart96/flushshutup
GSP_GPU: Shut up FlushDataCache
11 years ago
Lioncash 00e8ec4a9e armemu: Implement USAD8 and USADA8 11 years ago
Lioncash 92c53fe522 armemu: Fix SSAT16
The lower-bound would never be negative like it should
11 years ago
Lioncash b9fc0b4b80 armemu: Clean up naming and formatting for SSAT16 11 years ago
purpasmart96 b2c64eb5ff GSP_GPU: Shut up FlushDataCache 11 years ago
bunnei 765dbabdb6 Merge pull request #308 from Subv/more_savedata
SystemSaveData: Fixed a typo that was segfaulting
11 years ago
Subv 78e0f36857 SystemSaveData: Fixed a typo that was segfaulting 11 years ago
bunnei 24b5e87279 Merge pull request #304 from lioncash/sflags
armemu: Set GE flags properly for SSUB16, SADD16, SSAX, and SASX.
11 years ago
bunnei 4959e3b2c0 Merge pull request #307 from lioncash/usat16
armemu: Fix USAT16.
11 years ago
bunnei c71f8840e5 Merge pull request #301 from Subv/more_savedata
SaveData: Implemented the SystemSaveData archive.
11 years ago
Subv f9472eda0a SystemSaveData: Added a TODO to move it to the NAND.
Maybe sometime when we actually implement that
11 years ago
Lioncash e683f654ce armemu: Fix lower-bounds clamping for USAT16 11 years ago
Subv 77f0cdfaf4 SaveData: Added some documentation to FormatSaveData
We still don't know what the other parameters do, but they appear to be very similar to those of FormatThisUserSaveData.
Most likely FormatThisUserSaveData is just an alias for FormatSaveData with LowPathType Empty
11 years ago
Lioncash 6b632bbe37 armemu: More concise names for USAT16-related variables 11 years ago
Lioncash eaae0ad502 armemu: Get rid of bitwise parenthesis warnings 11 years ago
Lioncash 4dc8eb40be armemu: Set GE flags correctly for SSUB16, SADD16, SSAX, and SASX. 11 years ago
bunnei 8ac22e7efc Merge pull request #299 from lioncash/join
Combine SSUB16, SADD16, SASX, and SSAX.
11 years ago
Subv bec527fa24 SaveData: Implemented the SystemSaveData archive.
It will be stored in the /syssavedata folder. This archive is user by various Services and possibly games via the FS:U service.
11 years ago
bunnei 797efbde1a Merge pull request #298 from lioncash/flags
armemu: Unset GE flags for UADD8 if results are < 0x100
11 years ago
bunnei a968adf50e Merge pull request #295 from lioncash/umaal
armemu: Implement UMAAL
11 years ago
Lioncash 85c318078d armemu: Combine SSUB16, SADD16, SASX, and SSAX. 11 years ago
bunnei 075126247f Merge pull request #292 from lioncash/backports
Backport more skyeye fixes from 3dmoo
11 years ago
bunnei e00e303275 Merge pull request #297 from lioncash/ssub16
armemu: Fix SSUB16
11 years ago
bunnei 7bae450379 Merge pull request #185 from purpasmart96/mem_perm
Kernel: Add missing permissions
11 years ago
Subv ea9ce0fba7 Filesystem/Archives: Implemented the SaveData archive
The savedata for each game is stored in /savedata/<ProgramID> for NCCH files. ELF files and 3DSX files use the folder 0 because they have no ID information

Got rid of the code duplication in File and Directory

Files that deal with the host machine's file system now live in DiskFile, similarly for directories and DiskDirectory and archives with DiskArchive.

FS_U: Use the correct error code when a file wasn't found
11 years ago
Lioncash 41fee1c940 armemu: Unset GE flags for UADD8 if results are < 0x100
Reference manual states these must be set to zero if this case is true.
11 years ago
Lioncash 58dc554733 armemu: Fix SSUB16
Broken from the same reason SADD16 was.

The lo part of the result should only be constructed from the lo halfwords of rm and rn.
The hi part of the result should only be constructed from the hi halfwords of rm and rn.
11 years ago
bunnei e6f440ea7f Merge pull request #293 from lioncash/sops
armemu: Fix SADD16
11 years ago
bunnei 3e9d4a7917 Merge pull request #287 from lioncash/qaddsub16
armemu: Join QADD16/QSUB16 and fix saturation clamping.
11 years ago
Lioncash 5820dba6b7 armemu: Implement UMAAL 11 years ago
Lioncash 2d91164bb9 armemu: Narrow the scope of some variables in handle_v6_insn
There's no reason to have these in the outer-most scope.
11 years ago
Lioncash 5289a496a7 armemu: Fix SADD16
The lo and hi parts of the result were being constructed as a result of hi and lo halfword intermixing from the rm and rn regs. However the lo part of the result should be constructed only from the lo halfwords of rm and rn, and the hi part of the result should only be constructed from the hi halfwords of rm and rn.
11 years ago
Normmatt 73211dc8fe armemu: Fix PKHTB 11 years ago
Normmatt 8045df14d2 armemu: Implement REVSH 11 years ago
Normmatt bc81cc9490 armemu: Fix UXTAB/UXTAH 11 years ago
Normmatt b5dbd6f2a2 armemu: Fix SXTAB 11 years ago
Normmatt efebd5589a armemu: Fix SXTAH 11 years ago
bunnei fdb4ef5210 Merge pull request #289 from lioncash/smops
Join SMUAD, SMUSD, and SMLAD ops. Also fix them as well.
11 years ago
bunnei ec9ac2f51a Merge pull request #290 from lioncash/vsub
armemu: Backport some VFP fixes from 3dmoo.
11 years ago
Normmatt 9c127f4a01 armemu: Fix FTOUI NaN sign. 11 years ago
Normmatt 2ed03c10e0 armemu: Fix FSUBS bug where NaN shouldn't be negated 11 years ago
Lioncash d5bcddb77c armemu: Fix SMUAD, SMUSD, and SMLAD
Wrong values were being multiplied together.
11 years ago
Lioncash 0f9e3baf39 armemu: Join SMUAD, SMUSD, and SMLAD 11 years ago
Lioncash 4c53799229 armemu: Fix lower-bound signed saturation clamping for QADD16/QSUB16. 11 years ago
Lioncash 49817e89d9 armemu: Join QADD16 and QSUB16 together.
The only difference between these ops is one adds and one subtracts. Everything is literally the same.
11 years ago
bunnei cdfa7157eb Merge pull request #286 from yuriks/msvc-fix
Comment out empty arrays causing compile errors in MSVC
11 years ago
Yuri Kunde Schlesner 082bf803ab Comment out empty arrays causing compile errors in MSVC 11 years ago
bunnei a8098187aa Merge pull request #285 from lioncash/uxtab16
armemu: Implement UXTAB16
11 years ago
bunnei cd2a31eaf4 Merge pull request #283 from yuriks/archive-refactor
Archive refactor
11 years ago
Yuri Kunde Schlesner 666f6deb47 Work around libstdc++'s lack of support for std::hash on enums 11 years ago
Yuri Kunde Schlesner 83e6e4ffec FS.Archive: Clean up treatment of archives and their handles
- Refactor FS::Archive internals to make Archive creation and lifetime
  management clearer.
- Remove the "Archive as a File" hack.
- Implement 64-bit Archive handles.
11 years ago
Yuri Kunde Schlesner 0931a42af0 Service.FS: Rename FileSys::File to FileBackend 11 years ago
Yuri Kunde Schlesner d51afab0bc Service.FS: Rename FileSys::Directory to DirectoryBackend 11 years ago
Yuri Kunde Schlesner 82fe821e87 Service.FS: Rename FileSys::Archive to ArchiveBackend 11 years ago
Yuri Kunde Schlesner f6153679b0 Service.FS: Do archive registration using IdCode instead of name 11 years ago
Yuri Kunde Schlesner ca67bb7945 HLE: Rename namespaces to match move & fix initialization order 11 years ago
Yuri Kunde Schlesner c72ccfa6db HLE: Move kernel/archive.* to service/fs/ 11 years ago
Lioncash 1c7f77334c armemu: Implement UXTAB16 11 years ago
bunnei 5df176425b Merge pull request #282 from archshift/services
Added stubs for ldr:ro, cecd:u, nim:aoc, and am:app services
11 years ago
bunnei 0fd731ee63 Merge pull request #281 from lioncash/uxtb16
armemu: Fix UXTB16
11 years ago
archshift 89eef9eb6d Added stub for nim:aoc service... 11 years ago
archshift 1356a6b313 Added stub for cecd:u service...
I couldn't find any information about this service...
11 years ago
archshift 6117fad036 Added stub for ldr:ro service... 11 years ago
archshift 6b51683bb1 Added am:app service stub.
Apparently nothing at all is known about this service...
11 years ago
Yuri Kunde Schlesner 06f31e8b47 Clean up CMake library specification
The X11 libraries don't need to be specified when doing dynamic linking
11 years ago
Yuri Kunde Schlesner e321decf98 Remove SyncRequest from K::Object and create a new K::Session type
This is a first step at fixing the conceptual insanity that is our
handling of service and IPC calls. For now, interfaces still directly
derived from Session because we don't have the infrastructure to do it
properly. (That is, Processes and scheduling them.)
11 years ago
Lioncash 2b0acd36e1 armemu: Fix UXTB16
Rotation bits are 10 and 11, not 9 and 10.
11 years ago
bunnei 1ee740898a Merge pull request #276 from lioncash/decrappify
Clean up armdefs.h a little.
11 years ago
bunnei 17b4d6747a Merge pull request #246 from Subv/cbranch_1
SVC: Implemented Semaphores
11 years ago
bunnei 2cac148ff3 Merge pull request #273 from bunnei/more-skyeye-fixes
ARM: Pull some SkyEye fixes from 3dmoo.
11 years ago
bunnei d26b7146ce ARM: Pull some SkyEye fixes from 3dmoo. 11 years ago
Lioncash f6cb8c1927 Clean up armdefs.h 11 years ago
Yuri Kunde Schlesner ac87c3b0d0 Restore the original console color after logging a message.
Fixes #277
11 years ago
purpasmart96 23ae8aa4d3 MemMap: Added AXI_WRAM & SHARED_PAGE along with other stuff
Got rid of I/O address's since the I/O addresses range's overlap with other
address's types such as vram, these I/O addresses need to be done in an different
way.
11 years ago
Subv 1051795c32 Kernel/Semaphores: Fixed build 11 years ago
Subv ea95876431 Kernel/Semaphore: Small style change 11 years ago
Subv effb181888 Kernel/Semaphores: Invert the available count checking.
Same semantics, idea by @yuriks
11 years ago
Subv 5e25986235 Kernel/Semaphores: Addressed some issues. 11 years ago
Subv cc81a510e3 Semaphore: Removed an unneeded function 11 years ago
Subv 61434651d8 Semaphores: Addressed some style issues 11 years ago
Subv abff4a7ee2 Semaphore: Implemented the initial_count parameter. 11 years ago
Subv 49b31badba SVC: Implemented ReleaseSemaphore.
This behavior was tested on hardware, however i'm still not sure what use the "initial_count" parameter has
11 years ago
Subv 82c84883a5 SVC: Implemented svcCreateSemaphore
ToDo: Implement svcReleaseSemaphore
* Some testing against hardware needed
11 years ago
Lioncash cfc0ee9c60 kernel: Remove unused log arguments 11 years ago
Yuri Kunde Schlesner 4d2a6f8b9b Remove old logging system 11 years ago
Yuri Kunde Schlesner 0e0a007a25 Add configurable per-class log filtering 11 years ago
Yuri Kunde Schlesner 0600e2d8b5 Convert old logging calls to new logging macros 11 years ago
Yuri Kunde Schlesner 6390c66e95 Implement text path trimming for shorter paths. 11 years ago
Yuri Kunde Schlesner 6b0fb62c47 Re-add coloring to the console logging output. 11 years ago
Yuri Kunde Schlesner 616d874443 New logging system 11 years ago
Yuri Kunde Schlesner 04b1f2936c Add SCOPE_EXIT macro to conveniently execute cleanup actions 11 years ago
Yuri Kunde Schlesner eda30c36ee Added missing include in common_funcs.h 11 years ago
Yuri Kunde Schlesner 8a681cdf3d Remove redundant include from common_funcs.h 11 years ago
bunnei a6791e4fc7 Merge pull request #267 from bunnei/apt-shared-font
APT shared font loading
11 years ago
bunnei 6fe61d3deb APT_U: Added GetSharedFont service function. 11 years ago
Tony Wasserka 33e61ef514 Merge pull request #261 from neobrain/boost
Add Boost as a submodule and add some minor cleanups using Boost.Range
11 years ago
bunnei 988998cca5 DSP: Added stub for ReadPipeIfPossible. 11 years ago
bunnei 5bac72282a Common: Add "sysdata" to GetUserPath and cleanup. 11 years ago
bunnei 4cb7a44d4e MemMap: Renamed "GSP" heap to "linear", as this is not specific to GSP.
- Linear simply indicates that the mapped physical address is always MappedVAddr+0x0C000000, thus this memory can be used for hardware devices' DMA (such as the GPU).
11 years ago
bunnei 3a75c8069e Merge pull request #256 from Subv/mutex
Kernel/Mutex: Properly lock the mutex when a thread enters it
11 years ago
Emmanuel Gil Peyrot 5a3b1b5f44 CFG:U: Store country codes as u16 instead of char pointers, and return the correct error in GetCountryCodeID. 11 years ago
bunnei ae3c6e82f7 Merge pull request #243 from bunnei/fix-gsp-synch
Fix gsp synch
11 years ago
archshift 4763fca9f8 Explicitly specify LE strings to iconv, fixes paths in Steel Diver 11 years ago
bunnei f94d8f9603 GSP: Trigger GPU interrupts at more accurate locations. 11 years ago
bunnei e90b37b935 GSP: Updated TriggerCmdReqQueue to return success code. 11 years ago
bunnei 3e1654eaa8 GSP: Updated RegisterInterruptRelayQueue to return expected magic number. 11 years ago
bunnei 170123982d GPU: Fixed bug in command list size decoding. 11 years ago
Yuri Kunde Schlesner 521e1cb7e0 Remove unused NDMA module 11 years ago
Tony Wasserka 8b8131baec More cleanups. 11 years ago
Tony Wasserka 0305435edd Pica: Re-enable command names on MSVC.
The affected code is no longer limited by compiler support on that platform.
11 years ago
Tony Wasserka ac4d7462cb citra-qt: Rename "Stop Tracing" to "Finish Tracing".
This better reflects that no commands are supposed to show up until you hit the button a second time.
11 years ago
Tony Wasserka 79bb403089 More coding style fixes. 11 years ago
Tony Wasserka 0cd27a511e Some code cleanup. 11 years ago
Tony Wasserka 55ce9aca71 citra-qt: Add pica framebuffer widget. 11 years ago
Tony Wasserka 2793619dce citra_qt: Add enhanced texture debugging widgets.
Double-clicking a texture parameter command in the pica command lists will spawn these as a new tab in the pica command list dock area.
11 years ago
Tony Wasserka fd194d95b0 citra-qt: Add texture viewer to Pica command list.
The texture viewer is enabled when selecting a write command to one of the texture config registers.
11 years ago
Tony Wasserka c63a495de6 Add GUI widget for controlling pica breakpoints. 11 years ago
Tony Wasserka 2c71ec7052 Pica/DebugUtils: Add breakpoint functionality. 11 years ago
Tony Wasserka 706f9c5574 citra-qt: Polish the pica tracing widget.
Changed start/stop button to reflect current tracing status.
Properly labeled column headers.
11 years ago
Tony Wasserka bf6b23f4a0 citra-qt: Add a utility spinbox class called CSpinBox.
This class has a few advantages over the regular QSpinBox:
- QSpinBox stores its as signed 32 bit integers, which for instance is unsuitable for representing memory addresses. CSpinBox uses 64 bit integers instead.
- QSpinBox does not provide an easy way to handle number input from bases different than 10.
- QSpinBox is quite inflexible in general and almost any sort of customization requires reimplementing it anyway.
11 years ago
Tony Wasserka 8db65723d2 Build fix for something which shouldn't have compiled successfully to begin with. 11 years ago
Tony Wasserka 27280f178b Fix some headers to include their dependencies properly. 11 years ago
bunnei b7327f807c Merge pull request #217 from archshift/cmd_buff
Log the cmd_buff arguments when citra comes across an unimplemented function
11 years ago