Commit Graph
100 Commits
Author SHA1 Message Date
wwylele 5f33679af6 swrasterizer: implement TextureCube 2017-05-29 22:28:48 +03:00
wwylele 7ea0c6fe27 pica: add registers for texture cube 2017-05-29 22:03:08 +03:00
wwylele 11d2e956f3 fixup!cam: use IPCHelper 2017-05-27 21:30:07 +03:00
wwylele b27fc52cee gl_shader: refactor texture sampler into its own function 2017-05-27 01:56:22 +03:00
wwylele e6ea8f3a39 cam: move u32->u8 trancation to IPCHelper 2017-05-24 12:50:19 +03:00
wwylele 3e76e3739b cam: use IPCHelper 2017-05-24 12:45:36 +03:00
wwylele ec0b9fb820 swrasterizer: add missing tc0_w and fragment lighting attribute processing 2017-05-21 09:09:15 +03:00
wwylele b06772686f gl_rasterizer: implement procedural texture 2017-05-20 13:50:50 +03:00
wwylele eba689e736 pica/swrasterizer: implement procedural texture 2017-05-20 13:50:50 +03:00
wwylele 53a6a4a83f pica: use correct register value for shader bool_uniforms
variable value is not masked. the masked and combined register value should be used instead
2017-05-17 22:14:09 +03:00
wwylele 402e92f4a4 pica: correct bit field length for some registers 2017-05-16 19:24:06 +03:00
Weiyi Wang 901b06a2df Merge pull request #2695 from JayFoxRox/gs-regs
Prepare Pica registers for Geometry Shaders
2017-05-12 18:02:45 +03:00
wwylele a68e9e92f8 fixup!ir: implement new 3ds HID via ir:rst 2017-05-07 21:53:27 +03:00
wwylele 37a8e18c4f pica: shader_dirty if texture2 coord changed 2017-05-05 15:35:17 +03:00
wwylele 759b4c9811 ir: implement new 3ds HID via ir:rst 2017-05-04 12:59:28 +03:00
wwylele 8c0ced30fa pica: use correct coordinates for texture 2 2017-05-03 22:12:46 +03:00
wwylele bfa4f6c052 ir: implement circle pad pro 2017-05-03 09:44:00 +03:00
wwylele 4b284eaac3 gl_shader_gen: remove TODO about Lerp behaviour verification. The implementation is verified against hardware 2017-04-20 22:56:07 +03:00
wwylele e60e8575aa rasterizer: implement combiner operation 7 (Dot3_RGBA) 2017-04-19 23:48:10 +03:00
wwylele 2bb38b3a76 input_common/sdl: add support for binding button to axis 2017-04-17 14:14:35 +03:00
wwylele 3e8c887a12 ldr_ro: use IPC helper 2017-04-17 10:11:18 +03:00
wwylele 9cfba2c46c qt: enable config for circle pad pro 2017-04-09 12:05:57 +03:00
wwylele 840f375614 ptm: create SharedExtSave file before openning it 2017-03-25 14:22:07 +03:00
wwylele e26b7fc688 shared_page: stub battery state 2017-03-21 13:25:56 +02:00
Weiyi Wang 92d7469820 Merge pull request #2631 from wwylele/fix-unwrap
apt: fix RequestBuilder parameters for Unwrap
2017-03-18 14:36:49 +02:00
wwylele 0fef7eb227 apt: fix RequestBuilder parameters for Unwrap 2017-03-18 11:45:19 +02:00
wwylele fe76e9f84c citra-qt: remove dead code 2017-03-17 21:45:29 +02:00
wwylele c22571a470 citra-qt: release all buttons when render window focus is lost
credit to @Hawkheart for the original idea
2017-03-17 21:41:25 +02:00
wwylele 1d1c322db7 cfg: implement GenHashConsoleUnique 2017-03-12 12:24:57 +02:00
wwylele df855674d4 file_util: Log when using local user directory 2017-03-11 18:31:17 +02:00
wwylele ee1d7b5dfc file_sys: lower log level for setting host path 2017-03-08 17:47:24 +02:00
wwylele d8d0f5f179 file_util: lower logging level for harmless cases 2017-03-08 17:42:10 +02:00
wwylele ba13b62257 loader/ncch: less verbose log for loading game list. only log program ID when booting 2017-03-08 17:37:24 +02:00
wwylele b940ee0663 loader: lower file name logging level 2017-03-08 17:25:09 +02:00
wwylele 266974f04b qt/config_input: don't connect for null button 2017-03-02 13:29:28 +02:00
wwylele fc68d04fa1 citra: update default ini with new input system 2017-03-01 23:30:57 +02:00
wwylele 8b46139770 Input: remove unused stuff & clean up
1. removed zl, zr and c-stick from HID::PadState. They are handled by IR, not HID
2. removed button handling in EmuWindow
3. removed key_map
4. cleanup #include
2017-03-01 23:30:57 +02:00
wwylele 16569fbe83 Qt: rework input configuration for new input system 2017-03-01 23:30:57 +02:00
wwylele e61d586a0d InputCommon: add SDL joystick support 2017-03-01 23:30:57 +02:00
wwylele b0898ce5f5 InputCommon: add AnalogFromButton 2017-03-01 23:30:57 +02:00
wwylele 1e713bccda InputCommon: add Keyboard 2017-03-01 23:30:57 +02:00
wwylele 64743d2b46 HID: use AnalogDevice 2017-03-01 23:30:57 +02:00
wwylele 33ce5aea94 HID: use ButtonDevice 2017-03-01 23:30:57 +02:00
wwylele 63ec35d7e1 Input: add device and factory template 2017-03-01 23:30:57 +02:00
wwylele 7b74b5c546 Common: add ParamPackage 2017-03-01 23:30:57 +02:00
wwylele 63de741eb5 Timer: restore missing signaled=true from #2421 2017-02-27 22:49:46 +02:00
wwylele db8c197c0d IR: separate functions of each port to their own files 2017-02-26 11:11:35 +02:00
wwylele 55785cff55 externals: remove -march=native for crypto++ 2017-02-21 23:57:31 +02:00
wwylele a2d0064acb APT: implement Wrap and Unwrap 2017-02-21 23:57:31 +02:00
wwylele 76af744434 HW: add AES engine & implement AES-CCM 2017-02-21 23:57:31 +02:00
wwylele 32fdb59c3f hook: remove clang-format check 2017-02-17 13:52:23 +02:00
Weiyi Wang 8067af180e HID: move enable_accelerometer/gyroscope_count initialization into Init() (#2574)
Fixes #2556
2017-02-16 22:04:27 -08:00
wwylele 6467b1ebb1 core: add missing errors.h in CMakeLists.txt 2017-02-15 15:49:07 +02:00
Weiyi Wang 41bb4a731a video_core: remove #pragma once in cpp file (#2570) 2017-02-15 00:16:50 -08:00
Weiyi Wang fa42e8d5ce Merge pull request #2566 from yuriks/file-extension-suffix
Qt/GameList: Use suffix() to parse the file extension
2017-02-14 09:04:59 +02:00
Weiyi Wang d36b8791b2 Core: add cryptopp library (#2412) 2017-02-13 12:03:55 -08:00
wwylele d47ad55315 loader: use self NCCH archive 2017-02-13 13:57:38 +02:00
wwylele 8c0e40246d file_sys: add Self NCCH archive 2017-02-13 13:57:38 +02:00
Weiyi Wang 7304dbcaa1 hid: remove the touch field from PadState (#2557) 2017-02-11 01:11:42 -08:00
Weiyi Wang 302ce06d1e Merge pull request #2027 from Lectem/ipcrefactor
IPC helper
2017-02-05 10:22:13 +02:00
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