joedj / ftpii

An FTP server for the Nintendo Wii
Other
51 stars 17 forks source link

Request video reset(or de-init if you wanna go overboard) on shutdown #107

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What version of ftpii are you using?
0.0.21

over the past few months ive been banging my head against the wall over and 
over and over on the weirdest issue ive seen so far.

when priiloader 0.4 or higher is installed (or ever since we switched to 
entrypoint 0x80e00000, however the nand code should be booted first which is @ 
0x80003400) ftpii (booted from the forwarder channel since otherwise it would 
boot HBC) does not leave the screen when SYS_ResetSystem is called. even worse, 
it causes a green bar until something inits the video (which is usually the 
system menu)

now without priiloader installed this doesn't happen BUT (huge but here)
the text/green bar come on the screen way before priiloader is booted and are 
still on the screen when priiloader is booted (<3 usbgecko output :P )

i tried a small test using a different app of mine that also uses 
SYS_ResetSystem but it didn't happen with that app; only priiloader. 

if you de-init or reset the video im sure the text would be gone and maybe the 
green bar as well.
if you want the reset code, its in the priiloader svn under 
trunk/priiloader/source/global.cpp . look for Control_VI_Regs ; case 2
that is how i got rid of the green bar when booting system menu

greets
Daco

Original issue reported on code.google.com by dac...@gmail.com on 8 Jun 2010 at 8:05

GoogleCodeExporter commented 9 years ago
almost forgot : http://code.google.com/p/priiloader/issues/detail?id=80

Original comment by dac...@gmail.com on 8 Jun 2010 at 8:08

GoogleCodeExporter commented 9 years ago
nvm, all can be fixed if you wouldn't init video twice

check ftpii.c

Original comment by dac...@gmail.com on 10 Jun 2010 at 7:33

GoogleCodeExporter commented 9 years ago
patch (for one line i know its sad but license is license :P ) + build of elf 
for anyone who wants them (not that i think many ppl have this issue )

Original comment by dac...@gmail.com on 10 Jun 2010 at 2:30

Attachments: