Commit 6bdbfb91 authored by Bkg2k's avatar Bkg2k Committed by OyyoDams

Resolve "Zipped lutro games unzip in the folder of the .lutro."

parent a76998c3
......@@ -26,6 +26,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
- Web interface: IRC link replaced by Discord link in help section
- Shutdown System option moved at the top of the Quit menu
- Bump np2kai core
- Fix lutro zipped games unzipping in the .lutro folder
## [6.0] - DragonBlaze
- Change name from 5.0 to 6.0 DragonBlaze
......
--- a/lutro.c 2018-08-22 02:57:38.000000000 +0200
+++ b/lutro.c 2019-05-05 18:07:38.646434927 +0200
@@ -429,6 +429,7 @@
{
fill_pathname(gamedir, mainfile, "/", sizeof(gamedir));
fill_pathname(gamedir, conffile, "/", sizeof(gamedir));
+ strncpy(gamedir, "/tmp/lutro", sizeof(gamedir));
lutro_unzip(mainfile, gamedir);
fill_pathname_join(mainfile, gamedir, "main.lua", sizeof(mainfile));
fill_pathname_join(conffile, gamedir, "conf.lua", sizeof(conffile));
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment