summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2015-02-11arm: Get rid of some magic constants. Specify proper ARM mode.Lioncash
Initially, we were starting the emulator in USER26MODE, which is incorrect, this should be USER32MODE.
2015-02-11arm: Change some more constants into enumsLioncash
2015-02-10arm: Remove TRUE/FALSE definesLioncash
- Removed the Debug parameter from ARMul_State since it isn't used. - Changed ARMul_CoProInit to a void function. It always returned true.
2015-02-10Merge pull request #553 from lioncash/denormbunnei
vfp: Normalize accumulator for multiply accumulate instructions
2015-02-10dyncom: Add more regs to MCR/MRCLioncash
Adds the registers that were left out of some coprocessor ranges.
2015-02-10vfp: Normalize accumulator for multiply accumulate instructionsLioncash
2015-02-10Merge pull request #543 from Alegend45/masterTony Wasserka
Add more blend equations from 3dbrew
2015-02-09Scheduler refactor Pt. 1Kevin Hartman
* Simplifies scheduling logic, specifically regarding thread status. It should be much clearer which statuses are valid for a thread at any given point in the system. * Removes dead code from thread.cpp. * Moves the implementation of resetting a ThreadContext to the corresponding core's implementation. Other changes: * Fixed comments in arm interfaces. * Updated comments in thread.cpp * Removed confusing, useless, functions like MakeReady() and ChangeStatus() from thread.cpp. * Removed stack_size from Thread. In the CTR kernel, the thread's stack would be allocated before thread creation.
2015-02-09Merge pull request #551 from bunnei/mutex-fixesbunnei
Mutex/synch fixes
2015-02-09Mutex: Locks should be recursive.bunnei
2015-02-09WaitSynch: Always reschedule (verified behavior on hw).bunnei
2015-02-09Add more blend equations from 3dbrewDarius Goad
2015-02-09vfpdouble: Fix the FTOUI NaN sign settingLioncash
This was fixed for vfpsingle, but not vfpdouble
2015-02-09Throw more unused/unnecessary VFP code outLioncash
2015-02-09vfp_helper: Convert some flags to enums. Throw out more duplicated FPSCR stuffLioncash
2015-02-09vfp_helper: Normalize tabs to spacesLioncash
2015-02-07Fix a wrong file name in a commentchinhodado
2015-02-06vfp_helper: Remove unnecessary extern C blocksLioncash
2015-02-06vfp: Move FPSID, FPEXC, and FPSCR values over to enums.Lioncash
Also got rid of duplicate definitions of some of these values.
2015-02-05Merge pull request #535 from bunnei/color-modifiersTony Wasserka
Implement color/alpha modifiers
2015-02-04Rasterizer: Implement the other color and alpha modifiers.bunnei
2015-02-04VideoCore: Added same-component swizzlers to math utility functions.bunnei
2015-02-04Merge pull request #537 from lioncash/vfpbunnei
vfp: Fix VCVT
2015-02-04Merge pull request #536 from lioncash/deadbunnei
vfp: Throw out unused code
2015-02-04vfp: Fix VCVTLioncash
These variants exclusively read from the single precision regs and write to double-precision registers Fixes issues where converted values would be way off from what they should be due to the results being stored in the wrong registers.
2015-02-04vfp: Throw out unused codeLioncash
2015-02-03Merge pull request #534 from neobrain/disassembler-improvementsTony Wasserka
Disassembler improvements
2015-02-03citra-qt: Fix horrible scrolling responsiveness in disassembler by giving ↵Tony Wasserka
the uniformRowHeight hint.
2015-02-03citra-qt: Fix a crash when double-clicking a disassembler list item.Tony Wasserka
2015-02-03dyncom: Remove more unnecessary codeLioncash
2015-02-03core: Fix some warnings on OSXLioncash
2015-02-02Kernel: Stop creating useless Handles during object creationYuri Kunde Schlesner
They're finally unnecessary, and will stop cluttering the application's handle table.
2015-02-02Kernel: Make WaitObjects share ownership of Threads waiting on themYuri Kunde Schlesner
During normal operation, a thread waiting on an WaitObject and the object hold mutual references to each other for the duration of the wait. If a process is forcefully terminated (The CTR kernel has a SVC to do this, TerminateProcess, though no equivalent exists for threads.) its threads would also be stopped and destroyed, leaving dangling pointers in the WaitObjects. The solution is to simply have the Thread remove itself from WaitObjects when it is stopped. The vector of Threads in WaitObject has also been changed to hold SharedPtrs, just in case. (Better to have a reference cycle than a crash.)
2015-02-02Explicitly instantiate constructors/destructors for Kernel objectsYuri Kunde Schlesner
This should speed up compile times a bit, as well as enable more liberal use of forward declarations. (Due to SharedPtr not trying to emit the destructor anymore.)
2015-02-02Mutex: Replace g_mutex_held_locks with a set inside ThreadYuri Kunde Schlesner
2015-02-02HID: Fix crash when pressing a key when the emulator is stoppedYuri Kunde Schlesner
2015-02-02SVC: Enable CloseHandle, clean up DuplicateHandleYuri Kunde Schlesner
2015-02-02Kernel: Fix bug in HandleTable::CloseYuri Kunde Schlesner
2015-02-02Kernel: Remove Object::GetHandle (it's not used anymore :D)Yuri Kunde Schlesner
2015-02-02Kernel: Introduce unique Object ids for debuggingYuri Kunde Schlesner
2015-02-02Kernel: Use separate Handle tables for CoreTiming userdataYuri Kunde Schlesner
This is to support the removal of GetHandle soon
2015-02-02Kernel: Remove previous scheduled event when a Timer is re-SetYuri Kunde Schlesner
2015-02-02FS: Remove use of GetHandleYuri Kunde Schlesner
2015-02-02Thread: Modernize two functions that slipped through previous rebasesYuri Kunde Schlesner
2015-02-02Service: Store function names as const char* instead of std::stringYuri Kunde Schlesner
Uses less memory (strings and function table is stored in constant data) and speeds up start up (no need to allocate and copy strings).
2015-02-02Service: Clean-up InterfaceYuri Kunde Schlesner
2015-02-02Make Port/Service registration and querying more HW-accurateYuri Kunde Schlesner
2015-02-02Filesys: Move creation of Handles for File/Directory to service handlersYuri Kunde Schlesner
2015-02-01Merge pull request #517 from bunnei/blend-factorsTony Wasserka
Pica: Implement blend factors.
2015-02-01Merge pull request #514 from rohit-n/fix-warningsbunnei
Silence a few warnings.