Advertisement
Guest User

Untitled

a guest
May 28th, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 1.49 KB | None | 0 0
  1. 12:42 < astrange> 1. figure out how to let us control the framerate
  2. 12:42 < astrange> tearing out new_vi might work but it probably can't return back to us. it might need to run in a 2nd thread and lock on a mutex we give it in new_vi instead of what it does
  3. 12:43 < astrange> 2. import mupen64plus-video-rice
  4. 12:43 < astrange> 3. make that compile (write a fake SDL_opengl.h then tear out any SDL code it calls)
  5. 12:43 < astrange> then write our context setup so it'll draw to the iosurface when we call it
  6. 12:44 < astrange> then it should draw stuff and we can figure out input
  7. 12:44 < astrange> audio is the most new code but won't be as complicated as figuring that out
  8. 12:45 < astrange> oh, after 2 add "add code to do the plugin load for it even though it's in the same process"
  9. 12:45 < astrange> process->binary
  10. 12:45 < jweinberg> right
  11. 12:45 < jweinberg> hmm
  12. 12:45 < jweinberg> so much to do
  13. 12:45 < jweinberg> :)
  14. 12:48 < astrange> the 3 major things we're breaking when importing it are 1. SDL exists 2. plugins are dlopened and then dlsymed into global function pointers 3. the fps control is done in an inner loop by sleeping
  15. 15:05  * jweinberg goes back to playing with mame
  16. 15:05 < jweinberg> I think I'm going to just write a modified makefile for this one
  17. 15:05 < jweinberg> to give me a library with the OSD call exposed
  18. 15:05 < jweinberg> because turning this into a project is redic
  19. 15:41 < Psy|> Nick Clegg!!! Nick Clegg!!! Nick Clegg!!! Nick Clegg!!! Nick Clegg!!!
  20. 15:50 < jweinberg> o.O
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement