Weiyi Wang and GitHub
24ec11f928
Merge pull request #4915 from FearlessTobi/port-2818
...
Port citra-emu/citra#2818 : "externals: update fmt to 6.0.0"
2019-09-08 08:42:02 -04:00
Weiyi Wang and GitHub
42d3d563b9
Merge pull request #4897 from zhaowenlan1779/warning-core-timing
...
core_timing: Silence sign comparison warnings
2019-09-03 16:06:27 -04:00
Weiyi Wang and GitHub
1e3f943f6f
Merge pull request #4907 from vvanelslande/lle-applets-comments
...
applet_manager: remove the "we are going to disable loading LLE applets before further fixes are done" comments
2019-08-30 09:24:11 -04:00
Weiyi Wang and GitHub
a3fca5b170
Merge pull request #4895 from zhaowenlan1779/separate-ffmpeg-options
...
CMake: separate options for FFmpeg decoder/dumper
2019-08-20 07:49:13 -04:00
Weiyi Wang
dd3ba7bd21
opengl: remove hw geometry shader related stuff
2019-08-18 20:07:50 -04:00
Weiyi Wang and GitHub
b4d45b57c7
Merge pull request #4879 from tywald/accurate-gs-on
...
Remove 'Accurate Geometry Shader' setting
2019-08-18 15:52:45 -04:00
Weiyi Wang and GitHub
24f1c8d009
Merge pull request #4885 from vvanelslande/cmake-dwarf-mingw
...
Add MinGW CMake option to disable DWARF debugging information
2019-08-18 15:40:32 -04:00
Weiyi Wang
8b8111b425
NFC: extract frontend-facing tag state
...
Added a new state amiibo_in_range. This state is akin to the real world
physical relationship between a 3DS machine and an amiibo, which is
independent from the service state (or even the machine is powered on or
not). The service state nfc_tag_state is then synchronized with this
physical state on every potential point when the state changes. This
solves the issue where user might load an amiibo before NFC service
initializes, or remove an amiibo after NFC service shutdown, which
previously causes inconsistent state change.
Also removed std::atomic on nfc_tag_state, because
1. It is already protected by g_hle_lock
2. It wasn't properly used in the code anyway. For example, there are
many double loading on this variable, which effectively make it
non-atomic.
2019-08-17 21:56:12 -04:00
Weiyi Wang and GitHub
50ab002072
Guard unistd.h with MacOS only macro
...
Fix compile error on Windows caused by #4877
Weird, I thought I saw this guard during the code review...
2019-08-13 15:42:22 -04:00
Weiyi Wang and Ben
d18d2a0a18
citra_qt/configure: move speed limiter to general ( #4864 )
...
The speed limiter being a frame limiter is an implmentation detail and can be changed in the future. What user care about is that it limit the emulation speed in genenral (not just graphics but also audio+input)
2019-08-10 11:13:17 +02:00
Weiyi Wang and Ben
0269cb6e67
gl_rasterizer: decrease vertex buffer size ( #4703 )
...
Nvidia seems to have flickering issue with pokemon for some specific vertex buffer size. The root cause is still unknown. This is just a workaround
2019-08-10 10:51:24 +02:00
Weiyi Wang and Ben
88db89bf57
configure_dialog: reverse tab map to avoid logic based on user-facing/translatable text ( #4866 )
2019-08-10 09:00:56 +02:00
Weiyi Wang and GitHub
3e9c2e77d9
Merge pull request #4859 from weihuoya/opengles
...
minor fix for opengles
2019-08-08 09:30:42 -04:00
Weiyi Wang and GitHub
216fc0b546
Merge pull request #4856 from FearlessTobi/port-2492
...
Port yuzu-emu/yuzu#2492 : "yuzu/debugger: Specify string conversions explicitly"
2019-07-29 00:21:51 -04:00
Weiyi Wang and GitHub
c9d4a13c5c
Merge pull request #4860 from FearlessTobi/port-2499
...
Port yuzu-emu/yuzu#2499 : "yuzu/configuration: Specify string conversions explicitly"
2019-07-29 00:21:21 -04:00
Weiyi Wang and GitHub
aca55d0378
Merge pull request #4858 from FearlessTobi/port-2504
...
Port yuzu-emu/yuzu#2504 : "yuzu/configuration/config: Specify string conversions explicitly"
2019-07-27 16:34:18 -04:00
Weiyi Wang and GitHub
fcc7600b2b
Merge pull request #4851 from rerpha/compiler_warnings_in_core_arm
...
Fixing some compiler warnings in core/arm/
2019-07-23 19:34:46 -04:00
Weiyi Wang
909d04ddea
Remove unused stuff
...
Some unused variables are still kept in services, as they are parameters passed from the command buffer and might be used in the future
2019-07-16 20:27:03 -04:00
Weiyi Wang and GitHub
1904da775e
citra_qt/configure_motion_touch: fix slot name
...
Fixes #4840 , hopefully
2019-07-14 23:02:22 -04:00
Weiyi Wang
fd3cfd0ae0
ipc_helpers: silent signed comparison warning
...
index is only used as positive index in arrays. The warning is in DEBUG_ASSERT_MSG(index == TotalSize() ...)
2019-07-14 14:52:17 -04:00
Weiyi Wang
6ee908dc84
kernel: silence -Wreorder
2019-07-14 14:44:17 -04:00
Weiyi Wang
24d2d6aa23
interpreter: silent sign warnings
2019-07-14 14:36:56 -04:00
Weiyi Wang
3dbd1fd4a8
audio_core/cubeb: silent signed/unsigned comparison warning
2019-07-14 14:30:24 -04:00
Weiyi Wang
f7607c820d
citra_qt: silent sign comparison warning
...
🖕 Qt
2019-07-14 14:21:02 -04:00
Weiyi Wang
3a567390ee
citra_qt/profiler: add parenthesis to silent warning
...
This is indeed confusing
2019-07-14 14:14:34 -04:00
Weiyi Wang
2bbbfa86d8
network/room_member: in-header function should be inline
...
Otherwise produces multpile definition in translation units and generates unused warnings
2019-07-14 14:01:13 -04:00
Weiyi Wang and Ben
e689847b11
citra_qt/configure_system: fix string comparison ( #4830 )
...
country_names has type std::array<char*>. Pointer comparison to test empty string is wrong
2019-07-14 19:26:23 +02:00
Weiyi Wang and Ben
1c5a55b3cb
citra_qt/camera: silent signed array index warning ( #4829 )
2019-07-14 19:26:06 +02:00
Weiyi Wang
9c2fe1eae8
citra_qt/multiplayer: silent Wreorder warnings
2019-07-14 11:04:52 -04:00
Weiyi Wang and GitHub
32f832a81f
Merge pull request #4804 from FearlessTobi/port-2404
...
Port yuzu-emu/yuzu#2404 : "CMakeLists: Ensure we specify Unicode as the codepage on Windows"
2019-07-13 22:28:12 -04:00
Weiyi Wang and GitHub
4ec2b2d45a
Merge pull request #4820 from bunnei/android-fixes
...
common: Various fixes and minor improvements.
2019-07-13 22:26:10 -04:00
Weiyi Wang and GitHub
508fa94e5d
Merge pull request #4799 from bamsbamx/pr-separate-cpu-mem
...
kernel: handle all page table changes internally when switching processes
2019-07-13 22:25:51 -04:00
Weiyi Wang
99136ec592
gl_rasterizer: correct supress_mipmap_for_cube logic
...
The previous version would break when the state changes from (cube=true,mipmap=false) -> (cube=true,mipmap=true)
2019-07-06 08:03:01 -04:00
Weiyi Wang and GitHub
cae913d3d5
Merge pull request #4760 from wwylele/csnd
...
Foundation for CSND
2019-06-30 23:24:27 -04:00
Weiyi Wang and GitHub
0c6c1d49d7
Merge pull request #4812 from leoetlino/typo
...
ncch_container: Fix code.bin replacement
2019-06-30 08:17:20 -04:00
Weiyi Wang and GitHub
0b4be6e53a
Merge pull request #4803 from FearlessTobi/port-2580
...
Port yuzu-emu/yuzu#2580 : "kernel/vm_manager: Remove redundant Reset call in destructor "
2019-06-29 22:52:36 -04:00
Weiyi Wang and GitHub
c81a96b0da
Merge pull request #4806 from FearlessTobi/port-2450
...
Port yuzu-emu/yuzu#2450 : "CMakeLists: Explicitly specify -Wall for the non-MSVC case"
2019-06-25 21:25:37 -04:00
Weiyi Wang
d483e556e3
gsp: remove unused GetFramebufferInfo
2019-06-23 14:25:28 -04:00
Weiyi Wang
8251de44cf
GSP_GPU: move used_thread_ids into the class
2019-06-23 14:22:38 -04:00
Weiyi Wang and Tobias
bb776e25a9
pica: move global shader buffer state into Pica::State ( #4796 )
2019-06-20 00:39:08 +02:00
Weiyi Wang and GitHub
c56f374e5a
Merge pull request #4776 from FearlessTobi/port-2473
...
Port yuzu-emu/yuzu#2473 : "CMakeLists: Handle VS 2019 in a less annoying manner"
2019-05-20 08:57:26 -04:00
Weiyi Wang and GitHub
6848592044
Merge pull request #4744 from FearlessTobi/port-2376
...
Port yuzu-emu/yuzu#2376 : "yuzu/configure_hotkey: Minor changes"
2019-05-18 08:33:37 -04:00
Weiyi Wang and GitHub
46b015befd
Merge pull request #4743 from FearlessTobi/port-2405
...
Port yuzu-emu/yuzu#2405 : "CMakeLists: Define QT_USE_QSTRINGBUILDER for the Qt target"
2019-05-07 09:35:18 -04:00
Weiyi Wang and GitHub
803e1fd5a0
Merge pull request #4747 from MerryMage/copyblock
...
memory: Re-order CopyBlock arguments to match other overload
2019-05-07 09:34:02 -04:00
Weiyi Wang and GitHub
2c5816978e
Merge pull request #4765 from JMcKiern/master
...
Updated Contributing link in README.md
2019-05-03 11:12:31 -04:00
Weiyi Wang and GitHub
59879366a6
Merge pull request #4759 from B3n30/load_cia_ticket
...
FileSys: Load the ticket when the CIAContainer is loaded
2019-05-03 00:44:08 -04:00
Weiyi Wang and GitHub
c445fe4515
Merge pull request #4763 from liushuyu/dsp_aac
...
audio_core: dsp_hle: use better f32 to s16 algorithm
2019-05-02 14:08:32 -04:00
Weiyi Wang
64641cf958
CSND: handle command processing
2019-04-28 15:25:46 -04:00
Weiyi Wang and GitHub
b9e51f0a0b
Merge pull request #4755 from B3n30/revert_erase_erase_me
...
linux-flatpak: revert use precompiled cache
2019-04-23 17:34:08 -04:00
Weiyi Wang and GitHub
2706a4d658
Merge pull request #4752 from FearlessTobi/port-2415
...
Port yuzu-emu/yuzu#2415 : "kernel/wait_object: Make GetHighestPriorityReadyThread() a const member function"
2019-04-21 15:43:43 -04:00
Weiyi Wang and GitHub
0ec45f694c
Merge pull request #3910 from wwylele/mipmap
...
gl_rasterizer: implement mipmap by forwarding PICA mipmap configuration
2019-04-17 14:10:42 -04:00
Weiyi Wang and GitHub
5f5e991884
Merge pull request #4734 from FearlessTobi/port-2391
...
Port yuzu-emu/yuzu#2391 and yuzu-emu/yuzu#2392 : Changes to common
2019-04-16 09:48:52 -04:00
Weiyi Wang and GitHub
bbc8fd7165
Merge pull request #4735 from FearlessTobi/port-2388
...
Port yuzu-emu/yuzu#2388 : "kernel: Make handle type declarations constexpr"
2019-04-15 13:33:38 -04:00
Weiyi Wang and GitHub
11754778bb
Merge pull request #4716 from wwylele/client-is-known
...
HLE/IPC: HLEContext can memorize the client thread and use it for SleepClientThread
2019-04-15 09:08:07 -04:00
Weiyi Wang
e3b6bf93bc
gl_rasterizer_cache: validate surface in mipmap/cubemap if the children is not validated yet
2019-04-15 09:07:36 -04:00
Weiyi Wang and GitHub
4a206237be
Merge pull request #4726 from FearlessTobi/port-2312
...
Port yuzu-emu/yuzu#2312 : "general: Use deducation guides for std::lock_guard and std::unique_lock"
2019-04-13 18:00:09 -04:00
Weiyi Wang and GitHub
2ff7ed4200
Merge pull request #4693 from FearlessTobi/port-stuffffz
...
Port yuzu-emu/yuzu#2189 , yuzu-emu/yuzu#2222 , yuzu-emu/yuzu#2218
2019-04-07 14:12:21 -04:00
Weiyi Wang and GitHub
9fb5cb580e
Merge pull request #4635 from FearlessTobi/mii-thingy-v9999
...
citra-qt: Implement Mii selector applet
2019-04-07 12:23:54 -04:00
Weiyi Wang and GitHub
d5bcb45b2a
Merge pull request #4723 from jroweboy/minorfix
...
Destroy the callback after the stream is destroyed to prevent crashes on close
2019-04-06 14:31:49 -04:00
Weiyi Wang and GitHub
c2b514cb97
Merge pull request #4722 from adityaruplaha/input-fixup
...
ConfigureInput::GetUsedKeyboardKeys(): Change index of home button to use NativeButton instead of magic number.
2019-04-06 11:25:48 -04:00
Weiyi Wang
f565ea80f0
HLE/IPC: HLEContext can memorize the client thread and use it for SleepClientThread
...
This reduces the boilerplate that services have to write out the current thread explicitly. Using current thread instead of client thread is also semantically incorrect, and will be a problem when we implement multicore (at which time there will be multiple current threads)
2019-04-02 13:23:39 -04:00
Weiyi Wang and GitHub
daeba65fb4
Merge pull request #4710 from wwylele/why-instrusive-ptr
...
Kernel: replace boost::intrusive_ptr with std::shared_ptr
2019-04-02 11:06:13 -04:00
Weiyi Wang and GitHub
fe8daa2590
Merge pull request #4715 from wwylele/cam-init
...
CAM: initialize states
2019-03-30 12:19:16 -04:00
Weiyi Wang
8d2718a18f
CAM: initialize states
2019-03-30 11:07:11 -04:00
Weiyi Wang
05058863b5
cleanup includes
2019-03-26 10:50:41 -04:00
Weiyi Wang
5f11c5f733
Kernel: replace boost::intrusive_ptr with std::shared_ptr
2019-03-24 14:32:11 -04:00
Weiyi Wang and GitHub
c1de8acfe5
Merge pull request #4689 from wwylele/server-leak
...
ServiceFrameworkBase: remove ownership to ServerPort
2019-03-24 14:29:41 -04:00
Weiyi Wang and GitHub
941248466b
Merge pull request #4125 from ccawley2011/travis-ninja
...
travis: Use Ninja for Travis builds
2019-03-23 23:15:00 -04:00
Weiyi Wang and GitHub
21bda754b3
Merge pull request #4396 from FearlessTobi/open-delays
...
fs_user: Add a delay for each file open
2019-03-23 12:21:12 -04:00
Weiyi Wang and GitHub
9b07ff9681
Merge pull request #4683 from wwylele/misc-global-clean
...
Misc global instance reference cleaup
2019-03-22 22:28:50 -04:00
Weiyi Wang and GitHub
4b6295ae68
Merge pull request #4709 from FearlessTobi/port-2247
...
Port yuzu-emu/yuzu#2247 : "common/thread_queue_list: Remove unnecessary dependency on boost"
2019-03-22 22:23:59 -04:00
Weiyi Wang and GitHub
17c0e903db
Merge pull request #4694 from FearlessTobi/port-2210
...
Port commit from yuzu-emu/yuzu#2210 : "common/bit_field: Make BitField trivially copyable"
2019-03-22 11:22:53 -04:00
Weiyi Wang and GitHub
2138db3d7d
Merge pull request #4690 from wwylele/uds-deprecated
...
UDS: implement deprecated functions
2019-03-21 09:52:01 -04:00
Weiyi Wang and GitHub
4d997d7779
Merge pull request #4705 from FearlessTobi/port-2254
...
Port yuzu-emu/yuzu#2254 : "input_common/sdl_impl: Minor cleanup in SDLState constructor"
2019-03-19 20:06:59 -04:00
Weiyi Wang and GitHub
1f233e4365
Merge pull request #4691 from liushuyu/oes_fix
...
video_core: renderer_opengl: gles color fix
2019-03-18 19:01:13 -04:00
Weiyi Wang and GitHub
322f575ff5
Merge pull request #4697 from xperia64/getopt_fix
...
Fix getopt return type on systems where char is unsigned by default
2019-03-18 10:42:52 -04:00
Weiyi Wang and GitHub
29c3d72940
Merge pull request #4678 from wwylele/mii-archive
...
archive_ncch: add open source mii archive
2019-03-17 15:54:28 -04:00
Weiyi Wang and GitHub
6f6bfd4b3d
Merge pull request #4698 from xperia64/picky_gles_drivers
...
Fix GLES version header on picky drivers
2019-03-15 21:59:04 -04:00
Weiyi Wang and GitHub
5803ce37bf
Merge pull request #4686 from zhaowenlan1779/macpack-test
...
travis/macos: Use macpack to bundle dependencies
2019-03-15 21:54:25 -04:00
Weiyi Wang and GitHub
4696b13170
UDS: I was drunk
2019-03-15 00:35:39 -04:00
Weiyi Wang and GitHub
1fbda5518e
Merge pull request #4684 from liushuyu/fix_freeze
...
frontend: qt: fix a freeze issue
2019-03-14 16:07:54 -04:00
Weiyi Wang and GitHub
fd7730e7c8
Merge pull request #4575 from BreadFish64/android6
...
android: add logging
2019-03-14 16:00:59 -04:00
Weiyi Wang and GitHub
9c5dca184c
Merge pull request #4688 from FearlessTobi/moar-nfc
...
nfc: Improve implementation of GetAmiiboConfig
2019-03-14 15:54:59 -04:00
Weiyi Wang
a986e35795
UDS: Change reply command ID for two versions of ConnectToNetwork
2019-03-14 10:10:18 -04:00
Weiyi Wang
9c016ff3a3
Y2R: pass in MemorySystem from service
2019-03-13 10:23:58 -04:00
Weiyi Wang
d6f3ac1f4e
IR: pass in Core::Timing for ExtraHID
2019-03-13 10:23:58 -04:00
Weiyi Wang
ea496507d5
DSP_DSP: use member system instead of global instance
2019-03-13 10:23:58 -04:00
Weiyi Wang
aaa599a849
UDS: duplicate DecryptBeaconData implementation for deprecated version
...
They are really identical in the NWM module code
2019-03-13 00:21:10 -04:00
Weiyi Wang
16fb6a2c8d
UDS: implement ConnectToNetworkDeprecated and forward params to ConnectToNetwork
2019-03-13 00:03:51 -04:00
Weiyi Wang
fc0fe5c3c0
UDS: devide IPC and impl for ConnectToNetwork
2019-03-13 00:03:51 -04:00
Weiyi Wang
e121c59583
UDS: implement BeginHostingNetworkDeprecated and forward params to BeginHostingNetwork
2019-03-13 00:03:51 -04:00
Weiyi Wang
5353d539ce
UDS: divide IPC and impl for BeginHostingNetwork
2019-03-12 23:00:18 -04:00
Weiyi Wang
1076864935
UDS: implement InitializeDeprecated and forward params to Initialize
2019-03-12 21:53:07 -04:00
Weiyi Wang
021c77bc9f
UDS: divide IPC and impl for InitializeWithVersion
2019-03-12 21:50:14 -04:00
Weiyi Wang
8750b81ce0
ServiceFrameworkBase: remove ownership to ServerPort
...
This causes a reference cycle because ServerPort also holds a shared pointer to SessionRequestHandler (inherited by ServiceFrameworkBase). Given that the member port is never used in ServiceFrameworkBase, we can simply remove it. The port object is kept alive by ServiceManager|KernelSystem::named_ports -> ClientPort -> ServerPort
2019-03-12 19:11:50 -04:00
Weiyi Wang
54d2f16c22
core: reset kernel after service manager in Shutdown
...
Services can hold kernel objects and do cleanup upon destruction, so we need to keep the kernel alive longer. The new order approximnately resembles the reverse construction order. I will revisit the ordering issue and make it less error-prone after global state cleanup
2019-03-12 19:06:20 -04:00
Weiyi Wang
6ce58248b0
APT: use member system instead of global instance
2019-03-10 11:10:24 -04:00
Weiyi Wang
88a011ec8e
GetTextureSurface: return on invalid physical address early
...
Previously this check is in GetSurface (if (addr == 0)). This worked fine because GetTextureSurface directly forwarded the address value to GetSurface. However, now with mipmap support, GetTextureSurface would call GetSurface several times with different address offset, resulting some >0 but still invalid address in case the input is 0. We should error out early on invalid address instead of sending it furthor down which would cause invalid memory access
2019-03-10 11:06:08 -04:00
Weiyi Wang
36ae10f555
archive_ncch: add open source mii archive
2019-03-09 08:19:32 -05:00
wwylele
ebdef4fd69
gl_rasterizer_cache: unlink watchers if surface is moved to remove_surfaces but is not immediately removed
2019-03-08 09:37:25 -05:00