Emeriastone
November 6th, 2006, 17:00
Hey all, I have a problem. During running of one script in particular, my psp will go black, shut off. I recieve no error messages and cannot discover for the life of me why this is happening.
The following is an excerpt of the script in question. This same sequence of script repeats 7 times to show multiple frames, and the random shutdowns occur from sequence 4 to 6. For example this is sequence 3 and all the sequences are identical except for specifics, filenames, etc.
...
Frame3 = Image.load("intro/intro3.jpg")
empty = 255
fadercolor = Color.new(0,0,0,empty)
trans:clear(fadercolor)
while true do
screen:clear()
screen:blit(0,0,Frame3)
screen:blit(0,0,trans)
if empty > 0 then
empty = empty - 5
else
break
end
fadercolor = Color.new(0,0,0,empty)
trans:clear(fadercolor)
screen.waitVblankStart()
screen.flip()
end
seagull:play()
screen.waitVblankStart(630)
while true do
screen:clear()
screen:blit(0,0,Frame3)
screen:blit(0,0,trans)
if empty < 255 then
empty = empty + 5
else
break
end
fadercolor = Color.new(0,0,0,empty)
trans:clear(fadercolor)
screen.waitVblankStart()
screen.flip()
end
...
Again, I've tried isolating the problem, breaking each sequence up into parts and testing them for errors, still it seems that these shutdowns are random.
Any help would be greatly appreciated.
Emeriastone
The following is an excerpt of the script in question. This same sequence of script repeats 7 times to show multiple frames, and the random shutdowns occur from sequence 4 to 6. For example this is sequence 3 and all the sequences are identical except for specifics, filenames, etc.
...
Frame3 = Image.load("intro/intro3.jpg")
empty = 255
fadercolor = Color.new(0,0,0,empty)
trans:clear(fadercolor)
while true do
screen:clear()
screen:blit(0,0,Frame3)
screen:blit(0,0,trans)
if empty > 0 then
empty = empty - 5
else
break
end
fadercolor = Color.new(0,0,0,empty)
trans:clear(fadercolor)
screen.waitVblankStart()
screen.flip()
end
seagull:play()
screen.waitVblankStart(630)
while true do
screen:clear()
screen:blit(0,0,Frame3)
screen:blit(0,0,trans)
if empty < 255 then
empty = empty + 5
else
break
end
fadercolor = Color.new(0,0,0,empty)
trans:clear(fadercolor)
screen.waitVblankStart()
screen.flip()
end
...
Again, I've tried isolating the problem, breaking each sequence up into parts and testing them for errors, still it seems that these shutdowns are random.
Any help would be greatly appreciated.
Emeriastone