mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2025-01-23 01:01:12 +01:00
- fixed wfl_as_wiiflow using stub bin to return to wiiflow after launching gc, homebrew, or plugins.
- fixed wfl_as_wiiflow splash image to display its image not the image for wiiflow lite. - fixed wfl_as_wiiflow name display on 'home menu'. now displays as WiiFlow WFL.
This commit is contained in:
parent
3c888b4612
commit
21b6bec670
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
BIN
data/images/wfsplash.jpg
Normal file
BIN
data/images/wfsplash.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 24 KiB |
BIN
data/wfstub.bin
BIN
data/wfstub.bin
Binary file not shown.
Binary file not shown.
BIN
out/boot.dol
BIN
out/boot.dol
Binary file not shown.
Before Width: | Height: | Size: 3.3 MiB After Width: | Height: | Size: 3.3 MiB |
@ -1,7 +1,11 @@
|
||||
|
||||
//#define APP_WIIFLOW //uncomment this line to compile wfl as wiiflow
|
||||
|
||||
#ifdef APP_WIIFLOW
|
||||
#define APP_NAME "WiiFlow WFL"
|
||||
#else
|
||||
#define APP_NAME "WiiFlow Lite"
|
||||
#endif
|
||||
#define APP_VERSION "5.1.0"
|
||||
|
||||
#define APP_DATA_DIR "wiiflow"
|
||||
|
@ -474,8 +474,10 @@ void CVideo::render(void)
|
||||
|
||||
/* wait animation control */
|
||||
|
||||
extern const u8 splash_jpg[];
|
||||
extern const u32 splash_jpg_size;
|
||||
extern const u8 wfsplash_jpg[];
|
||||
extern const u32 wfsplash_jpg_size;
|
||||
extern const u8 wflsplash_jpg[];
|
||||
extern const u32 wflsplash_jpg_size;
|
||||
|
||||
extern const u8 wait_01_jpg[];
|
||||
extern const u32 wait_01_jpg_size;
|
||||
@ -703,7 +705,12 @@ void CVideo::waitMessage(const TexData &tex)
|
||||
void CVideo::startImage(void)
|
||||
{
|
||||
TexData splashTex;
|
||||
TexHandle.fromJPG(splashTex, splash_jpg, splash_jpg_size);
|
||||
#ifdef APP_WIIFLOW
|
||||
TexHandle.fromJPG(splashTex, wfsplash_jpg, wfsplash_jpg_size);
|
||||
#else
|
||||
TexHandle.fromJPG(splashTex, wflsplash_jpg, wflsplash_jpg_size);
|
||||
#endif
|
||||
|
||||
waitMessage(splashTex);
|
||||
render();
|
||||
TexHandle.Cleanup(splashTex);
|
||||
|
@ -7,6 +7,7 @@
|
||||
#include <vector>
|
||||
#include <string>
|
||||
#include "homebrew.h"
|
||||
#include "defines.h"
|
||||
#include "loader/sys.h"
|
||||
#include "banner/AnimatedBanner.h"
|
||||
#include "fileOps/fileOps.h"
|
||||
@ -27,13 +28,10 @@ u8 *appbooter_ptr = NULL;
|
||||
u32 appbooter_size = 0;
|
||||
using namespace std;
|
||||
|
||||
#ifdef APP_WIIFLOW
|
||||
extern const u8 wfstub_bin[];
|
||||
extern const u32 wfstub_bin_size;
|
||||
#else
|
||||
extern const u8 stub_bin[];
|
||||
extern const u32 stub_bin_size;
|
||||
#endif
|
||||
|
||||
u8 valid = 0;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user