Tree:
50c7539108
2ndAdjustmentVulkan
2ndAdjustmentVulkanV3-STOP_FORCE_PUSHING_CAMILLE
2ndAdjustmentVulkanv2
2ndgpuopts
John-android-rescale-toggle
Kernel
TTYD
Update-some-barriers-test
android-meows
astc-fix
astc_optimization1
astc_optimizations
atomicops-mxwell
bcn-ternary-soft
bioshock
buffer_cache
bump-httplib-minver
civa
crueter-patch-1
crueter-patch-2
crueter-patch-3
crueter-patch-4
descriptor
descriptor_pool_opt
descriptor_set
discfix
dmnt2
drop-msvc
dynarmic
dynarmic-ppc64
eden-managarm
eden-orbis-ps4
eden-wasm
eds-true-adreno-fixes
eds-true-adreno-fixes-pre-0.1.0
eds_changes1
eds_changes_phasewise
ext-boost
feat/android_kotlin_compose
feat/game_override
feat/qlaunch-ovl-fixes
fix-cpmutil-win
fix-friend-list-freeze
fix-grid-autoalign
fix-update-android
fix-update-deps-ci
fix/discord-rpc
flatopsfixes23485
fs-try
funny-meows
gpuopts
kosmic_krisp
kosmickrisp
lanobu
lines
liz-dynarmic-macos-fbsd-port
liz-heaptrack-fix
lizize/fixcrashwehenimagesizeexceed
lizzie/1st-anniversary-icon
lizzie/anv-cached-mesa-hack
lizzie/areafixnvidia
lizzie/astc-mp4-improv
lizzie/aurfixixifxixfi
lizzie/brunofix7546847
lizzie/bump-18-version-cache
lizzie/bundle-v53
lizzie/bundleevil123
lizzie/cpudetect1234
lizzie/dynarmic-coalesce-rw
lizzie/dynarmic-exclusive-fixups
lizzie/dynarmic-terminal-leafs
lizzie/eden-room-cli
lizzie/edit-handheld-mode
lizzie/emutls-nuke
lizzie/evil-f32-u32-format-fix
lizzie/evil-meow-meow
lizzie/fbsd-shm_create_largepage
lizzie/ffmpeg-d1d873c003
lizzie/ffmpeg-fix-externel
lizzie/fix-aur-build-again
lizzie/fix-link-errs
lizzie/fix-nvmap-handles
lizzie/fix-nvmap-handles-but-evil
lizzie/fixandroid7435683485
lizzie/force-flush-in-nce-invalidate
lizzie/forceattachements-at-all-times
lizzie/gidofix7545
lizzie/gigdigdi75
lizzie/gutter-sw-blitter
lizzie/hbloader-fix
lizzie/inline-123
lizzie/inline-audio-structure-parent-refs
lizzie/inlinecodecnvenc
lizzie/invert-gyro
lizzie/ios-port-sud
lizzie/jamboree-audio-crash
lizzie/jit-addresschecks
lizzie/macos-network-ifaces
lizzie/macos-vk-metal-fix-stype
lizzie/mediatek-stuff-for-fun
lizzie/mlp223
lizzie/msvcfix1234
lizzie/multicore-macos-fix1
lizzie/nce-invalidate-split
lizzie/nce-port1123
lizzie/netbsdgcc14-fix
lizzie/noexcept-dynarmic
lizzie/nuke-opus-wawaw
lizzie/openssl-external-builds
lizzie/patch-manager-implemente-sdsd
lizzie/pkza-mwait
lizzie/powerunswizzle
lizzie/product-model-wawa
lizzie/qtcrashwhensgssersrtsr
lizzie/readonly-listicons
lizzie/refactor-networking-12
lizzie/remove-disassembler-dynarmic
lizzie/remove-mlp-2-level
lizzie/restore-fcsm
lizzie/revert-buffer-cache-2nd-time
lizzie/rework-ips
lizzie/settings-blocked-domains
lizzie/simplify-invalid-acc
lizzie/splay
lizzie/ssaa-what-the-fuck
lizzie/stable-shader-pools
lizzie/stuff-for-fun-but-evil
lizzie/swkbd-mhu
lizzie/thread-names-log
lizzie/tomo-toggle
lizzie/tryfixrandomvkshit
lizzie/ulaunch-attempt1
lizzie/unaligned-attempt-2
lizzie/unity-build
lizzie/update-deps75487
lizzie/update-faq-link-wwa
lizzie/vex-encode-vmovd
lizzie/vk-VkSamplerBorderColorComponentMappingCreateInfoEXT
lizzie/vk-ext-fault-info
lizzie/vkexperiments1-highp-fucked
lizzie/vkweep12
lizzie/wstring-uni-123
lizzie/xbyak-force-bundled
lizzie/xcode-evil-shit-123
lizzie/zlib-ng
lsfg-android
macroify-surface-stuffs
many/fix-tomodachi
master
memory_changes
mmap-fixews
mutliplayer-filter-better1
n64
nce_cpp
pipelinederivative
pr-template-v2
qcomopts2
queries
querybugfix
refactoreds2
release-early-fences
release/0.0.3
release/0.0.4
release/0.1.0
release/0.2.0
restore-metal-surface
revert-2695
revert-3aa0d462598beb2021308eee1d757d74fe33b312
showcase
showcase2
sjkdbsdfjkbsdf-2834
spvopts
sured-revert
temporary-branch
test-revert-gpu-optim
test2
tex_opt
tiled-gpu
tiled-gpu-v2
true-eds
true-eds-graphics
true-eds-pre-0.0.1
uma
unified-memory-access
update-deps-1780370490
update-deps-1780370770
update-deps-1781956847
update-deps-1782561694
update-deps-1783166490
update-translations-1777730513
update-translations-1779199346
update-translations-1779804173
update-translations-1782568916
update-translations-1782828125
update-translations-1783173710
update-translations-1784383309
update-translations-1784642524
update-translations-1785247326
update-translations-1785592875
update-translations-1786377699
vk-experiments1
vk-experiments2
vk-experiments3
vk-experiments4
vk-experiments5
vk-experiments7
vk-experiments8
vk-experiments9
vk-fix-oom-force-maller-buffers
vk-symph
vkexperiments1
vuid00336_1
vuid02999
vuid04553
vulkanasync
wildcard-amd
workgroup
xbzk-dma-pusher-step-redesign
xbzk-saf-recursive-write-with-permission-request
xbzk/background-support
xbzk/fix-ci-package-cache-key
xbzk/flicker-fix
xbzk/frame-skipping+interpolation-experiments
xbzk/hb-tico-support-part-2
xbzk/reloadinputdevices-isrunning-m_mutex-guard
xbzk/samsung-dex-fullscreen-fix
xbzk/unreal-unsafe-junk-guards
xbzk/vulkan-vuid-goodies-pack
0.0.0
0.0.1-pre-alpha
0.0.2-pre-alpha
test-tag1
test-tag2
v0.0.3
v0.0.3-rc1
v0.0.3-rc2
v0.0.3-rc3
v0.0.3.git
v0.0.4
v0.0.4-rc1
v0.0.4-rc2
v0.0.4-rc2.test
v0.0.4-rc2.test2
v0.0.4-rc3
v0.0.4-rc3.test1
v0.0.4-rc3.test2
v0.0.4.test
v0.1.0
v0.1.0-rc1
v0.1.1
v0.2.0
v0.2.0-rc1
v0.2.0-rc2
v0.2.1
${ noResults }
5 Commits (50c7539108492fa5c326e06a823026f15b07d06a)
| Author | SHA1 | Message | Date |
|---|---|---|---|
|
|
e21b6ff79d |
service: Update function tables
Keeps the function tables up to date. Updated based off information from Switchbrew. |
7 years ago |
|
|
565fce71b1 |
service/audctl: Update documentation comments to be relative to 8.0.0
The state of these service calls are still the same in version 8.0.0. |
7 years ago |
|
|
19f8f86bdb |
service/audctl: Implement GetTargetVolumeMin() and GetTargetVolumeMax()
These two service functions are literally hardcoded to always return these values without any other error checking. |
7 years ago |
|
|
6ac955a0b4 |
hle/service: Default constructors and destructors in the cpp file where applicable
When a destructor isn't defaulted into a cpp file, it can cause the use
of forward declarations to seemingly fail to compile for non-obvious
reasons. It also allows inlining of the construction/destruction logic
all over the place where a constructor or destructor is invoked, which
can lead to code bloat. This isn't so much a worry here, given the
services won't be created and destroyed frequently.
The cause of the above mentioned non-obvious errors can be demonstrated
as follows:
------- Demonstrative example, if you know how the described error happens, skip forwards -------
Assume we have the following in the header, which we'll call "thing.h":
\#include <memory>
// Forward declaration. For example purposes, assume the definition
// of Object is in some header named "object.h"
class Object;
class Thing {
public:
// assume no constructors or destructors are specified here,
// or the constructors/destructors are defined as:
//
// Thing() = default;
// ~Thing() = default;
//
// ... Some interface member functions would be defined here
private:
std::shared_ptr<Object> obj;
};
If this header is included in a cpp file, (which we'll call "main.cpp"),
this will result in a compilation error, because even though no
destructor is specified, the destructor will still need to be generated by
the compiler because std::shared_ptr's destructor is *not* trivial (in
other words, it does something other than nothing), as std::shared_ptr's
destructor needs to do two things:
1. Decrement the shared reference count of the object being pointed to,
and if the reference count decrements to zero,
2. Free the Object instance's memory (aka deallocate the memory it's
pointing to).
And so the compiler generates the code for the destructor doing this inside main.cpp.
Now, keep in mind, the Object forward declaration is not a complete type. All it
does is tell the compiler "a type named Object exists" and allows us to
use the name in certain situations to avoid a header dependency. So the
compiler needs to generate destruction code for Object, but the compiler
doesn't know *how* to destruct it. A forward declaration doesn't tell
the compiler anything about Object's constructor or destructor. So, the
compiler will issue an error in this case because it's undefined
behavior to try and deallocate (or construct) an incomplete type and
std::shared_ptr and std::unique_ptr make sure this isn't the case
internally.
Now, if we had defaulted the destructor in "thing.cpp", where we also
include "object.h", this would never be an issue, as the destructor
would only have its code generated in one place, and it would be in a
place where the full class definition of Object would be visible to the
compiler.
---------------------- End example ----------------------------
Given these service classes are more than certainly going to change in
the future, this defaults the constructors and destructors into the
relevant cpp files to make the construction and destruction of all of
the services consistent and unlikely to run into cases where forward
declarations are indirectly causing compilation errors. It also has the
plus of avoiding the need to rebuild several services if destruction
logic changes, since it would only be necessary to recompile the single
cpp file.
|
8 years ago |
|
|
bba63b33a1 |
service/audio: Add missing services
Adds the missing audctl service, as well as the :a and :d services for audin, audout, audrec, and audren. |
8 years ago |