2018-07-01 19:12:35 +02:00
|
|
|
#include "retain_vars.hpp"
|
2023-12-14 21:29:11 +01:00
|
|
|
#include "config.h"
|
2020-12-11 16:41:37 +01:00
|
|
|
#include <string>
|
2023-01-22 14:45:20 +01:00
|
|
|
|
2023-12-14 21:29:11 +01:00
|
|
|
GX2SurfaceFormat gTVSurfaceFormat = GX2_SURFACE_FORMAT_UNORM_R8_G8_B8_A8;
|
|
|
|
GX2SurfaceFormat gDRCSurfaceFormat = GX2_SURFACE_FORMAT_UNORM_R8_G8_B8_A8;
|
|
|
|
|
|
|
|
ImageSourceEnum gImageSource = SCREEN_CONFIG_DEFAULT;
|
|
|
|
bool gEnabled = ENABLED_CONFIG_DEFAULT;
|
|
|
|
uint32_t gButtonCombo = BUTTON_COMBO_CONFIG_DEFAULT;
|
|
|
|
int32_t gQuality = QUALITY_CONFIG_DEFAULT;
|
|
|
|
ImageOutputFormatEnum gOutputFormat = FORMAT_CONFIG_DEFAULT;
|
|
|
|
bool gReservedBitUsage = RESERVED_BIT_USAGE_CONFIG_DEFAULT;
|
|
|
|
|
2023-01-22 14:45:20 +01:00
|
|
|
std::string gShortNameEn;
|
|
|
|
|
2024-03-01 20:58:41 +01:00
|
|
|
ScreenshotStateInfo gTakeScreenshotTV = {SCREENSHOT_STATE_READY};
|
|
|
|
ScreenshotStateInfo gTakeScreenshotDRC = {SCREENSHOT_STATE_READY};
|
2023-01-22 16:36:40 +01:00
|
|
|
|
2023-01-22 16:38:23 +01:00
|
|
|
bool gInProgressNotificationDisplayedDRC = false;
|
|
|
|
bool gInProgressNotificationDisplayedTV = false;
|
|
|
|
bool gNotAvailableNotificationDisplayed = false;
|
|
|
|
|
2023-01-26 12:55:37 +01:00
|
|
|
NMColor COLOR_RED = {237, 28, 36, 255};
|
|
|
|
|
2023-01-26 13:01:46 +01:00
|
|
|
int32_t gThreadPriorityIncrease = 1;
|
|
|
|
|
2023-01-26 13:16:47 +01:00
|
|
|
bool gBlockDRCScreenshots = false;
|
|
|
|
bool gBlockScreenshots = false;
|
2023-01-26 13:21:35 +01:00
|
|
|
|
|
|
|
bool gInitNotificationModule = false;
|
2023-01-26 13:23:10 +01:00
|
|
|
bool gCheckIfScreenRendered = false;
|
|
|
|
|
|
|
|
uint32_t gReadySinceFramesTV = 0;
|
|
|
|
uint32_t gReadySinceFramesDRC = 0;
|