Fixed dolphin ratioing

This commit is contained in:
2026-06-25 22:21:12 -05:00
parent a74f1568e9
commit 454b8a91ba
7 changed files with 63 additions and 17 deletions
+15
View File
@@ -9,8 +9,23 @@
#include "input/input.h"
#include "util/string.h"
#include "assert/assert.h"
#include "console/console.h"
errorret_t systemInitDolphin(void) {
char_t *names[] = {
"4:3",
"16:9",
"Unknown"
};
int32_t ratio = systemGetAspectRatioDolphin();
uint8_t i = (
ratio == CONF_ASPECT_4_3 ? 0 :
ratio == CONF_ASPECT_16_9 ? 1 :
2
);
consolePrint("Dolphin Aspect Ratio: %s", names[i]);
errorOk();
}