Advertisement
Guest User

Untitled

a guest
Sep 25th, 2017
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.41 KB | None | 0 0
  1. Video.init()
  2. Sound.init()
  3. Video.open("app0:/output.pshv", NO_LOOP)
  4. while true do
  5.     Graphics.initBlend()
  6.     Screen.clear()
  7.     frame = Video.getOutput()
  8.     if frame ~= 0 then
  9.         Graphics.drawImage(0, 0, frame)
  10.     end
  11.     Graphics.termBlend()
  12.     if Controls.check(Controls.read(), SCE_CTRL_TRIANGLE) then
  13.         Video.pause()
  14.     end
  15.     if Controls.check(Controls.read(), SCE_CTRL_SQUARE) then
  16.         Video.resume()
  17.     end
  18.     Screen.flip()
  19. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement