screen
This commit is contained in:
@@ -10,8 +10,15 @@
|
||||
#include "game/minesweeper/scene/scenesweep.h"
|
||||
#include "scene/scenemanager.h"
|
||||
#include "console/console.h"
|
||||
#include "display/screen.h"
|
||||
|
||||
errorret_t gameInit(void) {
|
||||
// Setup screen
|
||||
// SCREEN.mode = SCREEN_MODE_FIXED_HEIGHT;
|
||||
// SCREEN.fixedHeight.height = 270;
|
||||
SCREEN.mode = SCREEN_MODE_ASPECT_RATIO;
|
||||
SCREEN.aspectRatio.ratio = 16.0f / 9.0f;
|
||||
|
||||
errorChain(uiInit());
|
||||
|
||||
sceneManagerRegisterScene(&SCENE_SWEEP);
|
||||
|
Reference in New Issue
Block a user