mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-16 00:15:08 +01:00
*Fixed some issues
*Added 16:9 forwarder *Changed video mode change behaviour *Added new GameSetting "Online fix" NOTE: Online fix is ONLY needed if you initialize network inside the loader and start an Online Game and ONLY if your boot cios is the same as GameSettings IOS (which is default). That Game would need an IOS Reload before start to be able to play it online BUT this IOS Reload mostly causes Blackscreens. I made this option so you dont have to avoid initializing network. If you have different boot IOS than gamesettings IOS this fix doesnt matter too.
This commit is contained in:
parent
70d8b4f4a4
commit
02d53a5e09
@ -14,4 +14,7 @@
|
|||||||
extern const u8 background_png[];
|
extern const u8 background_png[];
|
||||||
extern const u32 background_png_size;
|
extern const u32 background_png_size;
|
||||||
|
|
||||||
|
extern const u8 background169_png[];
|
||||||
|
extern const u32 background169_png_size;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
BIN
source/images/background169.png
Normal file
BIN
source/images/background169.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 113 KiB |
@ -53,9 +53,15 @@ u8 * GetImageData(void) {
|
|||||||
|
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
ctx = PNGU_SelectImageFromBuffer(background_png);
|
if (CONF_GetAspectRatio()) {
|
||||||
if (!ctx)
|
ctx = PNGU_SelectImageFromBuffer(background169_png);
|
||||||
return NULL;
|
if (!ctx)
|
||||||
|
return NULL;
|
||||||
|
} else {
|
||||||
|
ctx = PNGU_SelectImageFromBuffer(background_png);
|
||||||
|
if (!ctx)
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
ret = PNGU_GetImageProperties(ctx, &imgProp);
|
ret = PNGU_GetImageProperties(ctx, &imgProp);
|
||||||
if (ret != PNGU_OK)
|
if (ret != PNGU_OK)
|
||||||
|
Loading…
Reference in New Issue
Block a user