mirror of
https://github.com/libretro/MesenCE.git
synced 2026-11-10 03:02:05 -10:00
13 lines
455 B
C++
13 lines
455 B
C++
#pragma once
|
|
#include "pch.h"
|
|
|
|
class GbConstants
|
|
{
|
|
public:
|
|
static constexpr uint32_t ScreenWidth = 160;
|
|
static constexpr uint32_t ScreenHeight = 144;
|
|
static constexpr uint32_t ScanlineCount = 154;
|
|
static constexpr uint32_t PixelCount = GbConstants::ScreenWidth * GbConstants::ScreenHeight;
|
|
static constexpr uint32_t LinkedPixelCount = GbConstants::PixelCount * 2;
|
|
static constexpr uint32_t EventViewerBufferSize = 456 * GbConstants::ScreenHeight;
|
|
}; |