libretro / libretro-lutro

An experimental lua game framework for libretro following the LÖVE API
https://lutro.libretro.com
MIT License
156 stars 46 forks source link

Add lutro.filesystem.getAppdataDirectory() #227

Closed RobLoach closed 2 years ago

RobLoach commented 2 years ago

Getting the system dir seems similar enough to https://love2d.org/wiki/love.filesystem.getAppdataDirectory .

local appdataDir = lutro.filesystem.getAppdataDirectory()
appdataDir
--> ~/.config/retroarch/system

Fixes #226