aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/hle/service/fs/fs_user.cpp
diff options
context:
space:
mode:
authorGravatar purpasmart96 <kanzoconfigz@hotmail.com>2015-05-15 19:25:02 -0700
committerGravatar purpasmart96 <kanzoconfigz@hotmail.com>2015-05-15 19:25:02 -0700
commit0fd727f3adc9611f1df62743d395e4e0ebdc6a46 (patch)
tree352b1903af7eec9a4ed4dc34b080691b1d21fe03 /src/core/hle/service/fs/fs_user.cpp
parent12f6216741fe846c32d1973026634c4c7da86697 (diff)
APT/FS: Remove asserts that were causing false positives
Diffstat (limited to 'src/core/hle/service/fs/fs_user.cpp')
-rw-r--r--src/core/hle/service/fs/fs_user.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/core/hle/service/fs/fs_user.cpp b/src/core/hle/service/fs/fs_user.cpp
index 0d2a426b..b25c8941 100644
--- a/src/core/hle/service/fs/fs_user.cpp
+++ b/src/core/hle/service/fs/fs_user.cpp
@@ -650,7 +650,7 @@ static void SetPriority(Service::Interface* self) {
cmd_buff[1] = RESULT_SUCCESS.raw;
- LOG_DEBUG(Service_FS, "called priority=0x%08X", priority);
+ LOG_DEBUG(Service_FS, "called priority=0x%X", priority);
}
/**
@@ -664,12 +664,14 @@ static void SetPriority(Service::Interface* self) {
static void GetPriority(Service::Interface* self) {
u32* cmd_buff = Kernel::GetCommandBuffer();
- ASSERT(priority != -1);
+ if (priority == -1) {
+ LOG_INFO(Service_FS, "priority was not set, priority=0x%X", priority);
+ }
cmd_buff[1] = RESULT_SUCCESS.raw;
cmd_buff[2] = priority;
- LOG_DEBUG(Service_FS, "called priority=0x%08X", priority);
+ LOG_DEBUG(Service_FS, "called priority=0x%X", priority);
}
const Interface::FunctionInfo FunctionTable[] = {