Commit Graph

5076 Commits

Author SHA1 Message Date
wwylele 3a8b49a2be HID: use TouchDevice for touch pad 2017-08-24 13:56:43 +03:00
James Rowe d8b458c398 Merge pull request #2839 from Subv/global_kernel_lock
Kernel/HLE: Use a mutex  to synchronize access to the HLE kernel state between the cpu thread and any other possible threads that might touch the kernel (network thread, etc).
2017-08-23 18:17:44 -06:00
bunnei 2885ac8ae3 Merge pull request #2893 from Subv/not_schedule_main_thread
Kernel/Threads: Don't immediately switch to the new main thread when loading a new process.
2017-08-22 17:45:47 -04:00
Subv e4aa1da188 Kernel/Memory: Acquire the global HLE lock when a memory read/write operation falls outside of the fast path, for it might perform an MMIO operation. 2017-08-22 09:30:58 -05:00
Subv dfb58f1941 Kernel/HLE: Use a mutex to synchronize access to the HLE kernel state between the cpu thread and any other possible threads that might touch the kernel (network thread, etc).
This mutex is acquired in SVC::CallSVC, ie, as soon as the guest application enters the HLE kernel, and should be acquired by the aforementioned threads before modifying kernel structures.
2017-08-22 09:30:55 -05:00
James Rowe 817af875fc Merge pull request #2888 from Subv/warnings
Fixed some warnings in the core project.
2017-08-22 08:09:09 -06:00
bunnei 9af8b0e300 Merge pull request #2894 from wwylele/motion-emu-fix
motion_emu: fix initialization order
2017-08-22 09:36:38 -04:00
wwylele c05a90135d motion_emu: fix initialization order 2017-08-22 11:43:44 +03:00
Subv 87f60afea6 Kernel/Threads: Don't immediately switch to the new main thread when loading a new process.
This is necessary for loading multiple processes at the same time.
The main thread will be automatically scheduled when necessary once the scheduler runs.
2017-08-21 20:54:29 -05:00
bunnei 220796cf28 Merge pull request #2884 from wwylele/clip
gl_rasterizer: add clipping plane z<=0 defined in PICA
2017-08-21 13:24:12 -04:00
bunnei 5cefb828b6 Merge pull request #2889 from Schplee/updated-logo-svg
Updated master logo to new logo svg
2017-08-21 13:22:23 -04:00
Subv d1e3e186e5 GPU/Warnings: Explicitly cast the screen refresh ticks to u64. 2017-08-21 08:34:30 -05:00
Subv a735d349ac Warnings: Add UNREACHABLE macros to switches that contemplate all possible values. 2017-08-21 08:34:28 -05:00
Subv 0e1012128f HLE/Applets: Fixed some conversion warnings when creating the framebuffer shared memory objects. 2017-08-21 08:34:27 -05:00
Subv c8f78a603b CPU/Dynarmic: Fixed a warning when incrementing the number of ticks in ExecuteInstructions. 2017-08-21 08:34:25 -05:00
Subv 1439b3b0cd Dyncom: Use size_t instead of int to store the instruction offsets in the instruction cache.
Fixes a few warnings.
2017-08-21 08:34:23 -05:00
Subv cf92ee4c54 Dyncom: Fixed a conversion warning when decoding thumb instructions. 2017-08-21 08:20:36 -05:00
wwylele bcf24d4500 swrasterizer: remove invalid TODO
This function is called in clipping, before the pespective divide, and is not used in later rasterization. Thus it doesn't need perspective correction.
2017-08-21 08:03:07 +03:00
wwylele e181a45ea2 swrasterizer/clipper: remove tested TODO
hwtested. Current implementation is the correct behavior
2017-08-21 08:03:07 +03:00
wwylele 0566c24c9b gl_shader_gen: simplify and clarify the depth transformation between vertex shader and fragment shader 2017-08-21 08:03:07 +03:00
wwylele b8e0d96451 gl_rasterizer: add clipping plane z<=0 defined in PICA 2017-08-21 08:03:07 +03:00
Yuri Kunde Schlesner 6d4ffdde3f Merge pull request #2872 from wwylele/sw-geo-factor
SwRasterizer/Lighting: implement geometric factor
2017-08-20 17:49:42 -07:00
Yuri Kunde Schlesner 328cb54684 Merge branch 'update-soundtouch' (PR #2885) 2017-08-20 17:30:22 -07:00
MerryMage 56802eabd0 externals: Update soundtouch 2017-08-20 17:30:05 -07:00
James Rowe 78d01dd905 Merge pull request #2861 from wwylele/motion-refactor
Refactor MotionEmu into a InputDevice
2017-08-19 23:43:01 -06:00
wwylele f97a47ff84 HID: fix a comment and a warning 2017-08-20 08:37:48 +03:00
James Rowe d475c99275 Merge pull request #2871 from wwylele/sw-spotlight
SwRasterizer/Lighting: implement spot light
2017-08-19 20:10:24 -06:00
Schplee 210eee1b7c Updated master logo to new logo svg 2017-08-19 18:33:44 -07:00
B3n30 e317c51cbd Added missing parts in libnetwork (#2838)
* Network: Set and send the game information over enet

Added Callbacks for RoomMember and GetMemberList to Room in preparation for web_services.
2017-08-19 11:14:33 -06:00
wwylele c7570dc130 motion_emu: no need to include thread in header 2017-08-19 07:21:02 +03:00
Yuri Kunde Schlesner 67ef7804c7 Merge pull request #2881 from MerryMage/dsp-firm-check
dsp_dsp: Remove size assertion in LoadComponent
2017-08-15 20:14:41 -07:00
MerryMage 5b47200110 dsp_dsp: Remove size assertion in LoadComponent 2017-08-15 10:16:50 +01:00
bunnei e11d739657 Merge pull request #2879 from danzel/patch-1
Fix Spelling/English mistakes
2017-08-13 20:22:24 -04:00
Dave Leaver d062d550cb Fix Spelling/English mistakes 2017-08-14 09:15:39 +12:00
Sebastian Valle f6417f0bd7 Merge pull request #2843 from Subv/applet_slots
Services/APT: Use an array to hold data about the 4 possible concurrent applet types (Application, Library, HomeMenu, System)
2017-08-12 10:27:57 -05:00
Weiyi Wang 822d2e01da Merge pull request #2875 from wwylele/bump-skip
gl_shader_gen: don't call SampleTexture when bump map is not used
2017-08-12 01:23:45 +03:00
wwylele 5fa5360713 gl_shader_gen: don't call SampleTexture when bump map is not used 2017-08-11 18:35:00 +03:00
James Rowe 2fdd46d5f2 Merge pull request #2869 from j-selby/docker-build
Travis: Use Docker to build for Linux
2017-08-11 08:39:14 -06:00
James Rowe a4af1b0785 Merge pull request #2867 from j-selby/tag-naming
Implement correct folder structure for CI builds
2017-08-11 08:36:04 -06:00
wwylele 88451a0b73 move MotionEmu from core/frontend to input_common as a InputDevice 2017-08-11 11:05:08 +03:00
wwylele 49b645d6a7 HID: use MotionDevice for Accelerometer and Gyroscope 2017-08-11 11:03:18 +03:00
Weiyi Wang d9dd18bace Merge pull request #2874 from danzel/spelling-1
Fix some spelling mistakes
2017-08-11 11:02:14 +03:00
danzel d56b74ac58 Fix some spelling mistakes 2017-08-11 19:51:16 +12:00
wwylele 2f5a41f170 SwRasterizer/Lighting: implement spot light 2017-08-11 01:19:10 +03:00
wwylele 9f2f72dd4b SwRasterizer/Lighting: implement geometric factor 2017-08-11 01:18:43 +03:00
Weiyi Wang aae427572d Merge pull request #2863 from wwylele/pad-state-zero
HID: zero unused PadState bits
2017-08-10 17:50:18 +03:00
wwylele 29e17d34c1 HID: zero unused PadState bits 2017-08-10 17:01:03 +03:00
James dcad024e50 Travis: Use Docker to build for Linux 2017-08-10 20:13:59 +10:00
Weiyi Wang 65fb35fd76 Merge pull request #2868 from wwylele/swr-tuple
SwRasterizer/Lighting: use make_tuple instead of constructor
2017-08-10 12:44:23 +03:00
wwylele 02f8113e2c SwRasterizer/Lighting: use make_tuple instead of constructor
implicit tuple constructor is a c++17 thing, which is not supported by some not-so-old libraries. Play safe for now
2017-08-10 12:19:58 +03:00