Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Video.init()
- Sound.init()
- Video.open("app0:/output.pshv", NO_LOOP)
- while true do
- Graphics.initBlend()
- Screen.clear()
- frame = Video.getOutput()
- if frame ~= 0 then
- Graphics.drawImage(0, 0, frame)
- end
- Graphics.termBlend()
- if Controls.check(Controls.read(), SCE_CTRL_TRIANGLE) then
- Video.pause()
- end
- if Controls.check(Controls.read(), SCE_CTRL_SQUARE) then
- Video.resume()
- end
- Screen.flip()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement