Commit Graph
2539 Commits
Author SHA1 Message Date
B3n30 2465fd423a fix review comments 2020-03-15 18:57:29 +01:00
B3n30 391580c658 fix clang-format 2020-03-15 18:50:52 +01:00
B3n30 ae4ba287d5 warn if cia contend is encrypted 2020-03-15 18:23:19 +01:00
Pengfei ZhuandGitHub ad3c464e2d Merge pull request #5116 from zhaowenlan1779/cam-vsync
service/cam: Implement Vsync interrupt events
2020-03-12 10:42:39 +08:00
Hamish Milne da3ab3d56e Merge branch 'master' into feature/savestates-2 2020-03-07 21:23:08 +00:00
zhupengfei fc251b32b0 service/fs: Update file size on write
The file's size is stored in FileSessionSlot and retrieved when the game calls GetSize. However, it is not updated when the file is written to, which can possibly change the file size. Therefore, this can cause GetSize to return incorrect results.
2020-03-05 14:50:08 +08:00
zhupengfei 28014496c6 Fix incorrect port_id use 2020-03-03 12:13:45 +08:00
zhupengfei eced511382 service/cam: Implement Vsync interrupt callbacks
According to HW tests, this vsync event is signaled for activated cameras at about the same frequency as the frame rate. The last 5 vsync timings are recorded (in microseconds) and can be retrieved with the service function.

Also, corrected the default frame_rate to 15, according to HW test.

