mirror of
https://github.com/SirHumza/orbisRPC.git
synced 2026-10-06 09:00:37 +02:00
clock include + drop unused stat in detect
This commit is contained in:
1 parent
2e9ad5c5f5
commit
968bc75395
1 file changed
+1
-1
+1
-1
@@ -22,6 +22,7 @@
|
||||
#include "log.h"
|
||||
#include "sfo.h"
|
||||
#include "tmdb.h"
|
||||
#include "clock.h"
|
||||
#ifdef ORBISRPC_SDK_PAYLOAD
|
||||
/* Payload-SDK build: dlopen/dlsym come from the SDK libc (dlfcn);
|
||||
* there is no UserService here — user_init() below degrades. */
|
||||
@@ -159,7 +160,6 @@ static long scan_newest_save(char *out, size_t cap){ static const char *users
|
||||
if(strlen(e->d_name) != 9 || !is_title_prefix(e->d_name)) continue;
|
||||
char tp[160];
|
||||
snprintf(tp, sizeof tp, "%s/%s", spath, e->d_name);
|
||||
struct stat st;
|
||||
/* newest write inside the title dir wins */
|
||||
DIR *td = opendir(tp);
|
||||
long tb = -1;
|
||||
|
||||
Reference in new issue
Block a user