Fixed dolphin ratioing
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user