Commit Graph
98 Commits
Author SHA1 Message Date
wwylele 239829838b ShaderJIT: add 16 dummy bytes at the bottom of the stack 2017-02-03 14:53:38 +02:00
Weiyi Wang df865c98a8 Common/x64: remove legacy emitter and abi (#2504)
These are not used any more since we moved shader JIT to xbyak.
2017-01-31 01:06:42 -08:00
wwylele 3928dde1c2 HID: reset acceleroeter and gyroscope index in Init 2017-01-20 23:33:50 +02:00
wwylele 7c4dccef7b CFG: override language setting on boot 2017-01-19 10:28:35 +02:00
wwylele 402f3d9ae7 CoreTiming: use named constant for ARM11 clock rate 2017-01-16 09:59:16 +02:00
wwylele 84c595e522 HID: manages updating itself using correct ticks 2017-01-16 09:51:44 +02:00
wwylele ddca31fb3e CAM: implement basic camera functions with a blank camera 2017-01-11 11:46:44 +02:00
wwylele bf90fbae94 Frontend: make motion sensor interfaced thread-safe 2016-12-29 21:18:36 +02:00
wwylele 1e5c0701e7 Core: remove unused hle.cpp 2016-12-27 10:27:48 +02:00
wwylele 753865ecfb Frontend: emulate motion sensor 2016-12-26 10:52:16 +02:00
wwylele 4368abbaf6 Common: add Quaternion 2016-12-26 10:41:26 +02:00
wwylele 3a3aac1bf3 vector math: add implementation of Length and Normalize 2016-12-26 10:41:26 +02:00
wwylele 6caef3edba MathUtil: add PI constant 2016-12-26 10:41:26 +02:00
wwylele b1933ba40d Common::Event: add WaitUntil 2016-12-26 10:41:26 +02:00
wwylele 3da9196445 Core: reset cpu_core in Shutdown to make IsPoweredOn work properly 2016-12-24 20:55:38 +02:00
wwylele e742ba3436 file_util: fix missing sysdata path 2016-12-23 22:19:14 +02:00
wwylele 32f85927c7 Thread: remove the thread from the thread list when exiting 2016-12-17 19:23:52 +02:00
wwylele 2ef902fb1e Kernel: remove object's waiting thread if it is dead 2016-12-16 12:33:18 +02:00
wwylele 65b6a8a91c FS: fix debug build from #2249 2016-12-16 00:22:36 +02:00
wwylele a8c45d2249 Config: auto-select region and language 2016-12-07 20:52:42 +02:00
wwylele c12e7faf8f Merge pull request #2241 from Subv/clang_format
ClangFormat: Fixed the clang-format errors
2016-11-30 18:52:53 +02:00
wwylele f4b483015d FileSys: Implement OtherSaveData 2016-11-29 23:50:00 +02:00
wwylele 302bf9eab0 FS: add missing MediaType 2016-11-29 23:50:00 +02:00
wwylele 341660cf46 FileSys: abstract SD save data archive source 2016-11-29 23:50:00 +02:00
wwylele a9aded1653 Fix format error from #2195 2016-11-22 20:17:28 +02:00
wwylele 70b9a4398f Merge pull request #2206 from freiro/SDL_Audio_Error
Improve verbosity of audio errors
2016-11-22 20:12:35 +02:00
wwylele 4f3a480309 tests: add a work-around for macOS linking error 2016-11-19 18:55:35 +02:00
wwylele 58379b8ff4 FileSys: rename SaveDataCheck archive to NCCH archive
According to the observation from game and 3dbrew "Used for accessing general NCCH data"
2016-11-19 18:55:35 +02:00
wwylele d9fe6b440c FileSys: remove unused DiskArchive
All "subclasses" of DiskArchive are splitted out. This class is useless
2016-11-19 18:55:34 +02:00
wwylele bb969f123a PTM & CFG: use the correct path and error code according to the new FileSys policy 2016-11-19 18:55:34 +02:00
wwylele 1d42198099 FileSys: w->rw permission lift only happens in SDMC archive 2016-11-19 18:55:34 +02:00
wwylele f88b31502c FileSys: add SDMCWriteOnlyArchive 2016-11-19 18:55:34 +02:00
wwylele 3359469b0b FileSys: add SDMCArchive
Now DiskArchive only serves for SDMC, then it should be just a "SDMCArchive"
2016-11-19 18:24:37 +02:00
wwylele 95bd8c3d75 FileSys: add ExtSaveDataArchive
ExtSaveData is more similar to SaveData, so let it be a subclass of SaveData
2016-11-19 18:24:37 +02:00
wwylele aa4564c726 FileSys: add SaveDataArchive
The error checking of SaveDataArchive is completely different from DiskArchive, so it has to be a new class instead of a subclass of DiskArchive.
2016-11-19 17:17:19 +02:00
wwylele 9da26883cb FileSys: remove Open from FileBackend
Same as directory, file shouldn't expose Open either.
2016-11-19 17:17:19 +02:00
wwylele b7ec06d28a FileSys: remove Open from DirectoryBackend
Open should not be an interface exposed by Directory because it is the Archive thats implement the methed to open the directory. The service API of 3DS also implies this - Open is not a function of directory service, but is of FS main service
2016-11-19 17:17:19 +02:00
wwylele dacffc907b FileSys: add PathParser 2016-11-19 17:17:19 +02:00
wwylele 2c5efb5cff cfg: add config block 0x00090000 2016-11-17 19:34:02 +02:00
wwylele 5fc27d6d0f FileSys: make Archive interfaces return error code
and make the mode parameter a reference since it is a BitField union
2016-11-01 18:30:32 +02:00
wwylele cb12ea6d9b Update CONTRIBUTING.md 2016-10-31 21:31:47 +02:00
wwylele 9442607690 Travis: only upload for push (#2134) 2016-10-27 21:45:56 +01:00
wwylele 9ba511d61b Merge pull request #2139 from mailwl/frd-fix
FRD: fix GetMyFriendKey
2016-10-25 20:24:13 +08:00
wwylele 29474bdbfd Merge pull request #2131 from ricardotk/typos
Fix typos
2016-10-21 11:35:47 +08:00
wwylele deae9b38cb NWM: stub Initialize with an error 2016-10-12 22:33:44 +08:00
wwylele 6cdab1e0a5 fs: clean up log format 2016-10-02 12:39:28 +08:00
wwylele fce6b89518 fs: implement DeleteDirectoryRecursively 2016-10-02 11:29:16 +08:00
wwylele ea56a67274 gpu: DisplayTransfer: a less amazing algorithm for flip
the old implementation modifies the loop variable in the loop. Though it actually works, it is really confusing. Makes it morereadable now.
2016-09-29 10:01:34 +08:00
wwylele 0948bd001d gpu: keep the old signal strategy for null pointer
previous commits changes the behaviour of interrupt when meeting invalid params. Regresses to the same behaviour as before
needs more hwtest
2016-09-29 10:01:34 +08:00
wwylele 0513391de2 gpu: add validity check for TextureCopy, DisplayTransfer and FillMemory
prevent further operation with invalid values which may cause assertion failure or divided by zero.
needs more hwtest
2016-09-29 10:01:34 +08:00
wwylele 5c43a5652b memory: fix IsValidVirtualAddress for RasterizerCachedMemory
RasterizerCachedMemory doesn't has pointer but should be considered as valid
2016-09-29 10:01:34 +08:00
wwylele 852dc95cf2 gpu: move MemoryFill, TextureCopy and DisplayTransfer into functions
The old code indented too much to read. Split into functions and do general cleanup.
2016-09-29 10:01:34 +08:00
wwylele af8a81113b rasterizer: separate TextureCopy from DisplayTransfer 2016-09-29 10:01:34 +08:00
wwylele f417e3050c qt: shutdown system if error 2016-09-22 16:40:33 +08:00
wwylele cc4681da73 move ResetType to kernel.h 2016-09-22 13:52:52 +08:00
wwylele f89273db5d name objects 2016-09-22 13:52:52 +08:00
wwylele 7a4bb69d51 implement wait tree widget 2016-09-22 13:52:52 +08:00
wwylele dab35fa103 Merge pull request #2099 from citra-emu/fix-clang-format
Fix clang-format lint
2016-09-22 13:39:12 +08:00
wwylele 9406b2d314 travis: fix clang-format lint 2016-09-22 13:15:38 +08:00
wwylele 7ee0097bb8 Qt: fix birthday combo box updating 2016-09-13 16:15:42 +08:00
wwylele b5c664c59c Qt: unify running detection 2016-09-02 20:18:45 +08:00
wwylele b168f0ccaf LDR: Implement CRO 2016-08-27 21:38:06 +08:00
wwylele 7cfad703c5 ARM: add ClearInstructionCache function 2016-08-27 21:38:06 +08:00
wwylele 421aed0e92 Memory: add ReadCString function 2016-08-27 21:38:06 +08:00
wwylele 3bc46547ba CoreTiming: avoid overflow 2016-07-23 14:30:23 +03:00
wwylele 23869b198d HLE: implement system time 2016-07-23 14:30:23 +03:00
wwylele cffe69d780 Qt: add system settings config tab 2016-07-10 06:22:38 +03:00
wwylele 6d9f9af669 Service::CFG/FS: add and refactor out utilities for front-end 2016-07-03 08:23:59 +03:00
wwylele 8a98e15d04 Service::CFG: move known block ID to an enum 2016-07-03 08:23:59 +03:00
wwylele 633426cc9a Service::CFG: add SetConfigInfoBlk4 2016-07-03 08:23:58 +03:00
wwylele 5872133200 Service::CFG: add missing language 2016-07-02 11:44:25 +03:00
wwylele 232fdab682 Service::CFG: name sound output modes 2016-07-02 11:44:25 +03:00
wwylele ebe0de0625 Result: fix and update ErrorModule 2016-06-30 11:26:53 +03:00
wwylele 1bc65c9f91 hid: add missing header 2016-06-11 08:45:29 +03:00
wwylele 2aa3198a9e Thread: update timeout when rerunning WaitSynch 2016-06-04 09:27:16 +03:00
wwylele 900cb65509 Switch context on the same thread if necessary 2016-05-30 07:34:53 +03:00
wwylele af447cb225 SVC::WaitSynchronizationN: Reschedule at the end 2016-05-21 18:29:38 +03:00
wwylele 5ab912d59f fixup! fixup! Refactor input system 2016-05-15 19:35:06 +03:00
wwylele d6a8152b2e fixup! Refactor input system 2016-05-15 13:35:45 +03:00
wwylele 3d8658ceac implement circle pad modifier 2016-05-15 13:24:22 +03:00
wwylele d39a9ee9af Refactor input subsystem 2016-05-15 13:24:22 +03:00
wwylele 19c63e8388 fix:return proper error 2016-05-06 21:42:13 +03:00
wwylele bc897830b2 add missing header 2016-05-04 13:02:49 +03:00
wwylele 92ae1df089 make the name column larger as default 2016-05-04 13:02:49 +03:00
wwylele 7e4c90af39 add icon & title to game list 2016-05-04 13:02:49 +03:00
wwylele d0906a78b9 clean up config block 2016-05-03 19:27:47 +03:00
wwylele 9a56ddfa4e remove duplicated function declaration 2016-05-01 07:44:55 +03:00
wwylele 09b77416b3 add config block 0x00170000 2016-04-29 13:31:29 +03:00
wwylele 1656473b42 fix driver root identification on Windows 2016-04-15 14:50:34 +03:00
wwylele 5ce844dff6 ncch:only decompress .code section 2016-04-14 18:33:42 +03:00
wwylele 648b2dc071 use reference instead of pointer 2016-03-26 10:50:02 +03:00
wwylele d62fccadc4 remove unnecessary const 2016-03-26 10:46:48 +03:00
wwylele 586f6b854c implement GyroscopeCalibrateParam 2016-03-25 12:22:02 +03:00
wwylele 9fe0c0b898 implement accel and gyro backend 2016-03-22 18:35:03 +02:00
wwylele 0af67d267f hid: fix pad update 2016-03-13 11:19:17 +02:00
wwylele 8b6d444dd1 fix failure on gcc and clang 2015-11-12 20:39:30 +02:00
wwylele 3b7cbb25e3 disable unary minus when the type is not signed
silent warning C4146 on msvc
2015-11-12 20:39:28 +02:00
wwylele 91874459b3 change file path encoding to Local8bit()
to support non-latin characters
2015-10-20 20:58:23 +03:00