This should fix the missing camera images in certain games.
2020-03-01 17:07:43 +08:00
TobiasandGitHub 6d3d9f7a8a core: Add support for N3DS memory mappings (#5103)
* core: Add support for N3DS memory mappings

* Address review comments
2020-02-29 19:48:27 +01:00
BenandGitHub 55ec7031cc Core timing 2.0 (#4913)
* Core::Timing: Add multiple timer, one for each core

* revert clang-format; work on tests for CoreTiming

* Kernel:: Add support for multiple cores, asserts in HandleSyncRequest because Thread->status == WaitIPC

* Add some TRACE_LOGs

* fix tests

* make some adjustments to qt-debugger, cheats and gdbstub(probably still broken)

* Make ARM_Interface::id private, rework ARM_Interface ctor

* ReRename TimingManager to Timing for smaler diff

* addressed review comments
2020-02-21 19:31:32 +01:00
BenandGitHub e3dbdcbdff HTTP_C::Implement Context::MakeRequest (#4754)
* HTTP_C::Implement Context::MakeRequest

* httplib: Add add_client_cert_ASN1 and set_verify

* HTTP_C: Fix request methode strings case in MakeRequest

* HTTP_C: clang-format and cleanups

* HTTP_C: Add comment about async in BeginRequest and BeginRequestAsync

* Update httplib to contain all the changes we need; adapt http_c and web_services to the changes in httplib; addressed minor review comments

* Add android-ifaddrs
2020-02-21 19:04:04 +01:00
Marshall MohrorandGitHub 996f1546b2 core: Remove outdated MSVC workarounds (#5099)
* core/hw/gpu: Remove outdated MSVC workarounds

* core/hle/service/hid: Remove MSVC workaround
2020-02-20 13:40:21 -06:00
zhupengfei 57efc41973 service/cecd: Add missing SessionData serialization 2020-02-14 17:15:08 +08:00
zhupengfei 7e8041df28 kernel/timer: Add missing base object 2020-02-14 17:13:53 +08:00
Hamish Milneandzhupengfei 246ae84a52 Pretty sure ARM/Thread serialization works now 2020-02-13 17:42:12 +08:00
James Roweandzhupengfei 3e34ad6890 Hack: Workaround crash when loading state and gyro is used 2020-02-13 17:42:11 +08:00
Hamish Milneandzhupengfei 0effb229cd Fix geometry pipeline; attempt to fix motion controls 2020-02-13 17:42:10 +08:00
Hamish Milneandzhupengfei 2217b3558d Fixed file services serialization 2020-02-13 17:42:10 +08:00
Hamish Milneandzhupengfei c24ea0f0ee Serialize core timing 2020-02-13 17:42:09 +08:00
Hamish Milneandzhupengfei 8abc5525be Added Signals; more runtime fixes 2020-02-13 17:42:09 +08:00
Hamish Milneandzhupengfei e4f05884c3 Fixed serialization runtime exceptions 2020-02-13 17:42:08 +08:00
Hamish Milneandzhupengfei ca971ff31f Serialize file/directory services 2020-02-13 17:42:08 +08:00
Hamish Milneandzhupengfei 9525d81344 More base-derived fixes 2020-02-13 17:42:07 +08:00
Hamish Milneandzhupengfei 996aba39fe Correct exports; add some file serialization; fix service base object serialization 2020-02-13 17:42:07 +08:00
Hamish Milneandzhupengfei f2de70c3fb Fix crash bugs 2020-02-13 17:42:06 +08:00
Hamish Milneandzhupengfei 116d22d562 Refactor out the wakeup_callback function pointer 2020-02-13 17:42:05 +08:00
Hamish Milneandzhupengfei 7019561fd5 Bind NWM_UDS service in the constructor 2020-02-13 17:42:05 +08:00
Hamish Milneandzhupengfei 96432589bd Use shared_ptr for PageTable 2020-02-13 17:42:04 +08:00
Hamish Milneandzhupengfei e4afa8e512 Make the tests pass 2020-02-13 17:42:04 +08:00
Hamish Milneandzhupengfei 65d96bf6c1 Changed u8* to MemoryRef 2020-02-13 17:42:00 +08:00
Hamish Milneandzhupengfei cf985631e0 Minor tidying up 2020-02-13 17:41:27 +08:00
Hamish Milneandzhupengfei 26e90a99cd Added basic UI; misc memory fixes 2020-02-13 17:41:27 +08:00
Hamish Milneandzhupengfei 558e710e17 Finished archives; remove pod.h 2020-02-13 17:41:26 +08:00
Hamish Milneandzhupengfei 2d2c7218ef Serialize CECD, CFG services 2020-02-13 17:41:25 +08:00
Hamish Milneandzhupengfei ef2e503281 Serialize QTM, Y2R services 2020-02-13 17:41:24 +08:00
Hamish Milneandzhupengfei 92857efca4 Serialize PTM service 2020-02-13 17:41:24 +08:00
Hamish Milneandzhupengfei f5e2f873b0 Serialize NWM service 2020-02-13 17:41:24 +08:00
Hamish Milneandzhupengfei 571b1062f0 Serialize NIM, PS, PXI, SOC, SSL services 2020-02-13 17:41:23 +08:00
Hamish Milneandzhupengfei 2409ee39cb Serialize IR, MVD, NDM, NEWS, NFC 2020-02-13 17:41:23 +08:00
Hamish Milneandzhupengfei 3d6e372f96 More clang format fixes. Really need to standardise the version of this 2020-02-13 17:41:23 +08:00
Hamish Milneandzhupengfei 01ec2e8a67 Serialize MIC service 2020-02-13 17:41:22 +08:00
Hamish Milneandzhupengfei e3c0211b74 Fix clang format 2020-02-13 17:41:22 +08:00
Hamish Milneandzhupengfei eb67167b7c Serialize IR service 2020-02-13 17:41:22 +08:00
Hamish Milneandzhupengfei 8bd3e8cd27 Serialize HTTP service 2020-02-13 17:41:22 +08:00
Hamish Milneandzhupengfei 74361fa3fb Serialize HID service 2020-02-13 17:41:21 +08:00
Hamish Milneandzhupengfei 30494c06a4 Serialize GSP service 2020-02-13 17:41:21 +08:00
Hamish Milneandzhupengfei d041901a30 Some more CI fixes 2020-02-13 17:41:20 +08:00
Hamish Milneandzhupengfei c7106e232f Fix a bug on mingw 2020-02-13 17:41:16 +08:00
Hamish Milneandzhupengfei 7b846ffa98 clang-format fixes 2020-02-13 17:39:15 +08:00
Hamish Milneandzhupengfei d482fb359c Attempting to fix mingw on windows 2020-02-13 17:38:25 +08:00