Files
LightningMods 633065df93 ItemzCore version: 1.3-V-2023-02-08T09:56:40
1.03 update change log

- Added a screen saver (with alternating text every 5 mins) when idling for 15 mins or if the controller is turned off
- Itemzflow now accepts and backups game saves in Apollo's Decrypted save format for portability
- Added 3 dpad speeds (to all directions) depending on how long you have held the button
- Screen saver shows IP address, FW,  temp, itemzflow version and current theme info
- Install a PKG or dump a game directly to your PC using /hostapp when connected to an NFS share
- Added the Remote app virtual app to itemzflow's app menu when connected to an NFS Share
- Added specific vapp menus instead of showing the traditional game menu
- Added an option to stop music, hovering over background music in settings press square to stop and remove the music
- Added Fuse NFS PC IP to the settings menu
- NFS setting accepts other share names using the following format nfs://PC_IP/share_name
- Added libfuse (with patches) and a modified version of fuse-nfs by @sahlberg to the itemz-daemon (big thanks to @SocraticBliss)
- Added Fuse related RPC commands
- [HOT FIX] fixed the Store API by including the prx in the pkg
- Improved game dumper progress
- Removed the Reflections setting (can still be enabled manually and will continue to work if previously enabled)
- Daemon now saves every NFS IP after successful connection for auto connection
- Fixed move to and restore from USB in the game menus
- Improved the PS button redirect
- @illusion0001  moved game patches from using tinyjson to pugixml
- Improved Itemz-daemons RPC functions and Itemzflow's IPC functions
- Added vapp launch events
- Fuse currently only supports 9.00 and 5.05 goldhen or unreleased mira update, all fws
- Fixed a few bugs
2023-02-08 23:33:50 -05:00

41 lines
879 B
C

/*
FUSE: Filesystem in Userspace
Copyright (C) 2001-2007 Miklos Szeredi <[email protected]>
This program can be distributed under the terms of the GNU LGPLv2.
See the file COPYING.LIB
*/
#include "fuse_lowlevel.h"
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <fuse.h>
int fuse_session_loop(struct fuse_session *se)
{
int res = 0;
struct fuse_chan *ch = fuse_session_next_chan(se, NULL);
size_t bufsize = fuse_chan_bufsize(ch);
char *buf = (char *) malloc(bufsize);
if (!buf) {
libfuse_print("fuse: failed to allocate read buffer");
return -1;
}
while (!fuse_session_exited(se)) {
struct fuse_chan *tmpch = ch;
res = fuse_chan_recv(&tmpch, buf, bufsize);
if (res == -EINTR)
continue;
if (res <= 0)
break;
fuse_session_process(se, buf, res, tmpch);
}
free(buf);
fuse_session_reset(se);
return res < 0 ? -1 : 0;
}