Commit Graph
100 Commits
Author SHA1 Message Date
bunnei fea21a4742 Merge pull request #564 from yuriks/reupdate-boost
Update ext-boost commit again which got reverted by #500
2015-02-12 09:55:59 -05:00
bunnei 0200414ef9 Merge pull request #558 from kevinhartman/gsp-writereg-mask
Implemented WriteHWRegsWithMask for GSP
2015-02-11 16:08:28 -05:00
bunnei 54de697084 Merge pull request #560 from lioncash/arm32
arm: Remove ARM26 support.
2015-02-11 13:39:49 -05:00
bunnei c51b23b052 Merge pull request #559 from lioncash/clean
arm: Some cleanup. Also fixed the initial ARM mode that is emulated.
2015-02-11 12:02:35 -05:00
bunnei 2fb1e4c9a2 Merge pull request #500 from archshift/assert
Made asserts actually break the debugger, or crash if the program is not in debug mode.
2015-02-10 23:08:04 -05:00
bunnei 168eb27aee GSP: Fixed typo in SignalInterrupt 2015-02-10 19:57:48 -05:00
bunnei 76e7d41f88 Merge pull request #552 from bunnei/setbufferswap-fix
GSP SetBufferSwap fix
2015-02-10 19:21:48 -05:00
bunnei 9eae2400c0 GSP: Call SetBufferSwap for each screen on corresponding signal interrupt. 2015-02-10 19:05:56 -05:00
bunnei ca22ee3239 Merge pull request #526 from purpasmart96/citra_stubs
Services: Stub some functions
2015-02-10 18:39:37 -05:00
bunnei 5b735bdeea Merge pull request #556 from lioncash/clean
arm: Remove TRUE/FALSE defines
2015-02-10 18:28:30 -05:00
bunnei 8f35772bd7 Merge pull request #555 from lioncash/lut
arm_dyncom_thumb: Make lookup tables static
2015-02-10 18:27:47 -05:00
bunnei 27e6e6b3cb Merge pull request #540 from yuriks/multi-archives
FS: Allow multiple instances of the same archive type to be open at once
2015-02-10 18:27:16 -05:00
bunnei 67db6aa4ce Merge pull request #553 from lioncash/denorm
vfp: Normalize accumulator for multiply accumulate instructions
2015-02-10 10:09:45 -05:00
bunnei 695beb8dcf Merge pull request #554 from lioncash/cp15
dyncom: Add more regs to MCR/MRC
2015-02-10 10:09:20 -05:00
bunnei dab0b5cefb Merge pull request #528 from kevinhartman/scheduling-logic
Scheduler refactor Pt. 1
2015-02-10 00:53:06 -05:00
bunnei 848795f383 Merge pull request #551 from bunnei/mutex-fixes
Mutex/synch fixes
2015-02-09 22:17:20 -05:00
bunnei 1b0bf00cbc Mutex: Locks should be recursive. 2015-02-09 22:06:09 -05:00
bunnei caa58acc84 WaitSynch: Always reschedule (verified behavior on hw). 2015-02-09 22:05:39 -05:00
bunnei 837439e7d5 Merge pull request #550 from lioncash/ftoui
vfpdouble: Fix the FTOUI NaN sign setting
2015-02-09 21:01:07 -05:00
bunnei 7dfdbe22de Merge pull request #549 from lioncash/tossed
Throw more unused/unnecessary VFP code out
2015-02-09 13:14:52 -05:00
bunnei 7cc24562b4 Merge pull request #548 from lioncash/nits
Cleanup related to vfp_helper.
2015-02-09 11:20:46 -05:00
bunnei 126c8257b4 Merge pull request #542 from chinhodado/patch-1
Fix a wrong file name in a comment
2015-02-07 22:26:09 -05:00
bunnei c4e636681e Merge pull request #541 from lioncash/nits
Small VFP cleanups.
2015-02-06 15:29:47 -05:00
bunnei 1eb591d6fd Rasterizer: Implement the other color and alpha modifiers. 2015-02-04 22:15:51 -05:00
bunnei 8c93a28fed VideoCore: Added same-component swizzlers to math utility functions. 2015-02-04 22:15:44 -05:00
bunnei 7f900ac68e Merge pull request #537 from lioncash/vfp
vfp: Fix VCVT
2015-02-04 14:58:36 -05:00
bunnei 4d36a6a255 Merge pull request #536 from lioncash/dead
vfp: Throw out unused code
2015-02-04 14:57:00 -05:00
bunnei c8103127d7 Merge pull request #533 from lioncash/unused
dyncom: Remove more unnecessary code
2015-02-03 15:02:10 -05:00
bunnei a9b3f29b90 Merge pull request #483 from yuriks/cmake-fix
CMake: Inform the user when architecture auto-detection fails
2015-02-03 12:42:46 -05:00
bunnei d64c836369 Merge pull request #532 from lioncash/warn
core: Fix some warnings on OSX
2015-02-03 12:40:16 -05:00
bunnei 7f730ed158 Merge pull request #523 from yuriks/kernel-lifetime5
Kernel Lifetime Reform Pt. 5: The Reckoning
2015-02-02 13:04:04 -05:00
bunnei c915d0b727 Merge pull request #514 from rohit-n/fix-warnings
Silence a few warnings.
2015-02-01 00:31:06 -05:00
bunnei c8628f5d56 Merge pull request #525 from lioncash/armwarn
vfp: Get rid of some compile warnings
2015-02-01 00:28:50 -05:00
bunnei a4b1e8ce52 Merge pull request #524 from lioncash/state
arm: Clean up ARMul_State
2015-02-01 00:28:29 -05:00
bunnei 1a82721ad2 Merge pull request #522 from lioncash/adios
arm: Adios armemu
2015-01-31 21:11:34 -05:00
bunnei 72cc512b1e Pica: Implement blend factors. 2015-01-31 01:40:05 -05:00
bunnei dbff4e5e12 Merge pull request #516 from lioncash/cleanup
ARM: More cleanup.
2015-01-30 17:11:12 -05:00
bunnei 88a62b671b Merge pull request #513 from lioncash/cleanup
arm: Cleanup.
2015-01-30 15:30:30 -05:00
bunnei c8c3a94b20 Merge pull request #511 from lioncash/warnings
Fix a few warnings.
2015-01-30 13:57:08 -05:00
bunnei 206cabc0e4 Merge pull request #412 from purpasmart96/svc_table_cleanup
SVC: Update the SVC function table
2015-01-28 17:36:23 -05:00
bunnei 8d4c6a1d5e Merge pull request #510 from bunnei/pica_color_enable
Pica: Implement color/alpha channel enable.
2015-01-28 13:51:45 -05:00
bunnei b522cf4e6a Pica: Implement color/alpha channel enable. 2015-01-27 22:03:34 -05:00
bunnei 9f93367aa0 Merge pull request #507 from bunnei/alpha-testing
Alpha testing
2015-01-27 14:56:13 -05:00
bunnei b2c55bf772 Rasterizer: Implemented alpha testing. 2015-01-27 14:39:17 -05:00
bunnei b101e6312f Merge pull request #508 from lioncash/dyn
dyncom: Minor cleanup
2015-01-27 13:51:22 -05:00
bunnei 326c451758 Merge pull request #345 from purpasmart96/apt_stubs
APT_U: Stub some functions & misc changes
2015-01-26 23:13:54 -05:00
bunnei 547737f720 Update vfp.cpp
VFP: Changed a debug log to trace.
2015-01-26 21:38:53 -05:00
bunnei ff83d23ed5 GPU: Implement the remaining depth testing functions. 2015-01-25 23:34:14 -05:00
bunnei ad666ac47a Merge pull request #484 from chinhodado/build
AppVeyor: Upload build to Mega upon build completion
2015-01-25 22:15:03 -05:00
bunnei e7dd4d34aa Merge pull request #485 from Subv/more_servs
Services: Stubbed more services.
2015-01-25 22:13:13 -05:00
bunnei cc34462b71 Merge pull request #410 from chinhodado/cleanup
Cleanup: Logging in Core
2015-01-24 00:41:10 -05:00
bunnei 006c0c88a4 Merge pull request #505 from lioncash/cl
vfp: Clean up vertical alignment for instructions
2015-01-23 15:53:51 -05:00
bunnei a461c1d8d2 Merge pull request #502 from archshift/patch-1
cam_u.h: fix indentation
2015-01-22 16:39:13 -05:00
bunnei 92550013cf Merge pull request #493 from archshift/ptmplay
Stubbed some services
2015-01-22 13:25:19 -05:00
bunnei 9f501c55f9 Merge pull request #501 from lioncash/clean
dyncom: Minor cleanup
2015-01-22 12:31:45 -05:00
bunnei 24a63662ba Merge pull request #495 from bunnei/fix-waitsynch
Fix WaitSynchronization
2015-01-21 21:09:47 -05:00
bunnei 731154f79e WaitSynchronization: Added a result code for invalid result, fixed bug. 2015-01-21 20:49:43 -05:00
bunnei 68ddaaa2f5 Thread: Fix WaitSynchronization1 to not set register 1 on thread wakeup. 2015-01-21 20:48:46 -05:00
bunnei 4255f25647 Thread: Use std::find in CheckWait_WaitObject. 2015-01-21 20:48:46 -05:00
bunnei 2f3020a102 Mutex: Cleanup and remove redundant code. 2015-01-21 20:48:36 -05:00
bunnei f09806aed2 Kernel: Renamed some functions for clarity.
- ReleaseNextThread->WakeupNextThread
- ReleaseAllWaitingThreads->WakeupAllWaitingThreads.
2015-01-21 20:48:30 -05:00
bunnei 15b6a4d9ad Kernel: Changed "ShouldWait" to return bool and "Acquire" to return void. 2015-01-21 20:47:49 -05:00
bunnei c68eb15695 WaitObject: Renamed "Wait" to "ShouldWait", made "ShouldWait" and "Acquire" pure virtual. 2015-01-21 20:47:49 -05:00
bunnei 69c5830ef2 Event: Fix implementation of "non-sticky" events. 2015-01-21 20:47:48 -05:00
bunnei 9e6ec3b6cd Session: Change to a WaitObject. 2015-01-21 20:47:47 -05:00
bunnei d2759c578e Kernel: Reschedule on SignalEvent and SendSyncRequest, fix some bugs. 2015-01-21 20:47:47 -05:00
bunnei dde02f79af Mutex: Fix a bug where the thread should not wait if it already has the mutex. 2015-01-21 20:47:46 -05:00
bunnei 9412996c8f Kernel: Moved Wait and Acquire to WaitObject, added way to retrieve a WaitObject safely. 2015-01-21 20:47:46 -05:00
bunnei c06d64528a SVC: Removed a Sleep that made no sense
- Would deadlock the calling thread
- Code would never get hit anyways
2015-01-21 20:47:45 -05:00
bunnei 254e4ebd58 AddressArbiter: Changed to Kernel::Object, big cleanup, removed code that made no sense. 2015-01-21 20:47:45 -05:00
bunnei e5a9f1c644 Kernel: Get rid of WaitTypes and simplify lots of code, removing hacks. 2015-01-21 20:47:38 -05:00
bunnei 6deb1a0119 WaitSynchronizationN: Improved comments 2015-01-21 19:12:51 -05:00
bunnei 6643673f28 WaitSynchronizationN: Refactor to fix several bugs
- Separate wait checking from waiting the current thread
- Resume thread when wait_all=true only if all objects are available at once
- Set output to correct wait object index when there are duplicate handles
2015-01-21 19:11:47 -05:00
bunnei aa01c57ae9 Kernel: Separate WaitSynchronization into Wait and Acquire methods. 2015-01-21 19:10:24 -05:00
bunnei 627e96fc15 WaitSynchronizationN: Handle case where handles=nullptr. 2015-01-21 19:09:10 -05:00
bunnei f5c6d367c9 WaitSynchronizationN: Handle case where handle_count is invalid. 2015-01-21 19:09:09 -05:00
bunnei 064be2b86f WaitSynchronizationN: Handle case where handle_count=0. 2015-01-21 19:09:09 -05:00
bunnei 7faf2d8e06 WaitSynchronizationN: Implement return values 2015-01-21 19:09:03 -05:00
bunnei e4a5d8ad4f Event: Fixed some bugs and cleanup (Subv) 2015-01-21 18:43:50 -05:00
bunnei 1f7a04f05a Thread: Keep track of multiple wait objects. 2015-01-21 18:42:04 -05:00
bunnei 14cbbf4d9b Event: Get rid of permanent_lock hack. 2015-01-21 18:42:04 -05:00
bunnei 5e77e2e1de WaitObject: Added RemoveWaitingThread, fixed a bug, and cleanup. 2015-01-21 18:41:58 -05:00
bunnei c22bac6398 Kernel: Added WaitObject and changed "waitable" objects inherit from it. 2015-01-21 18:41:00 -05:00
bunnei 0c7498545f Merge pull request #491 from archshift/hidspvr
Added HID_SPVR service and split HID_U implementation into hle/service/hid/hid.xxx
2015-01-21 18:36:46 -05:00
bunnei 8571befc64 Merge pull request #498 from lioncash/statics
core_timing: Mark several variables as static
2015-01-20 14:34:07 -05:00
bunnei 7c21b80236 Merge pull request #499 from lioncash/docs
core: Fix a few docstrings
2015-01-20 14:33:34 -05:00
bunnei cbbe9e1500 Merge pull request #492 from archshift/apt
Expose GetSharedFont and NotifyToWait to APT:A and APT:S respectively
2015-01-20 12:55:53 -05:00
bunnei 205170fa62 Merge pull request #241 from linkmauve/better-loader
Improve the loader a bit
2015-01-20 12:55:28 -05:00
bunnei 2a5654ea8a Merge pull request #496 from lioncash/warn
dyncom: Clarify precedence for ternary statements
2015-01-20 10:32:00 -05:00
bunnei 004b23153b Merge pull request #494 from lioncash/shift
dyncom: Implement missing shifts in ScaledRegisterPostIndexed, etc
2015-01-19 16:42:31 -05:00
bunnei be8f665142 Merge pull request #383 from zhuowei/shared_page
Add some support for the shared page
2015-01-18 18:31:52 -05:00
bunnei 1cb31f4f06 Merge pull request #489 from lioncash/strt
dyncom: Handle the ARM A2 encoding of STRT/LDRT
2015-01-18 10:55:20 -05:00
bunnei 14308a88a7 Merge pull request #488 from lioncash/strbt
dyncom: Handle the ARM A2 encoding of LDRBT/STRBT.
2015-01-17 02:15:47 -05:00
bunnei 2572a62480 APT: Fix typo in setting return code for NotifyToWait 2015-01-15 18:23:53 -05:00
bunnei 350c5a7e32 DSP: Removed useless spam log for SignalInterrupt 2015-01-15 18:20:58 -05:00
bunnei 4b47ed6194 Merge pull request #482 from yuriks/fix-vblank
Correctness fixes for GPU flipping and interrupts
2015-01-15 18:11:03 -05:00
bunnei 3ff5a80d46 Merge pull request #481 from Subv/hm_b
APTU: Stubbed NotifyToWait, taken from 3dmoo.
2015-01-14 21:39:49 -05:00
bunnei 394d44cf74 Merge pull request #480 from Subv/arb_2
AddrArbiter: Implement arbitration types 3 and 4.
2015-01-14 10:04:33 -05:00
bunnei 93f36c49f7 Merge pull request #473 from archshift/pp3ports
Pica/Rasterizer: Add ETC1 texture decompression support.
2015-01-13 18:11:18 -05:00
bunnei 7bbd027660 Merge pull request #479 from Subv/hm
Services: Added some missing services.
2015-01-13 17:39:33 -05:00