summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorGravatar bunnei2014-05-29 20:26:27 -0400
committerGravatar bunnei2014-05-29 20:26:27 -0400
commit6d267142ad42ed09e475742cab463b55d9176c29 (patch)
treefc240c9bf8a57170be227791431818bb6a0c8066 /src/core
parentsvc: added svcClearEvent, stubbed function for svcArbitrateAddress, and vario... (diff)
downloadyuzu-6d267142ad42ed09e475742cab463b55d9176c29.tar.gz
yuzu-6d267142ad42ed09e475742cab463b55d9176c29.tar.xz
yuzu-6d267142ad42ed09e475742cab463b55d9176c29.zip
svc: changed unimplemented SVC log messages from "debug" messages to "error" messages
Diffstat (limited to 'src/core')
-rw-r--r--src/core/hle/svc.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/core/hle/svc.cpp b/src/core/hle/svc.cpp
index 8ef894e68..6df0309e6 100644
--- a/src/core/hle/svc.cpp
+++ b/src/core/hle/svc.cpp
@@ -106,7 +106,7 @@ Result SendSyncRequest(Handle handle) {
106/// Close a handle 106/// Close a handle
107Result CloseHandle(Handle handle) { 107Result CloseHandle(Handle handle) {
108 // ImplementMe 108 // ImplementMe
109 DEBUG_LOG(SVC, "(UNIMPLEMENTED) CloseHandle called handle=0x%08X", handle); 109 ERROR_LOG(SVC, "(UNIMPLEMENTED) CloseHandle called handle=0x%08X", handle);
110 return 0; 110 return 0;
111} 111}
112 112
@@ -176,14 +176,14 @@ Result WaitSynchronizationN(void* _out, void* _handles, u32 handle_count, u32 wa
176 176
177/// Create an address arbiter (to allocate access to shared resources) 177/// Create an address arbiter (to allocate access to shared resources)
178Result CreateAddressArbiter(void* arbiter) { 178Result CreateAddressArbiter(void* arbiter) {
179 DEBUG_LOG(SVC, "(UNIMPLEMENTED) CreateAddressArbiter called"); 179 ERROR_LOG(SVC, "(UNIMPLEMENTED) CreateAddressArbiter called");
180 Core::g_app_core->SetReg(1, 0xFABBDADD); 180 Core::g_app_core->SetReg(1, 0xFABBDADD);
181 return 0; 181 return 0;
182} 182}
183 183
184/// Arbitrate address 184/// Arbitrate address
185Result ArbitrateAddress(Handle arbiter, u32 addr, u32 _type, u32 value, s64 nanoseconds) { 185Result ArbitrateAddress(Handle arbiter, u32 addr, u32 _type, u32 value, s64 nanoseconds) {
186 DEBUG_LOG(SVC, "(UNIMPLEMENTED) ArbitrateAddress called"); 186 ERROR_LOG(SVC, "(UNIMPLEMENTED) ArbitrateAddress called");
187 ArbitrationType type = (ArbitrationType)_type; 187 ArbitrationType type = (ArbitrationType)_type;
188 Memory::Write32(addr, type); 188 Memory::Write32(addr, type);
189 return 0; 189 return 0;
@@ -199,14 +199,14 @@ Result GetResourceLimit(void* resource_limit, Handle process) {
199 // With regards to proceess values: 199 // With regards to proceess values:
200 // 0xFFFF8001 is a handle alias for the current KProcess, and 0xFFFF8000 is a handle alias for 200 // 0xFFFF8001 is a handle alias for the current KProcess, and 0xFFFF8000 is a handle alias for
201 // the current KThread. 201 // the current KThread.
202 DEBUG_LOG(SVC, "(UNIMPLEMENTED) GetResourceLimit called process=0x%08X", process); 202 ERROR_LOG(SVC, "(UNIMPLEMENTED) GetResourceLimit called process=0x%08X", process);
203 Core::g_app_core->SetReg(1, 0xDEADBEEF); 203 Core::g_app_core->SetReg(1, 0xDEADBEEF);
204 return 0; 204 return 0;
205} 205}
206 206
207/// Get resource limit current values 207/// Get resource limit current values
208Result GetResourceLimitCurrentValues(void* _values, Handle resource_limit, void* names, s32 name_count) { 208Result GetResourceLimitCurrentValues(void* _values, Handle resource_limit, void* names, s32 name_count) {
209 DEBUG_LOG(SVC, "(UNIMPLEMENTED) GetResourceLimitCurrentValues called resource_limit=%08X, names=%s, name_count=%d", 209 ERROR_LOG(SVC, "(UNIMPLEMENTED) GetResourceLimitCurrentValues called resource_limit=%08X, names=%s, name_count=%d",
210 resource_limit, names, name_count); 210 resource_limit, names, name_count);
211 Memory::Write32(Core::g_app_core->GetReg(0), 0); // Normmatt: Set used memory to 0 for now 211 Memory::Write32(Core::g_app_core->GetReg(0), 0); // Normmatt: Set used memory to 0 for now
212 return 0; 212 return 0;
@@ -255,13 +255,13 @@ Result ReleaseMutex(Handle handle) {
255 255
256/// Get current thread ID 256/// Get current thread ID
257Result GetThreadId(void* thread_id, u32 thread) { 257Result GetThreadId(void* thread_id, u32 thread) {
258 DEBUG_LOG(SVC, "(UNIMPLEMENTED) GetThreadId called thread=0x%08X", thread); 258 ERROR_LOG(SVC, "(UNIMPLEMENTED) GetThreadId called thread=0x%08X", thread);
259 return 0; 259 return 0;
260} 260}
261 261
262/// Query memory 262/// Query memory
263Result QueryMemory(void *_info, void *_out, u32 addr) { 263Result QueryMemory(void *_info, void *_out, u32 addr) {
264 DEBUG_LOG(SVC, "(UNIMPLEMENTED) QueryMemory called addr=0x%08X", addr); 264 ERROR_LOG(SVC, "(UNIMPLEMENTED) QueryMemory called addr=0x%08X", addr);
265 return 0; 265 return 0;
266} 266}
267 267
@@ -277,7 +277,7 @@ Result CreateEvent(void* _event, u32 reset_type) {
277/// Duplicates a kernel handle 277/// Duplicates a kernel handle
278Result DuplicateHandle(void* _out, Handle handle) { 278Result DuplicateHandle(void* _out, Handle handle) {
279 Handle* out = (Handle*)_out; 279 Handle* out = (Handle*)_out;
280 DEBUG_LOG(SVC, "(UNIMPLEMENTED) DuplicateHandle called handle=0x%08X", handle); 280 ERROR_LOG(SVC, "(UNIMPLEMENTED) DuplicateHandle called handle=0x%08X", handle);
281 return 0; 281 return 0;
282} 282}
283 283