mirror of https://github.com/mgba-emu/mgba.git
Wii: Fix aspect ratio (fixes #500)
This commit is contained in:
parent
86d226adcf
commit
2775c80d08
1
CHANGES
1
CHANGES
|
@ -21,6 +21,7 @@ Other fixes:
|
||||||
- LR35902: Fix trailing whitespace in disassembly
|
- LR35902: Fix trailing whitespace in disassembly
|
||||||
- Qt: Fix adjusting magnification in tile viewer when not fitting to window
|
- Qt: Fix adjusting magnification in tile viewer when not fitting to window
|
||||||
- FFmpeg: Improve initialization reliability and cleanup
|
- FFmpeg: Improve initialization reliability and cleanup
|
||||||
|
- Wii: Fix aspect ratio (fixes mgba.io/i/500)
|
||||||
Misc:
|
Misc:
|
||||||
- Qt: Add missing HEVC NVENC option (fixes mgba.io/i/1323)
|
- Qt: Add missing HEVC NVENC option (fixes mgba.io/i/1323)
|
||||||
- Qt: Improve camera initialization
|
- Qt: Improve camera initialization
|
||||||
|
|
|
@ -102,7 +102,7 @@ static struct mRotationSource rotation;
|
||||||
static GXRModeObj* vmode;
|
static GXRModeObj* vmode;
|
||||||
static float wAdjust;
|
static float wAdjust;
|
||||||
static float hAdjust;
|
static float hAdjust;
|
||||||
static float wStretch = 1.0f;
|
static float wStretch = 0.9f;
|
||||||
static float hStretch = 0.9f;
|
static float hStretch = 0.9f;
|
||||||
static float guiScale = GUI_SCALE;
|
static float guiScale = GUI_SCALE;
|
||||||
static Mtx model, view, modelview;
|
static Mtx model, view, modelview;
|
||||||
|
@ -195,6 +195,9 @@ static void reconfigureScreen(struct mGUIRunner* runner) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
vmode->viWidth = 704;
|
||||||
|
vmode->viXOrigin = 8;
|
||||||
|
|
||||||
VIDEO_SetBlack(true);
|
VIDEO_SetBlack(true);
|
||||||
VIDEO_Configure(vmode);
|
VIDEO_Configure(vmode);
|
||||||
|
|
||||||
|
@ -319,7 +322,7 @@ int main(int argc, char* argv[]) {
|
||||||
|
|
||||||
struct mGUIRunner runner = {
|
struct mGUIRunner runner = {
|
||||||
.params = {
|
.params = {
|
||||||
720, 480,
|
640, 480,
|
||||||
font, "",
|
font, "",
|
||||||
_drawStart, _drawEnd,
|
_drawStart, _drawEnd,
|
||||||
_pollInput, _pollCursor,
|
_pollInput, _pollCursor,
|
||||||
|
|
Loading…
Reference in New Issue