mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-02-23 06:32:32 +01:00
* GB: integrated SameBoy v0.12.1 by Lior Halphon * SFC: added HG51B169 (Cx4) math tables into bsnes binary
18 lines
352 B
C++
Executable File
18 lines
352 B
C++
Executable File
#if defined(Hiro_Desktop)
|
|
|
|
namespace hiro {
|
|
|
|
auto pDesktop::size() -> Size {
|
|
return {GetSystemMetrics(SM_CXVIRTUALSCREEN), GetSystemMetrics(SM_CYVIRTUALSCREEN)};
|
|
}
|
|
|
|
auto pDesktop::workspace() -> Geometry {
|
|
RECT rc;
|
|
SystemParametersInfo(SPI_GETWORKAREA, 0, &rc, 0);
|
|
return {rc.left, rc.top, rc.right - rc.left, rc.bottom - rc.top};
|
|
}
|
|
|
|
}
|
|
|
|
#endif
|