Advertisement
Guest User

gameboy.lua

a guest
Oct 22nd, 2017
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.25 KB | None | 0 0
  1. local fs = require("filesystem")
  2. local fsdir
  3. local fsFloppy
  4.  
  5. function start()
  6.   fsdir = fs.list("/mnt/")
  7.   for i=1,table.maxn(fsdir),+1
  8.   do
  9.     if fsdir[i]!="39a"
  10.     then
  11.       fsFloppy = fs.list("/mnt/"..fsdir[i])
  12.       return fsFloppy[1]
  13.     end
  14.   end
  15.  
  16. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement