Defined UNIMPLEMENTED macro and applied where applicable
Again, not in EmuD3D and EmuSound, as those are going to be LLE'd sometime soon(ish)
This commit is contained in:
parent
61835e7c4b
commit
399483c954
|
@ -103,4 +103,9 @@ extern thread_local std::string _logPrefix;
|
|||
// Log function with one out argument
|
||||
#define LOG_FUNC_ONE_ARG_OUT(arg) LOG_FUNC_BEGIN LOG_FUNC_ARG_OUT(arg) LOG_FUNC_END
|
||||
|
||||
#define UNIMPLEMENTED() \
|
||||
do { if (_DEBUG_TRACE) if(g_bPrintfOn) { \
|
||||
std::cout << __func__ << " ignored!\n"; \
|
||||
} } while (0)
|
||||
|
||||
#endif _LOGGING_H
|
|
@ -1634,7 +1634,7 @@ XBSYSAPI EXPORTNUM(25) xboxkrnl::NTSTATUS NTAPI xboxkrnl::ExReadWriteRefurbInfo
|
|||
LOG_FUNC_END;
|
||||
|
||||
// TODO: What does this do?
|
||||
EmuWarning( "ExReadWriteRefurbInfo ignored!" );
|
||||
UNIMPLEMENTED();
|
||||
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
@ -1690,7 +1690,7 @@ XBSYSAPI EXPORTNUM(37) xboxkrnl::LONG NTAPI xboxkrnl::FscSetCacheSize
|
|||
{
|
||||
LOG_FUNC_ONE_ARG(uCachePages);
|
||||
|
||||
EmuWarning("FscSetCacheSize is being ignored");
|
||||
UNIMPLEMENTED();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
@ -2559,7 +2559,7 @@ XBSYSAPI EXPORTNUM(175) void NTAPI xboxkrnl::MmLockUnlockBufferPages
|
|||
LOG_FUNC_ARG(Protect)
|
||||
LOG_FUNC_END;
|
||||
|
||||
EmuWarning("EmuKrnl: MmLockUnlockBufferPages ignored");
|
||||
UNIMPLEMENTED();
|
||||
}
|
||||
|
||||
// ******************************************************************
|
||||
|
@ -2601,7 +2601,7 @@ XBSYSAPI EXPORTNUM(178) VOID NTAPI xboxkrnl::MmPersistContiguousMemory
|
|||
LOG_FUNC_END;
|
||||
|
||||
// TODO: Actually set this up to be remember across a "reboot"
|
||||
EmuWarning("MmPersistContiguousMemory is being ignored\n");
|
||||
UNIMPLEMENTED();
|
||||
}
|
||||
|
||||
// ******************************************************************
|
||||
|
@ -3226,7 +3226,7 @@ XBSYSAPI EXPORTNUM(205) xboxkrnl::NTSTATUS NTAPI xboxkrnl::NtProtectVirtualMemor
|
|||
LOG_FUNC_ARG_OUT(OldProtect)
|
||||
LOG_FUNC_END;
|
||||
|
||||
EmuWarning("NtProtectVirtualMemory Ignored!");
|
||||
UNIMPLEMENTED();
|
||||
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
|
|
@ -119,6 +119,6 @@ XBSYSAPI EXPORTNUM(2) VOID NTAPI xboxkrnl::AvSendTVEncoderOption
|
|||
|
||||
// TODO: What does this do?
|
||||
|
||||
EmuWarning("AvSendTVEncoderOption ignored!");
|
||||
UNIMPLEMENTED();
|
||||
}
|
||||
|
||||
|
|
|
@ -325,7 +325,8 @@ HRESULT WINAPI XTL::EmuXGWriteSurfaceOrTextureToXPR
|
|||
// and write the surface/texture to a file, or output a generic .xbx
|
||||
// file and be done with it.
|
||||
|
||||
EmuWarning("(Temporarily) ignoring EmuXGWriteSurfaceOrTextureToXPR. Need file specs.");
|
||||
UNIMPLEMENTED();
|
||||
// (Temporarily) ignoring EmuXGWriteSurfaceOrTextureToXPR. Need file specs.
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
|
|
@ -971,7 +971,7 @@ VOID WINAPI XTL::EmuXSetProcessQuantumLength
|
|||
LOG_FUNC_ONE_ARG(dwMilliseconds);
|
||||
|
||||
// TODO: Implement?
|
||||
EmuWarning("XSetProcessQuantumLength is being ignored!");
|
||||
UNIMPLEMENTED();
|
||||
}
|
||||
|
||||
// ******************************************************************
|
||||
|
|
Loading…
Reference in New Issue