summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheOfficialFloW2018-04-17 19:06:34 +0200
committerGitHub2018-04-17 19:06:34 +0200
commit04582a9dc0e8d2587a9546318f9577e6bb88b0d4 (patch)
treee13b5dacd9dccd754aa186ea2973aa87f047601d
parentAdd ScePafMisc lib and sce_paf_misc_does_file_exist (#310) (diff)
downloadvds-libraries-04582a9dc0e8d2587a9546318f9577e6bb88b0d4.tar.gz
Fixed wrong enum
-rw-r--r--include/user/compat.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/user/compat.h b/include/user/compat.h
index a7e2283..9a4786e 100644
--- a/include/user/compat.h
+++ b/include/user/compat.h
@@ -11,8 +11,9 @@ extern "C" {
#endif
typedef enum SceCompatCacheMode {
- SCE_COMPAT_CACHE_NONE = 1,
- SCE_COMPAT_CACHE_INVALIDATE = 2
+ SCE_COMPAT_CACHE_NONE = 0,
+ SCE_COMPAT_CACHE_INVALIDATE = 1,
+ SCE_COMPAT_CACHE_WRITEBACK = 2
} SceCompatCacheMode;
typedef enum SceCompatPeripheralMode {
@@ -105,7 +106,7 @@ int sceCompatSetSuspendSema(SceUID semaid1, SceUID semaid2);
int sceCompatSuspendResume(int unk);
/**
- * Cache invalidate
+ * Cache operation
*
* @param[in] mode - One of ::SceCompatCacheMode
* @param[in] addr - Address