Advertisement
Guest User

Untitled

a guest
Apr 2nd, 2015
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #Include Once "fbgfx.bi"
  2. Using FB
  3. #Include Once "crt.bi"
  4. #Include Once "freeimage.bi"
  5. #Include Once "zlib.bi"
  6. #Include Once "inc/freetofb.bi"
  7. ScreenRes 1200, 800, 32,1,GFX_SHAPED_WINDOW
  8. Dim Shared PCSX2GUI As any Ptr
  9. Dim Shared Reveal As Any Ptr
  10. Dim Shared As Integer mouse, x, y, buttons, fake =1
  11.  
  12. PCSX2GUI = freeimage_load_fb(ExePath & "/Plugins/PSXcore.dll", TRUE)
  13. Reveal = freeimage_load_fb(ExePath & "/Plugins/IOP.dll", TRUE)
  14. Paint (10,10), RGB(255,0,255), RGB(1,2,3)
  15. Put (0,0), PCSX2GUI,PSet
  16.  
  17. Do
  18.     buttons = 0
  19.     mouse = GetMouse(x,y,,buttons)
  20.     If (x > 0 And x < 1200) And (y > 0 And y < 800) Then
  21.     If buttons And 1 Then
  22.         Exit do
  23.     EndIf
  24.     End If
  25.     If MultiKey(SC_ESCAPE) Then Exit do
  26.     Sleep 15
  27. Loop
  28.  
  29.  
  30. Put (0,0), Reveal, PSet
  31.  
  32. While InKey$ <> "" Or (buttons And 1)
  33.     mouse = GetMouse(x,y,,buttons)
  34.     Sleep 15
  35. Wend
  36.  
  37. While InKey$ = ""
  38.     mouse = GetMouse(x,y,,buttons)
  39.     If (x > 0 And x < 1200) And (y > 0 And y < 800) Then
  40.     If buttons And 1 Then Exit While
  41.     End if
  42.     Sleep 15
  43. Wend
  44.  
  45. ImageDestroy(PCSX2GUI)
  46. ImageDestroy(Reveal)
  47.  
  48. End
  49.  
  50. Data "derp","derp","derp","derp","derp","derp","derp","derp","derp","derp","derp","derp","derp","derp","derp","derp","derp","derp","derp","derp","derp","derp","derp","derp","derp","derp","derp","derp","derp","derp","derp","derp","derp","derp","derp","derp","derp","derp","derp","derp","derp","derp","derp","derp","derp","derp","derp","derp","derp","derp","derp","derp","derp","derp","derp","derp","derp","derp","derp","derp","derp","derp","derp","derp","derp","derp","derp","derp","derp","derp","derp","derp","derp","derp","derp","derp","derp","derp","derp","derp","derp","derp","derp","derp","derp","derp","derp","derp","derp","derp","derp","derp"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement