mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-07-09 00:28:42 +12:00
[WIP] Qt: Add config window controls (#655)
* Qt: Add config window controls * Fix Windows build * Fix audio slider * Qt configs: Make thread-safe, properly update audio enable & renderdoc settings * Qt configs: Add `connectCheckbox` function * Qt configs: Add `connectCheckbox` function * Rename spuLayout * Add Discord RPC reloading * Allow configuring the app icon * Qt: Serialize icon & theme, properly set them * Add rnap and rcow icons * Qt: Fix forceShadergen config --------- Co-authored-by: wheremyfoodat <44909372+wheremyfoodat@users.noreply.github.com>
This commit is contained in:
parent
c2b479889c
commit
156328fbfb
22 changed files with 509 additions and 25 deletions
|
@ -23,6 +23,8 @@ namespace Renderdoc {
|
|||
};
|
||||
|
||||
static CaptureState captureState{CaptureState::Idle};
|
||||
static bool renderdocLoaded{false};
|
||||
|
||||
RENDERDOC_API_1_6_0* rdocAPI{};
|
||||
|
||||
void loadRenderdoc() {
|
||||
|
@ -73,6 +75,8 @@ namespace Renderdoc {
|
|||
}
|
||||
#endif
|
||||
if (rdocAPI) {
|
||||
renderdocLoaded = true;
|
||||
|
||||
// Disable default capture keys as they suppose to trigger present-to-present capturing
|
||||
// and it is not what we want
|
||||
rdocAPI->SetCaptureKeys(nullptr, 0);
|
||||
|
@ -115,5 +119,7 @@ namespace Renderdoc {
|
|||
rdocAPI->SetCaptureFilePathTemplate((path + '\\' + prefix).c_str());
|
||||
}
|
||||
}
|
||||
|
||||
bool isLoaded() { return renderdocLoaded; }
|
||||
} // namespace Renderdoc
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue