Commit Graph

46 Commits

Author SHA1 Message Date
48ee112ceb Add per game configuration options (#6187)
* common: Move settings to common from core.

- Removes a dependency on core and input_common from common.

* code: Wrap settings values

* Port from yuzu to allow per game settings

* citra_qt: Initial per-game settings dialog

* citra_qt: Use new API for read/save of config values

* citra_qt: Per game audio settings

* citra_qt: Per game graphics settings

* citra_qt: Per game system settings

* citra_qt: Per game general settings

* citra_qt: Document and run clang format

* citra_qt: Make icon smaller and centered

* citra_qt: Remove version number

* Not sure how to extract that, can always add it back later

* citra_qt: Wrap UISettings

* citra_qt: Fix unthottled fps setting

* citra_qt: Remove margin in emulation tab

* citra_qt: Implement some suggestions

* Bring back speed switch hotkey

* Allow configuration when game is running

* Rename/adjust UI stuff

* citra_qt: Fix build with separate windows

* citra_qt: Address feedback

* citra_qt: Log per-game settings before launching games

* citra_qt: Add shader cache options

* Also fix android build

* citra_qt: Add DLC menu option

* citra_qt: Run clang-format

* citra_qt: Adjust for time offset

* citra_qt: Implement suggestions

* Run clang-format

Co-authored-by: bunnei <bunneidev@gmail.com>
2022-12-08 13:27:25 +02:00
3201943423 Port yuzu-emu/yuzu#4437: "core_timing: Make use of uintptr_t to represent user_data" (#5499)
Co-authored-by: LC <lioncash@users.noreply.github.com>
2022-11-06 02:24:45 +01:00
2539215f18 Merge pull request #5660 from FearlessTobi/port-5166
Port yuzu-emu/yuzu#5166: "core: Remove unnecessary enum casts in log calls"
2021-02-03 10:19:38 -06:00
5f1eb7146d Merge generic part of Android microphone changes (#5624) 2020-12-30 19:21:03 -05:00
da908a9ed1 core: Remove unnecessary enum casts in log calls
Follows the video core PR. fmt doesn't require casts for enum classes
anymore, so we can remove quite a few casts.

Co-Authored-By: LC <712067+lioncash@users.noreply.github.com>
2020-12-29 06:39:21 +01:00
397bd1bb73 Fix MIC_U serialization and timing (#5223)
* Fix MIC_U serialization and timing

* Better sample rate conversion

* Actually should be every 15 samples

* Reduce rounding errors
2020-04-18 20:52:56 +02:00
3871d74bc2 Fix mic sharedmemory not being deallocated 2020-04-11 19:33:21 +01:00
d92b3e9754 Code review changes - clarified HTTP serialization 2020-03-28 16:29:15 +00:00
e4f05884c3 Fixed serialization runtime exceptions 2020-02-13 17:42:08 +08:00
996aba39fe Correct exports; add some file serialization; fix service base object serialization 2020-02-13 17:42:07 +08:00
01ec2e8a67 Serialize MIC service 2020-02-13 17:41:22 +08:00
e1e136d72f service/mic: actually use the specified device 2019-11-11 17:15:10 -05:00
5f11c5f733 Kernel: replace boost::intrusive_ptr with std::shared_ptr 2019-03-24 14:32:11 -04:00
9739e2b6fd Support signed 8bit pcm in cubeb input. Address review 2019-03-17 22:52:03 -06:00
f5df13eb24 Remove global state and add mic hot swapping 2019-03-06 20:59:58 -07:00
182d672c15 Add ifdef around cubeb for android. Address a few review comments 2019-03-06 20:03:22 -07:00
5f532c2560 Address review comments 2019-03-06 11:16:43 -07:00
c669aa8d55 Rest of the owl 2019-03-04 23:07:05 -07:00
7fccc995ce Initial Mic setup 2019-03-04 23:06:42 -07:00
1cb9bea504 kernel/shared_memory: Make data members private
Rather than allow unfettered access to the class internals, we hide all
members by default and create and API that other code can operate
against.
2018-11-23 16:20:18 +01:00
d90094e8a7 Service: release shared memory object when finalize
Since last commit SharedMemory only reset source memory set on dtor, service should always release the ref as soon as possible to make the reset happen
2018-11-16 00:24:13 -05:00
eec11a94cb Kernel: pass Kernel ref in Event 2018-10-18 21:41:36 -04:00
b163502744 Core: pass down Core::System reference to all services (#4272)
* Core: pass down Core::System reference to all services

This has to be done at once due to unified interface used by HLE/LLE switcher

* apt: eliminate Core::System::GetInstance

* gpu_gsp: eliminate Core::System::GetInstance in service

* hid: eliminate Core::System::GetInstance

* nwm: eliminate Core::System::GetInstance

* err_f: eliminate Core::System::GetInstance
2018-10-05 10:59:43 -04:00
46da908a00 service: Use nested namespace specifiers where applicable
There were a few places where nested namespace specifiers weren't being
used where they could be within the service code. This amends that to
make the namespacing a tiny bit more compact.
2018-09-22 16:14:10 +02:00
0eab948728 reformat all files with clang-format 2018-06-29 16:56:12 +03:00
7c5a76e58b log: replace all NGLOG with LOG 2018-06-29 14:18:07 +03:00
394b626e51 service/mic: Migrate logging macros (#3854) 2018-06-21 12:19:10 +03:00
d613c6f74f mic_u: Migrate to the new service framework 2017-12-15 19:22:58 -05:00
723dc644fa ResultVal: Remove MoveFrom()
Replace it with std::move(result_val).Unwrap(), or Foo().Unwrap() in
case you already have an rvalue.
2017-06-18 19:03:15 -07:00
d96a9e0c11 Service: Remove unnecessary includes from service.h
This has a huge fallout in terms of needing to fix other files because
all service implementations included that file.
2017-06-06 02:57:23 -07:00
095f7c83fc core: fix mic_u warnings on MSVC 2017-01-23 16:53:05 +01:00
c18cb1b192 Fix some warnings (#2399) 2017-01-04 13:48:29 -03:00
4fc8b8229e core: Remove HLE module, consolidate code & various cleanups. 2016-12-21 23:48:13 -05:00
963aedd8cc Add all services to the Service namespace
Previously there was a split where some of the services were in the
Service namespace and others were not.
2016-12-11 00:07:27 +00:00
5b136aa211 Set client SDK version to Service APIs 2016-11-30 09:51:14 +03:00
ec15e485c9 Output parameters to log 2016-11-25 09:37:20 +03:00
d4cadf11fc MIC_U: Stub service funcions 2016-11-25 09:37:19 +03:00
dc8479928c Sources: Run clang-format on everything. 2016-09-18 09:38:01 +09:00
0937bed8d8 services: Get rid of unnecessary includes 2016-02-02 01:40:23 -05:00
744f4af3ab services: Update some function tables 2015-12-30 11:29:21 -05:00
ef24e72b26 Asserts: break/crash program, fit to style guide; log.h->assert.h
Involves making asserts use printf instead of the log functions (log functions are asynchronous and, as such, the log won't be printed in time)
As such, the log type argument was removed (printf obviously can't use it, and it's made obsolete by the file and line printing)

Also removed some GEKKO cruft.
2015-02-10 18:30:31 -08:00
a79d21c83e Service: Clean-up Interface 2015-02-02 15:36:59 -02:00
9796bc1fa2 More services & small clean ups 2014-12-25 19:08:33 -08:00
ebfd831ccb License change 2014-12-20 21:20:24 -08:00
f5d38649c7 Remove trailing spaces in every file but the ones imported from SkyEye, AOSP or generated 2014-11-19 09:03:07 +00:00
539b4c883d Added a bunch of services 2014-11-01 15:28:35 -07:00