mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-13 11:32:29 +00:00
feat(gx): add work for console hardware detection
This commit is contained in:
parent
12b405a4dd
commit
c67ca6fba9
6 changed files with 105 additions and 5 deletions
8
src/gx/CGxMonitorMode.cpp
Normal file
8
src/gx/CGxMonitorMode.cpp
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#include "gx/CGxMonitorMode.hpp"
|
||||
|
||||
int32_t CGxMonitorModeSort(const void* a, const void* b) {
|
||||
auto i = static_cast<const CGxMonitorMode*>(a);
|
||||
auto j = static_cast<const CGxMonitorMode*>(b);
|
||||
|
||||
return (i->size.x * i->size.y) - (j->size.x * j->size.y);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue