*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:
dimok321 2009-06-14 10:08:41 +00:00
parent 70d8b4f4a4
commit 02d53a5e09
3 changed files with 15 additions and 6 deletions

View File

@ -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

Binary file not shown.

After

Width:  |  Height:  |  Size: 113 KiB

View File

@ -53,9 +53,15 @@ u8 * GetImageData(void) {
int ret; int ret;
if (CONF_GetAspectRatio()) {
ctx = PNGU_SelectImageFromBuffer(background169_png);
if (!ctx)
return NULL;
} else {
ctx = PNGU_SelectImageFromBuffer(background_png); ctx = PNGU_SelectImageFromBuffer(background_png);
if (!ctx) if (!ctx)
return NULL; return NULL;
}
ret = PNGU_GetImageProperties(ctx, &imgProp); ret = PNGU_GetImageProperties(ctx, &imgProp);
if (ret != PNGU_OK) if (ret != PNGU_OK)