Subs f24893bcb1
[CRT] Add KMS modeswitch (#15131)
* Prepare to update deps/switchres

* Squashed 'deps/switchres/' content from commit ca72648b32

git-subtree-dir: deps/switchres
git-subtree-split: ca72648b3253eca8c5addf64d1e4aa1c43f5db94

* Add CRT modeswitching to KMS
Display the real refresh rate
Enable the CRT SwitchRes menu
Add another switchres.ini path for Lakka
2023-03-25 11:57:10 +01:00

38 lines
1.0 KiB
C

/**************************************************************
edid.h - Basic EDID generation
(based on edid.S: EDID data template by Carsten Emde)
---------------------------------------------------------
Switchres Modeline generation engine for emulation
License GPL-2.0+
Copyright 2010-2021 Chris Kennedy, Antonio Giner,
Alexandre Wodarczyk, Gil Delescluse
**************************************************************/
#ifndef __EDID_H__
#define __EDID_H__
//============================================================
// TYPE DEFINITIONS
//============================================================
typedef struct edid_block
{
char b[128];
/* char ext1[128];
char ext2[128];
char ext3[128];*/
} edid_block;
//============================================================
// PROTOTYPES
//============================================================
int edid_from_modeline(modeline *mode, monitor_range *range, const char *name, edid_block *edid);
#endif