[noexcept] Don't throw on unimplemented HLE functions.

Getting rid of exceptions.
This commit is contained in:
Nekotekina 2019-09-02 14:41:57 +03:00
parent 0dfe85dc14
commit a5be410e3f
26 changed files with 550 additions and 284 deletions

View file

@ -234,22 +234,26 @@ s32 cellAudioOutSetCopyControl(u32 audioOut, u32 control)
s32 cellAudioOutConfigure2() s32 cellAudioOutConfigure2()
{ {
fmt::throw_exception("Unimplemented" HERE); cellSysutil.todo("cellAudioOutConfigure2()");
return CELL_OK;
} }
s32 cellAudioOutGetConfiguration2() s32 cellAudioOutGetConfiguration2()
{ {
fmt::throw_exception("Unimplemented" HERE); cellSysutil.todo("cellAudioOutGetConfiguration2()");
return CELL_OK;
} }
s32 cellAudioOutRegisterCallback() s32 cellAudioOutRegisterCallback()
{ {
fmt::throw_exception("Unimplemented" HERE); cellSysutil.todo("cellAudioOutRegisterCallback()");
return CELL_OK;
} }
s32 cellAudioOutUnregisterCallback() s32 cellAudioOutUnregisterCallback()
{ {
fmt::throw_exception("Unimplemented" HERE); cellSysutil.todo("cellAudioOutUnregisterCallback()");
return CELL_OK;
} }

View file

@ -12,117 +12,134 @@ using AtomicInterlock = volatile struct CellDaisyAtomicInterlock;
s32 cellDaisyLFQueue2GetPopPointer(vm::ptr<LFQueue2> queue, vm::ptr<s32> pPointer, u32 isBlocking) s32 cellDaisyLFQueue2GetPopPointer(vm::ptr<LFQueue2> queue, vm::ptr<s32> pPointer, u32 isBlocking)
{ {
fmt::throw_exception("Unimplemented" HERE); cellDaisy.todo("cellDaisyLFQueue2GetPopPointer()");
return CELL_OK;
} }
s32 cellDaisyLFQueue2CompletePopPointer(vm::ptr<LFQueue2> queue, s32 pointer, vm::ptr<s32(vm::ptr<void>, u32)> fpSendSignal, u32 isQueueFull) s32 cellDaisyLFQueue2CompletePopPointer(vm::ptr<LFQueue2> queue, s32 pointer, vm::ptr<s32(vm::ptr<void>, u32)> fpSendSignal, u32 isQueueFull)
{ {
fmt::throw_exception("Unimplemented" HERE); cellDaisy.todo("cellDaisyLFQueue2CompletePopPointer()");
return CELL_OK;
} }
void cellDaisyLFQueue2PushOpen(vm::ptr<LFQueue2> queue) void cellDaisyLFQueue2PushOpen(vm::ptr<LFQueue2> queue)
{ {
fmt::throw_exception("Unimplemented" HERE); cellDaisy.todo("cellDaisyLFQueue2PushOpen()");
} }
s32 cellDaisyLFQueue2PushClose(vm::ptr<LFQueue2> queue, vm::ptr<s32(vm::ptr<void>, u32)> fpSendSignal) s32 cellDaisyLFQueue2PushClose(vm::ptr<LFQueue2> queue, vm::ptr<s32(vm::ptr<void>, u32)> fpSendSignal)
{ {
fmt::throw_exception("Unimplemented" HERE); cellDaisy.todo("cellDaisyLFQueue2PushClose()");
return CELL_OK;
} }
void cellDaisyLFQueue2PopOpen(vm::ptr<LFQueue2> queue) void cellDaisyLFQueue2PopOpen(vm::ptr<LFQueue2> queue)
{ {
fmt::throw_exception("Unimplemented" HERE); cellDaisy.todo("cellDaisyLFQueue2PopOpen()");
} }
s32 cellDaisyLFQueue2PopClose(vm::ptr<LFQueue2> queue, vm::ptr<s32(vm::ptr<void>, u32)> fpSendSignal) s32 cellDaisyLFQueue2PopClose(vm::ptr<LFQueue2> queue, vm::ptr<s32(vm::ptr<void>, u32)> fpSendSignal)
{ {
fmt::throw_exception("Unimplemented" HERE); cellDaisy.todo("cellDaisyLFQueue2PopClose()");
return CELL_OK;
} }
s32 cellDaisyLFQueue2HasUnfinishedConsumer(vm::ptr<LFQueue2> queue, u32 isCancelled) s32 cellDaisyLFQueue2HasUnfinishedConsumer(vm::ptr<LFQueue2> queue, u32 isCancelled)
{ {
fmt::throw_exception("Unimplemented" HERE); cellDaisy.todo("cellDaisyLFQueue2HasUnfinishedConsumer()");
return CELL_OK;
} }
s32 cellDaisy_snprintf(vm::ptr<char> buffer, u32 count, vm::cptr<char> fmt, ppu_va_args_t fmt_args) s32 cellDaisy_snprintf(vm::ptr<char> buffer, u32 count, vm::cptr<char> fmt, ppu_va_args_t fmt_args)
{ {
fmt::throw_exception("Unimplemented" HERE); cellDaisy.todo("cellDaisy_snprintf()");
return CELL_OK;
} }
s32 cellDaisyLock_initialize(vm::ptr<Lock> _this, u32 depth) s32 cellDaisyLock_initialize(vm::ptr<Lock> _this, u32 depth)
{ {
fmt::throw_exception("Unimplemented" HERE); cellDaisy.todo("cellDaisyLock_initialize()");
return CELL_OK;
} }
s32 cellDaisyLock_getNextHeadPointer(vm::ptr<Lock> _this) s32 cellDaisyLock_getNextHeadPointer(vm::ptr<Lock> _this)
{ {
fmt::throw_exception("Unimplemented" HERE); cellDaisy.todo("cellDaisyLock_getNextHeadPointer()");
return CELL_OK;
} }
s32 cellDaisyLock_getNextTailPointer(vm::ptr<Lock> _this) s32 cellDaisyLock_getNextTailPointer(vm::ptr<Lock> _this)
{ {
fmt::throw_exception("Unimplemented" HERE); cellDaisy.todo("cellDaisyLock_getNextTailPointer()");
return CELL_OK;
} }
s32 cellDaisyLock_completeConsume(vm::ptr<Lock> _this, u32 pointer) s32 cellDaisyLock_completeConsume(vm::ptr<Lock> _this, u32 pointer)
{ {
fmt::throw_exception("Unimplemented" HERE); cellDaisy.todo("cellDaisyLock_completeConsume()");
return CELL_OK;
} }
s32 cellDaisyLock_completeProduce(vm::ptr<Lock> _this, u32 pointer) s32 cellDaisyLock_completeProduce(vm::ptr<Lock> _this, u32 pointer)
{ {
fmt::throw_exception("Unimplemented" HERE); cellDaisy.todo("cellDaisyLock_completeProduce()");
return CELL_OK;
} }
s32 cellDaisyLock_pushOpen(vm::ptr<Lock> _this) s32 cellDaisyLock_pushOpen(vm::ptr<Lock> _this)
{ {
fmt::throw_exception("Unimplemented" HERE); cellDaisy.todo("cellDaisyLock_pushOpen()");
return CELL_OK;
} }
s32 cellDaisyLock_pushClose(vm::ptr<Lock> _this) s32 cellDaisyLock_pushClose(vm::ptr<Lock> _this)
{ {
fmt::throw_exception("Unimplemented" HERE); cellDaisy.todo("cellDaisyLock_pushClose()");
return CELL_OK;
} }
s32 cellDaisyLock_popOpen(vm::ptr<Lock> _this) s32 cellDaisyLock_popOpen(vm::ptr<Lock> _this)
{ {
fmt::throw_exception("Unimplemented" HERE); cellDaisy.todo("cellDaisyLock_popOpen()");
return CELL_OK;
} }
s32 cellDaisyLock_popClose(vm::ptr<Lock> _this) s32 cellDaisyLock_popClose(vm::ptr<Lock> _this)
{ {
fmt::throw_exception("Unimplemented" HERE); cellDaisy.todo("cellDaisyLock_popClose()");
return CELL_OK;
} }
void cellDaisyScatterGatherInterlock_1(vm::ptr<ScatterGatherInterlock> _this, vm::ptr<AtomicInterlock> ea, u32 size, vm::ptr<void> eaSignal, vm::ptr<s32(vm::ptr<void>, u32)> fpSendSignal) void cellDaisyScatterGatherInterlock_1(vm::ptr<ScatterGatherInterlock> _this, vm::ptr<AtomicInterlock> ea, u32 size, vm::ptr<void> eaSignal, vm::ptr<s32(vm::ptr<void>, u32)> fpSendSignal)
{ {
fmt::throw_exception("Unimplemented" HERE); cellDaisy.todo("cellDaisyScatterGatherInterlock_1()");
} }
void cellDaisyScatterGatherInterlock_2(vm::ptr<ScatterGatherInterlock> _this, u32 size, vm::ptr<u32> ids, u32 numSpus, u8 spup) void cellDaisyScatterGatherInterlock_2(vm::ptr<ScatterGatherInterlock> _this, u32 size, vm::ptr<u32> ids, u32 numSpus, u8 spup)
{ {
fmt::throw_exception("Unimplemented" HERE); cellDaisy.todo("cellDaisyScatterGatherInterlock_2()");
} }
void cellDaisyScatterGatherInterlock_9tor(vm::ptr<ScatterGatherInterlock> _this) void cellDaisyScatterGatherInterlock_9tor(vm::ptr<ScatterGatherInterlock> _this)
{ {
fmt::throw_exception("Unimplemented" HERE); cellDaisy.todo("cellDaisyScatterGatherInterlock_9tor()");
} }
s32 cellDaisyScatterGatherInterlock_probe(vm::ptr<ScatterGatherInterlock> _this, u32 isBlocking) s32 cellDaisyScatterGatherInterlock_probe(vm::ptr<ScatterGatherInterlock> _this, u32 isBlocking)
{ {
fmt::throw_exception("Unimplemented" HERE); cellDaisy.todo("cellDaisyScatterGatherInterlock_probe()");
return CELL_OK;
} }
s32 cellDaisyScatterGatherInterlock_release(vm::ptr<ScatterGatherInterlock> _this) s32 cellDaisyScatterGatherInterlock_release(vm::ptr<ScatterGatherInterlock> _this)
{ {
fmt::throw_exception("Unimplemented" HERE); cellDaisy.todo("cellDaisyScatterGatherInterlock_release()");
return CELL_OK;
} }
void cellDaisyScatterGatherInterlock_proceedSequenceNumber(vm::ptr<ScatterGatherInterlock> _this) void cellDaisyScatterGatherInterlock_proceedSequenceNumber(vm::ptr<ScatterGatherInterlock> _this)
{ {
fmt::throw_exception("Unimplemented" HERE); cellDaisy.todo("cellDaisyScatterGatherInterlock_proceedSequenceNumber()");
} }

View file

@ -577,177 +577,212 @@ s32 cellFontGetCharGlyphMetricsVertical()
s32 cellFontGetRenderEffectWeight() s32 cellFontGetRenderEffectWeight()
{ {
fmt::throw_exception("Unimplemented" HERE); cellFont.todo("cellFontGetRenderEffectWeight()");
return CELL_OK;
} }
s32 cellFontGraphicsGetDrawType() s32 cellFontGraphicsGetDrawType()
{ {
fmt::throw_exception("Unimplemented" HERE); cellFont.todo("cellFontGraphicsGetDrawType()");
return CELL_OK;
} }
s32 cellFontGetKerning() s32 cellFontGetKerning()
{ {
fmt::throw_exception("Unimplemented" HERE); cellFont.todo("cellFontGetKerning()");
return CELL_OK;
} }
s32 cellFontGetRenderScaledKerning() s32 cellFontGetRenderScaledKerning()
{ {
fmt::throw_exception("Unimplemented" HERE); cellFont.todo("cellFontGetRenderScaledKerning()");
return CELL_OK;
} }
s32 cellFontGetRenderScalePixel() s32 cellFontGetRenderScalePixel()
{ {
fmt::throw_exception("Unimplemented" HERE); cellFont.todo("cellFontGetRenderScalePixel()");
return CELL_OK;
} }
s32 cellFontGlyphGetScalePixel() s32 cellFontGlyphGetScalePixel()
{ {
fmt::throw_exception("Unimplemented" HERE); cellFont.todo("cellFontGlyphGetScalePixel()");
return CELL_OK;
} }
s32 cellFontGlyphGetHorizontalShift() s32 cellFontGlyphGetHorizontalShift()
{ {
fmt::throw_exception("Unimplemented" HERE); cellFont.todo("cellFontGlyphGetHorizontalShift()");
return CELL_OK;
} }
s32 cellFontRenderCharGlyphImageHorizontal() s32 cellFontRenderCharGlyphImageHorizontal()
{ {
fmt::throw_exception("Unimplemented" HERE); cellFont.todo("cellFontRenderCharGlyphImageHorizontal()");
return CELL_OK;
} }
s32 cellFontGetEffectWeight() s32 cellFontGetEffectWeight()
{ {
fmt::throw_exception("Unimplemented" HERE); cellFont.todo("cellFontGetEffectWeight()");
return CELL_OK;
} }
s32 cellFontGetScalePixel() s32 cellFontGetScalePixel()
{ {
fmt::throw_exception("Unimplemented" HERE); cellFont.todo("cellFontGetScalePixel()");
return CELL_OK;
} }
s32 cellFontClearFileCache() s32 cellFontClearFileCache()
{ {
fmt::throw_exception("Unimplemented" HERE); cellFont.todo("cellFontClearFileCache()");
return CELL_OK;
} }
s32 cellFontAdjustFontScaling() s32 cellFontAdjustFontScaling()
{ {
fmt::throw_exception("Unimplemented" HERE); cellFont.todo("cellFontAdjustFontScaling()");
return CELL_OK;
} }
s32 cellFontSetupRenderScalePoint() s32 cellFontSetupRenderScalePoint()
{ {
fmt::throw_exception("Unimplemented" HERE); cellFont.todo("cellFontSetupRenderScalePoint()");
return CELL_OK;
} }
s32 cellFontGlyphGetVerticalShift() s32 cellFontGlyphGetVerticalShift()
{ {
fmt::throw_exception("Unimplemented" HERE); cellFont.todo("cellFontGlyphGetVerticalShift()");
return CELL_OK;
} }
s32 cellFontGetGlyphExpandBufferInfo() s32 cellFontGetGlyphExpandBufferInfo()
{ {
fmt::throw_exception("Unimplemented" HERE); cellFont.todo("cellFontGetGlyphExpandBufferInfo()");
return CELL_OK;
} }
s32 cellFontGetLibrary() s32 cellFontGetLibrary()
{ {
fmt::throw_exception("Unimplemented" HERE); cellFont.todo("cellFontGetLibrary()");
return CELL_OK;
} }
s32 cellFontVertexesGlyphRelocate() s32 cellFontVertexesGlyphRelocate()
{ {
fmt::throw_exception("Unimplemented" HERE); cellFont.todo("cellFontVertexesGlyphRelocate()");
return CELL_OK;
} }
s32 cellFontGetInitializedRevisionFlags() s32 cellFontGetInitializedRevisionFlags()
{ {
fmt::throw_exception("Unimplemented" HERE); cellFont.todo("cellFontGetInitializedRevisionFlags()");
return CELL_OK;
} }
s32 cellFontGetResolutionDpi() s32 cellFontGetResolutionDpi()
{ {
fmt::throw_exception("Unimplemented" HERE); cellFont.todo("cellFontGetResolutionDpi()");
return CELL_OK;
} }
s32 cellFontGlyphRenderImageVertical() s32 cellFontGlyphRenderImageVertical()
{ {
fmt::throw_exception("Unimplemented" HERE); cellFont.todo("cellFontGlyphRenderImageVertical()");
return CELL_OK;
} }
s32 cellFontGlyphRenderImageHorizontal() s32 cellFontGlyphRenderImageHorizontal()
{ {
fmt::throw_exception("Unimplemented" HERE); cellFont.todo("cellFontGlyphRenderImageHorizontal()");
return CELL_OK;
} }
s32 cellFontAdjustGlyphExpandBuffer() s32 cellFontAdjustGlyphExpandBuffer()
{ {
fmt::throw_exception("Unimplemented" HERE); cellFont.todo("cellFontAdjustGlyphExpandBuffer()");
return CELL_OK;
} }
s32 cellFontGetRenderScalePoint() s32 cellFontGetRenderScalePoint()
{ {
fmt::throw_exception("Unimplemented" HERE); cellFont.todo("cellFontGetRenderScalePoint()");
return CELL_OK;
} }
s32 cellFontGraphicsGetFontRGBA() s32 cellFontGraphicsGetFontRGBA()
{ {
fmt::throw_exception("Unimplemented" HERE); cellFont.todo("cellFontGraphicsGetFontRGBA()");
return CELL_OK;
} }
s32 cellFontGlyphGetOutlineVertexes() s32 cellFontGlyphGetOutlineVertexes()
{ {
fmt::throw_exception("Unimplemented" HERE); cellFont.todo("cellFontGlyphGetOutlineVertexes()");
return CELL_OK;
} }
s32 cellFontDelete() s32 cellFontDelete()
{ {
fmt::throw_exception("Unimplemented" HERE); cellFont.todo("cellFontDelete()");
return CELL_OK;
} }
s32 cellFontPatchWorks() s32 cellFontPatchWorks()
{ {
fmt::throw_exception("Unimplemented" HERE); cellFont.todo("cellFontPatchWorks()");
return CELL_OK;
} }
s32 cellFontGlyphRenderImage() s32 cellFontGlyphRenderImage()
{ {
fmt::throw_exception("Unimplemented" HERE); cellFont.todo("cellFontGlyphRenderImage()");
return CELL_OK;
} }
s32 cellFontGetBindingRenderer() s32 cellFontGetBindingRenderer()
{ {
fmt::throw_exception("Unimplemented" HERE); cellFont.todo("cellFontGetBindingRenderer()");
return CELL_OK;
} }
s32 cellFontGenerateCharGlyphVertical() s32 cellFontGenerateCharGlyphVertical()
{ {
fmt::throw_exception("Unimplemented" HERE); cellFont.todo("cellFontGenerateCharGlyphVertical()");
return CELL_OK;
} }
s32 cellFontGetRenderEffectSlant() s32 cellFontGetRenderEffectSlant()
{ {
fmt::throw_exception("Unimplemented" HERE); cellFont.todo("cellFontGetRenderEffectSlant()");
return CELL_OK;
} }
s32 cellFontGetScalePoint() s32 cellFontGetScalePoint()
{ {
fmt::throw_exception("Unimplemented" HERE); cellFont.todo("cellFontGetScalePoint()");
return CELL_OK;
} }
s32 cellFontGraphicsGetLineRGBA() s32 cellFontGraphicsGetLineRGBA()
{ {
fmt::throw_exception("Unimplemented" HERE); cellFont.todo("cellFontGraphicsGetLineRGBA()");
return CELL_OK;
} }
s32 cellFontControl() s32 cellFontControl()
{ {
fmt::throw_exception("Unimplemented" HERE); cellFont.todo("cellFontControl()");
return CELL_OK;
} }
s32 cellFontStatic() s32 cellFontStatic()
{ {
fmt::throw_exception("Unimplemented" HERE); cellFont.todo("cellFontStatic()");
return CELL_OK;
} }
DECLARE(ppu_module_manager::cellFont)("cellFont", []() DECLARE(ppu_module_manager::cellFont)("cellFont", []()

View file

@ -997,17 +997,20 @@ s32 cellFsAioCancel(s32 id)
s32 cellFsArcadeHddSerialNumber() s32 cellFsArcadeHddSerialNumber()
{ {
fmt::throw_exception("Unimplemented: %s", __func__); cellFs.todo("cellFsArcadeHddSerialNumber()");
return CELL_OK;
} }
s32 cellFsRegisterConversionCallback() s32 cellFsRegisterConversionCallback()
{ {
fmt::throw_exception("Unimplemented: %s", __func__); cellFs.todo("cellFsRegisterConversionCallback()");
return CELL_OK;
} }
s32 cellFsUnregisterL10nCallbacks() s32 cellFsUnregisterL10nCallbacks()
{ {
fmt::throw_exception("Unimplemented: %s", __func__); cellFs.todo("cellFsUnregisterL10nCallbacks()");
return CELL_OK;
} }
DECLARE(ppu_module_manager::cellFs)("sys_fs", []() DECLARE(ppu_module_manager::cellFs)("sys_fs", []()

View file

@ -219,7 +219,8 @@ error_code cellHddGameCheck(ppu_thread& ppu, u32 version, vm::cptr<char> dirName
error_code cellHddGameCheck2() error_code cellHddGameCheck2()
{ {
fmt::throw_exception("Unimplemented" HERE); cellGame.todo("cellHddGameCheck2()");
return CELL_OK;
} }
error_code cellHddGameGetSizeKB(vm::ptr<u32> size) error_code cellHddGameGetSizeKB(vm::ptr<u32> size)

View file

@ -831,7 +831,8 @@ s32 cellGcmGetVBlankCount2()
s32 cellGcmSysGetLastVBlankTime() s32 cellGcmSysGetLastVBlankTime()
{ {
fmt::throw_exception("Unimplemented" HERE); cellGcmSys.todo("cellGcmSysGetLastVBlankTime()");
return CELL_OK;
} }
s32 cellGcmInitSystemMode(u64 mode) s32 cellGcmInitSystemMode(u64 mode)
@ -1307,27 +1308,32 @@ s32 cellGcmSetTile(u8 index, u8 location, u32 offset, u32 size, u32 pitch, u8 co
s32 _cellGcmFunc2() s32 _cellGcmFunc2()
{ {
fmt::throw_exception("Unimplemented" HERE); cellGcmSys.todo("_cellGcmFunc2()");
return CELL_OK;
} }
s32 _cellGcmFunc3() s32 _cellGcmFunc3()
{ {
fmt::throw_exception("Unimplemented" HERE); cellGcmSys.todo("_cellGcmFunc3()");
return CELL_OK;
} }
s32 _cellGcmFunc4() s32 _cellGcmFunc4()
{ {
fmt::throw_exception("Unimplemented" HERE); cellGcmSys.todo("_cellGcmFunc4()");
return CELL_OK;
} }
s32 _cellGcmFunc13() s32 _cellGcmFunc13()
{ {
fmt::throw_exception("Unimplemented" HERE); cellGcmSys.todo("_cellGcmFunc13()");
return CELL_OK;
} }
s32 _cellGcmFunc38() s32 _cellGcmFunc38()
{ {
fmt::throw_exception("Unimplemented" HERE); cellGcmSys.todo("_cellGcmFunc38()");
return CELL_OK;
} }
s32 cellGcmGpadGetStatus(vm::ptr<u32> status) s32 cellGcmGpadGetStatus(vm::ptr<u32> status)

View file

@ -75,7 +75,8 @@ s32 cellGifDecOpen(PMainHandle mainHandle, PPSubHandle subHandle, PSrc src, POpe
s32 cellGifDecExtOpen() s32 cellGifDecExtOpen()
{ {
fmt::throw_exception("Unimplemented" HERE); cellGifDec.todo("cellGifDecExtOpen()");
return CELL_OK;
} }
s32 cellGifDecReadHeader(PMainHandle mainHandle, PSubHandle subHandle, PInfo info) s32 cellGifDecReadHeader(PMainHandle mainHandle, PSubHandle subHandle, PInfo info)
@ -127,7 +128,8 @@ s32 cellGifDecReadHeader(PMainHandle mainHandle, PSubHandle subHandle, PInfo inf
s32 cellGifDecExtReadHeader() s32 cellGifDecExtReadHeader()
{ {
fmt::throw_exception("Unimplemented" HERE); cellGifDec.todo("cellGifDecExtReadHeader()");
return CELL_OK;
} }
s32 cellGifDecSetParameter(PMainHandle mainHandle, PSubHandle subHandle, PInParam inParam, POutParam outParam) s32 cellGifDecSetParameter(PMainHandle mainHandle, PSubHandle subHandle, PInParam inParam, POutParam outParam)
@ -157,7 +159,8 @@ s32 cellGifDecSetParameter(PMainHandle mainHandle, PSubHandle subHandle, PInPara
s32 cellGifDecExtSetParameter() s32 cellGifDecExtSetParameter()
{ {
fmt::throw_exception("Unimplemented" HERE); cellGifDec.todo("cellGifDecExtSetParameter()");
return CELL_OK;
} }
s32 cellGifDecDecodeData(PMainHandle mainHandle, PSubHandle subHandle, vm::ptr<u8> data, PDataCtrlParam dataCtrlParam, PDataOutInfo dataOutInfo) s32 cellGifDecDecodeData(PMainHandle mainHandle, PSubHandle subHandle, vm::ptr<u8> data, PDataCtrlParam dataCtrlParam, PDataOutInfo dataOutInfo)
@ -276,7 +279,8 @@ s32 cellGifDecDecodeData(PMainHandle mainHandle, PSubHandle subHandle, vm::ptr<u
s32 cellGifDecExtDecodeData() s32 cellGifDecExtDecodeData()
{ {
fmt::throw_exception("Unimplemented" HERE); cellGifDec.todo("cellGifDecExtDecodeData()");
return CELL_OK;
} }
s32 cellGifDecClose(PMainHandle mainHandle, PSubHandle subHandle) s32 cellGifDecClose(PMainHandle mainHandle, PSubHandle subHandle)

View file

@ -64,7 +64,8 @@ s32 cellJpgDecOpen(u32 mainHandle, vm::ptr<u32> subHandle, vm::ptr<CellJpgDecSrc
s32 cellJpgDecExtOpen() s32 cellJpgDecExtOpen()
{ {
fmt::throw_exception("Unimplemented" HERE); cellJpgDec.todo("cellJpgDecExtOpen()");
return CELL_OK;
} }
s32 cellJpgDecClose(u32 mainHandle, u32 subHandle) s32 cellJpgDecClose(u32 mainHandle, u32 subHandle)
@ -158,7 +159,8 @@ s32 cellJpgDecReadHeader(u32 mainHandle, u32 subHandle, vm::ptr<CellJpgDecInfo>
s32 cellJpgDecExtReadHeader() s32 cellJpgDecExtReadHeader()
{ {
fmt::throw_exception("Unimplemented" HERE); cellJpgDec.todo("cellJpgDecExtReadHeader()");
return CELL_OK;
} }
s32 cellJpgDecDecodeData(u32 mainHandle, u32 subHandle, vm::ptr<u8> data, vm::cptr<CellJpgDecDataCtrlParam> dataCtrlParam, vm::ptr<CellJpgDecDataOutInfo> dataOutInfo) s32 cellJpgDecDecodeData(u32 mainHandle, u32 subHandle, vm::ptr<u8> data, vm::cptr<CellJpgDecDataCtrlParam> dataCtrlParam, vm::ptr<CellJpgDecDataOutInfo> dataOutInfo)
@ -299,7 +301,8 @@ s32 cellJpgDecDecodeData(u32 mainHandle, u32 subHandle, vm::ptr<u8> data, vm::cp
s32 cellJpgDecExtDecodeData() s32 cellJpgDecExtDecodeData()
{ {
fmt::throw_exception("Unimplemented" HERE); cellJpgDec.todo("cellJpgDecExtDecodeData()");
return CELL_OK;
} }
s32 cellJpgDecSetParameter(u32 mainHandle, u32 subHandle, vm::cptr<CellJpgDecInParam> inParam, vm::ptr<CellJpgDecOutParam> outParam) s32 cellJpgDecSetParameter(u32 mainHandle, u32 subHandle, vm::cptr<CellJpgDecInParam> inParam, vm::ptr<CellJpgDecOutParam> outParam)
@ -349,7 +352,8 @@ s32 cellJpgDecSetParameter(u32 mainHandle, u32 subHandle, vm::cptr<CellJpgDecInP
s32 cellJpgDecExtSetParameter() s32 cellJpgDecExtSetParameter()
{ {
fmt::throw_exception("Unimplemented" HERE); cellJpgDec.todo("cellJpgDecExtSetParameter()");
return CELL_OK;
} }

View file

@ -486,7 +486,8 @@ s32 GBKtoUCS2()
s32 eucjp2jis() s32 eucjp2jis()
{ {
fmt::throw_exception("Unimplemented" HERE); cellL10n.todo("eucjp2jis()");
return CELL_OK;
} }
s32 UTF32stoUTF8s(vm::cptr<u32> src, vm::cptr<s32> src_len, vm::ptr<u8> dst, vm::ptr<s32> dst_len) s32 UTF32stoUTF8s(vm::cptr<u32> src, vm::cptr<s32> src_len, vm::ptr<u8> dst, vm::ptr<s32> dst_len)
@ -1213,7 +1214,8 @@ s32 BIG5stoUTF8s(vm::cptr<u8> src, vm::cptr<s32> src_len, vm::ptr<u8> dst, vm::p
s32 EUCCNtoUCS2() s32 EUCCNtoUCS2()
{ {
fmt::throw_exception("Unimplemented" HERE); cellL10n.todo("EUCCNtoUCS2()");
return CELL_OK;
} }
s32 UTF8stoSBCSs() s32 UTF8stoSBCSs()

View file

@ -913,87 +913,104 @@ s32 cellPngDecExtDecodeData(ppu_thread& ppu, PHandle handle, PStream stream, vm:
s32 cellPngDecGetUnknownChunks(PHandle handle, PStream stream, vm::pptr<CellPngUnknownChunk> unknownChunk, vm::ptr<u32> unknownChunkNumber) s32 cellPngDecGetUnknownChunks(PHandle handle, PStream stream, vm::pptr<CellPngUnknownChunk> unknownChunk, vm::ptr<u32> unknownChunkNumber)
{ {
fmt::throw_exception("Unimplemented" HERE); cellPngDec.todo("cellPngDecGetUnknownChunks()");
return CELL_OK;
} }
s32 cellPngDecGetpCAL(PHandle handle, PStream stream, vm::ptr<CellPngPCAL> pcal) s32 cellPngDecGetpCAL(PHandle handle, PStream stream, vm::ptr<CellPngPCAL> pcal)
{ {
fmt::throw_exception("Unimplemented" HERE); cellPngDec.todo("cellPngDecGetpCAL()");
return CELL_OK;
} }
s32 cellPngDecGetcHRM(PHandle handle, PStream stream, vm::ptr<CellPngCHRM> chrm) s32 cellPngDecGetcHRM(PHandle handle, PStream stream, vm::ptr<CellPngCHRM> chrm)
{ {
fmt::throw_exception("Unimplemented" HERE); cellPngDec.todo("cellPngDecGetcHRM()");
return CELL_OK;
} }
s32 cellPngDecGetsCAL(PHandle handle, PStream stream, vm::ptr<CellPngSCAL> scal) s32 cellPngDecGetsCAL(PHandle handle, PStream stream, vm::ptr<CellPngSCAL> scal)
{ {
fmt::throw_exception("Unimplemented" HERE); cellPngDec.todo("cellPngDecGetsCAL()");
return CELL_OK;
} }
s32 cellPngDecGetpHYs(PHandle handle, PStream stream, vm::ptr<CellPngPHYS> phys) s32 cellPngDecGetpHYs(PHandle handle, PStream stream, vm::ptr<CellPngPHYS> phys)
{ {
fmt::throw_exception("Unimplemented" HERE); cellPngDec.todo("cellPngDecGetpHYs()");
return CELL_OK;
} }
s32 cellPngDecGetoFFs(PHandle handle, PStream stream, vm::ptr<CellPngOFFS> offs) s32 cellPngDecGetoFFs(PHandle handle, PStream stream, vm::ptr<CellPngOFFS> offs)
{ {
fmt::throw_exception("Unimplemented" HERE); cellPngDec.todo("cellPngDecGetoFFs()");
return CELL_OK;
} }
s32 cellPngDecGetsPLT(PHandle handle, PStream stream, vm::ptr<CellPngSPLT> splt) s32 cellPngDecGetsPLT(PHandle handle, PStream stream, vm::ptr<CellPngSPLT> splt)
{ {
fmt::throw_exception("Unimplemented" HERE); cellPngDec.todo("cellPngDecGetsPLT()");
return CELL_OK;
} }
s32 cellPngDecGetbKGD(PHandle handle, PStream stream, vm::ptr<CellPngBKGD> bkgd) s32 cellPngDecGetbKGD(PHandle handle, PStream stream, vm::ptr<CellPngBKGD> bkgd)
{ {
fmt::throw_exception("Unimplemented" HERE); cellPngDec.todo("cellPngDecGetbKGD()");
return CELL_OK;
} }
s32 cellPngDecGettIME(PHandle handle, PStream stream, vm::ptr<CellPngTIME> time) s32 cellPngDecGettIME(PHandle handle, PStream stream, vm::ptr<CellPngTIME> time)
{ {
fmt::throw_exception("Unimplemented" HERE); cellPngDec.todo("cellPngDecGettIME()");
return CELL_OK;
} }
s32 cellPngDecGethIST(PHandle handle, PStream stream, vm::ptr<CellPngHIST> hist) s32 cellPngDecGethIST(PHandle handle, PStream stream, vm::ptr<CellPngHIST> hist)
{ {
fmt::throw_exception("Unimplemented" HERE); cellPngDec.todo("cellPngDecGethIST()");
return CELL_OK;
} }
s32 cellPngDecGettRNS(PHandle handle, PStream stream, vm::ptr<CellPngTRNS> trns) s32 cellPngDecGettRNS(PHandle handle, PStream stream, vm::ptr<CellPngTRNS> trns)
{ {
fmt::throw_exception("Unimplemented" HERE); cellPngDec.todo("cellPngDecGettRNS()");
return CELL_OK;
} }
s32 cellPngDecGetsBIT(PHandle handle, PStream stream, vm::ptr<CellPngSBIT> sbit) s32 cellPngDecGetsBIT(PHandle handle, PStream stream, vm::ptr<CellPngSBIT> sbit)
{ {
fmt::throw_exception("Unimplemented" HERE); cellPngDec.todo("cellPngDecGetsBIT()");
return CELL_OK;
} }
s32 cellPngDecGetiCCP(PHandle handle, PStream stream, vm::ptr<CellPngICCP> iccp) s32 cellPngDecGetiCCP(PHandle handle, PStream stream, vm::ptr<CellPngICCP> iccp)
{ {
fmt::throw_exception("Unimplemented" HERE); cellPngDec.todo("cellPngDecGetiCCP()");
return CELL_OK;
} }
s32 cellPngDecGetsRGB(PHandle handle, PStream stream, vm::ptr<CellPngSRGB> srgb) s32 cellPngDecGetsRGB(PHandle handle, PStream stream, vm::ptr<CellPngSRGB> srgb)
{ {
fmt::throw_exception("Unimplemented" HERE); cellPngDec.todo("cellPngDecGetsRGB()");
return CELL_OK;
} }
s32 cellPngDecGetgAMA(PHandle handle, PStream stream, vm::ptr<CellPngGAMA> gama) s32 cellPngDecGetgAMA(PHandle handle, PStream stream, vm::ptr<CellPngGAMA> gama)
{ {
fmt::throw_exception("Unimplemented" HERE); cellPngDec.todo("cellPngDecGetgAMA()");
return CELL_OK;
} }
s32 cellPngDecGetPLTE(PHandle handle, PStream stream, vm::ptr<CellPngPLTE> plte) s32 cellPngDecGetPLTE(PHandle handle, PStream stream, vm::ptr<CellPngPLTE> plte)
{ {
fmt::throw_exception("Unimplemented" HERE); cellPngDec.todo("cellPngDecGetPLTE()");
return CELL_OK;
} }
s32 cellPngDecGetTextChunk(PHandle handle, PStream stream, vm::ptr<u32> textInfoNum, vm::pptr<CellPngTextInfo> textInfo) s32 cellPngDecGetTextChunk(PHandle handle, PStream stream, vm::ptr<u32> textInfoNum, vm::pptr<CellPngTextInfo> textInfo)
{ {
fmt::throw_exception("Unimplemented" HERE); cellPngDec.todo("cellPngDecGetTextChunk()");
return CELL_OK;
} }
DECLARE(ppu_module_manager::cellPngDec)("cellPngDec", []() DECLARE(ppu_module_manager::cellPngDec)("cellPngDec", []()

View file

@ -5,42 +5,50 @@ LOG_CHANNEL(cellRemotePlay);
s32 cellRemotePlayGetStatus() s32 cellRemotePlayGetStatus()
{ {
fmt::throw_exception("Unimplemented" HERE); cellRemotePlay.todo("cellRemotePlayGetStatus()");
return CELL_OK;
} }
s32 cellRemotePlaySetComparativeVolume() s32 cellRemotePlaySetComparativeVolume()
{ {
fmt::throw_exception("Unimplemented" HERE); cellRemotePlay.todo("cellRemotePlaySetComparativeVolume()");
return CELL_OK;
} }
s32 cellRemotePlayGetPeerInfo() s32 cellRemotePlayGetPeerInfo()
{ {
fmt::throw_exception("Unimplemented" HERE); cellRemotePlay.todo("cellRemotePlayGetPeerInfo()");
return CELL_OK;
} }
s32 cellRemotePlayGetSharedMemory() s32 cellRemotePlayGetSharedMemory()
{ {
fmt::throw_exception("Unimplemented" HERE); cellRemotePlay.todo("cellRemotePlayGetSharedMemory()");
return CELL_OK;
} }
s32 cellRemotePlayEncryptAllData() s32 cellRemotePlayEncryptAllData()
{ {
fmt::throw_exception("Unimplemented" HERE); cellRemotePlay.todo("cellRemotePlayEncryptAllData()");
return CELL_OK;
} }
s32 cellRemotePlayStopPeerVideoOut() s32 cellRemotePlayStopPeerVideoOut()
{ {
fmt::throw_exception("Unimplemented" HERE); cellRemotePlay.todo("cellRemotePlayStopPeerVideoOut()");
return CELL_OK;
} }
s32 cellRemotePlayGetComparativeVolume() s32 cellRemotePlayGetComparativeVolume()
{ {
fmt::throw_exception("Unimplemented" HERE); cellRemotePlay.todo("cellRemotePlayGetComparativeVolume()");
return CELL_OK;
} }
s32 cellRemotePlayBreak() s32 cellRemotePlayBreak()
{ {
fmt::throw_exception("Unimplemented" HERE); cellRemotePlay.todo("cellRemotePlayBreak()");
return CELL_OK;
} }

View file

@ -974,7 +974,7 @@ error_code _cellSyncLFQueueGetPushPointer2(ppu_thread& ppu, vm::ptr<CellSyncLFQu
// arguments copied from _cellSyncLFQueueGetPushPointer // arguments copied from _cellSyncLFQueueGetPushPointer
cellSync.todo("_cellSyncLFQueueGetPushPointer2(queue=*0x%x, pointer=*0x%x, isBlocking=%d, useEventQueue=%d)", queue, pointer, isBlocking, useEventQueue); cellSync.todo("_cellSyncLFQueueGetPushPointer2(queue=*0x%x, pointer=*0x%x, isBlocking=%d, useEventQueue=%d)", queue, pointer, isBlocking, useEventQueue);
fmt::throw_exception("Unimplemented" HERE); return CELL_OK;
} }
error_code _cellSyncLFQueueCompletePushPointer(ppu_thread& ppu, vm::ptr<CellSyncLFQueue> queue, s32 pointer, vm::ptr<s32(u32 addr, u32 arg)> fpSendSignal) error_code _cellSyncLFQueueCompletePushPointer(ppu_thread& ppu, vm::ptr<CellSyncLFQueue> queue, s32 pointer, vm::ptr<s32(u32 addr, u32 arg)> fpSendSignal)
@ -1115,7 +1115,7 @@ error_code _cellSyncLFQueueCompletePushPointer2(ppu_thread& ppu, vm::ptr<CellSyn
// arguments copied from _cellSyncLFQueueCompletePushPointer // arguments copied from _cellSyncLFQueueCompletePushPointer
cellSync.todo("_cellSyncLFQueueCompletePushPointer2(queue=*0x%x, pointer=%d, fpSendSignal=*0x%x)", queue, pointer, fpSendSignal); cellSync.todo("_cellSyncLFQueueCompletePushPointer2(queue=*0x%x, pointer=%d, fpSendSignal=*0x%x)", queue, pointer, fpSendSignal);
fmt::throw_exception("Unimplemented" HERE); return CELL_OK;
} }
error_code _cellSyncLFQueuePushBody(ppu_thread& ppu, vm::ptr<CellSyncLFQueue> queue, vm::cptr<void> buffer, u32 isBlocking) error_code _cellSyncLFQueuePushBody(ppu_thread& ppu, vm::ptr<CellSyncLFQueue> queue, vm::cptr<void> buffer, u32 isBlocking)
@ -1273,7 +1273,7 @@ error_code _cellSyncLFQueueGetPopPointer2(ppu_thread& ppu, vm::ptr<CellSyncLFQue
// arguments copied from _cellSyncLFQueueGetPopPointer // arguments copied from _cellSyncLFQueueGetPopPointer
cellSync.todo("_cellSyncLFQueueGetPopPointer2(queue=*0x%x, pointer=*0x%x, isBlocking=%d, useEventQueue=%d)", queue, pointer, isBlocking, useEventQueue); cellSync.todo("_cellSyncLFQueueGetPopPointer2(queue=*0x%x, pointer=*0x%x, isBlocking=%d, useEventQueue=%d)", queue, pointer, isBlocking, useEventQueue);
fmt::throw_exception("Unimplemented" HERE); return CELL_OK;
} }
error_code _cellSyncLFQueueCompletePopPointer(ppu_thread& ppu, vm::ptr<CellSyncLFQueue> queue, s32 pointer, vm::ptr<s32(u32 addr, u32 arg)> fpSendSignal, u32 noQueueFull) error_code _cellSyncLFQueueCompletePopPointer(ppu_thread& ppu, vm::ptr<CellSyncLFQueue> queue, s32 pointer, vm::ptr<s32(u32 addr, u32 arg)> fpSendSignal, u32 noQueueFull)
@ -1414,7 +1414,7 @@ error_code _cellSyncLFQueueCompletePopPointer2(ppu_thread& ppu, vm::ptr<CellSync
// arguments copied from _cellSyncLFQueueCompletePopPointer // arguments copied from _cellSyncLFQueueCompletePopPointer
cellSync.todo("_cellSyncLFQueueCompletePopPointer2(queue=*0x%x, pointer=%d, fpSendSignal=*0x%x, noQueueFull=%d)", queue, pointer, fpSendSignal, noQueueFull); cellSync.todo("_cellSyncLFQueueCompletePopPointer2(queue=*0x%x, pointer=%d, fpSendSignal=*0x%x, noQueueFull=%d)", queue, pointer, fpSendSignal, noQueueFull);
fmt::throw_exception("Unimplemented" HERE); return CELL_OK;
} }
error_code _cellSyncLFQueuePopBody(ppu_thread& ppu, vm::ptr<CellSyncLFQueue> queue, vm::ptr<void> buffer, u32 isBlocking) error_code _cellSyncLFQueuePopBody(ppu_thread& ppu, vm::ptr<CellSyncLFQueue> queue, vm::ptr<void> buffer, u32 isBlocking)
@ -1646,14 +1646,14 @@ error_code _cellSyncLFQueueAttachLv2EventQueue(vm::ptr<u32> spus, u32 num, vm::p
{ {
cellSync.todo("_cellSyncLFQueueAttachLv2EventQueue(spus=*0x%x, num=%d, queue=*0x%x)", spus, num, queue); cellSync.todo("_cellSyncLFQueueAttachLv2EventQueue(spus=*0x%x, num=%d, queue=*0x%x)", spus, num, queue);
fmt::throw_exception("Unimplemented" HERE); return CELL_OK;
} }
error_code _cellSyncLFQueueDetachLv2EventQueue(vm::ptr<u32> spus, u32 num, vm::ptr<CellSyncLFQueue> queue) error_code _cellSyncLFQueueDetachLv2EventQueue(vm::ptr<u32> spus, u32 num, vm::ptr<CellSyncLFQueue> queue)
{ {
cellSync.todo("_cellSyncLFQueueDetachLv2EventQueue(spus=*0x%x, num=%d, queue=*0x%x)", spus, num, queue); cellSync.todo("_cellSyncLFQueueDetachLv2EventQueue(spus=*0x%x, num=%d, queue=*0x%x)", spus, num, queue);
fmt::throw_exception("Unimplemented" HERE); return CELL_OK;
} }
DECLARE(ppu_module_manager::cellSync)("cellSync", []() DECLARE(ppu_module_manager::cellSync)("cellSync", []()

View file

@ -432,72 +432,86 @@ s32 cellSysutilSetBgmPlaybackExtraParam()
s32 cellSysutilRegisterCallbackDispatcher() s32 cellSysutilRegisterCallbackDispatcher()
{ {
fmt::throw_exception("Unimplemented" HERE); cellSysutil.todo("cellSysutilRegisterCallbackDispatcher()");
return CELL_OK;
} }
s32 cellSysutilUnregisterCallbackDispatcher() s32 cellSysutilUnregisterCallbackDispatcher()
{ {
fmt::throw_exception("Unimplemented" HERE); cellSysutil.todo("cellSysutilUnregisterCallbackDispatcher()");
return CELL_OK;
} }
s32 cellSysutilPacketRead() s32 cellSysutilPacketRead()
{ {
fmt::throw_exception("Unimplemented" HERE); cellSysutil.todo("cellSysutilPacketRead()");
return CELL_OK;
} }
s32 cellSysutilPacketWrite() s32 cellSysutilPacketWrite()
{ {
fmt::throw_exception("Unimplemented" HERE); cellSysutil.todo("cellSysutilPacketWrite()");
return CELL_OK;
} }
s32 cellSysutilPacketBegin() s32 cellSysutilPacketBegin()
{ {
fmt::throw_exception("Unimplemented" HERE); cellSysutil.todo("cellSysutilPacketBegin()");
return CELL_OK;
} }
s32 cellSysutilPacketEnd() s32 cellSysutilPacketEnd()
{ {
fmt::throw_exception("Unimplemented" HERE); cellSysutil.todo("cellSysutilPacketEnd()");
return CELL_OK;
} }
s32 cellSysutilGameDataAssignVmc() s32 cellSysutilGameDataAssignVmc()
{ {
fmt::throw_exception("Unimplemented" HERE); cellSysutil.todo("cellSysutilGameDataAssignVmc()");
return CELL_OK;
} }
s32 cellSysutilGameDataExit() s32 cellSysutilGameDataExit()
{ {
fmt::throw_exception("Unimplemented" HERE); cellSysutil.todo("cellSysutilGameDataExit()");
return CELL_OK;
} }
s32 cellSysutilGameExit_I() s32 cellSysutilGameExit_I()
{ {
fmt::throw_exception("Unimplemented" HERE); cellSysutil.todo("cellSysutilGameExit_I()");
return CELL_OK;
} }
s32 cellSysutilGamePowerOff_I() s32 cellSysutilGamePowerOff_I()
{ {
fmt::throw_exception("Unimplemented" HERE); cellSysutil.todo("cellSysutilGamePowerOff_I()");
return CELL_OK;
} }
s32 cellSysutilGameReboot_I() s32 cellSysutilGameReboot_I()
{ {
fmt::throw_exception("Unimplemented" HERE); cellSysutil.todo("cellSysutilGameReboot_I()");
return CELL_OK;
} }
s32 cellSysutilSharedMemoryAlloc() s32 cellSysutilSharedMemoryAlloc()
{ {
fmt::throw_exception("Unimplemented" HERE); cellSysutil.todo("cellSysutilSharedMemoryAlloc()");
return CELL_OK;
} }
s32 cellSysutilSharedMemoryFree() s32 cellSysutilSharedMemoryFree()
{ {
fmt::throw_exception("Unimplemented" HERE); cellSysutil.todo("cellSysutilSharedMemoryFree()");
return CELL_OK;
} }
s32 cellSysutilNotification() s32 cellSysutilNotification()
{ {
fmt::throw_exception("Unimplemented" HERE); cellSysutil.todo("cellSysutilNotification()");
return CELL_OK;
} }
s32 _ZN4cxml7Element11AppendChildERS0_() s32 _ZN4cxml7Element11AppendChildERS0_()

View file

@ -1,104 +1,126 @@
#include "stdafx.h" #include "stdafx.h"
#include "Emu/Cell/PPUModule.h" #include "Emu/Cell/PPUModule.h"
extern logs::channel cellSysutil;
s32 cellSysutilAvcByeRequest() s32 cellSysutilAvcByeRequest()
{ {
fmt::throw_exception("Unimplemented" HERE); cellSysutil.todo("cellSysutilAvcByeRequest()");
return CELL_OK;
} }
s32 cellSysutilAvcCancelByeRequest() s32 cellSysutilAvcCancelByeRequest()
{ {
fmt::throw_exception("Unimplemented" HERE); cellSysutil.todo("cellSysutilAvcCancelByeRequest()");
return CELL_OK;
} }
s32 cellSysutilAvcCancelJoinRequest() s32 cellSysutilAvcCancelJoinRequest()
{ {
fmt::throw_exception("Unimplemented" HERE); cellSysutil.todo("cellSysutilAvcCancelJoinRequest()");
return CELL_OK;
} }
s32 cellSysutilAvcEnumPlayers() s32 cellSysutilAvcEnumPlayers()
{ {
fmt::throw_exception("Unimplemented" HERE); cellSysutil.todo("cellSysutilAvcEnumPlayers()");
return CELL_OK;
} }
s32 cellSysutilAvcGetAttribute() s32 cellSysutilAvcGetAttribute()
{ {
fmt::throw_exception("Unimplemented" HERE); cellSysutil.todo("cellSysutilAvcGetAttribute()");
return CELL_OK;
} }
s32 cellSysutilAvcGetLayoutMode() s32 cellSysutilAvcGetLayoutMode()
{ {
fmt::throw_exception("Unimplemented" HERE); cellSysutil.todo("cellSysutilAvcGetLayoutMode()");
return CELL_OK;
} }
s32 cellSysutilAvcGetShowStatus() s32 cellSysutilAvcGetShowStatus()
{ {
fmt::throw_exception("Unimplemented" HERE); cellSysutil.todo("cellSysutilAvcGetShowStatus()");
return CELL_OK;
} }
s32 cellSysutilAvcGetSpeakerVolumeLevel() s32 cellSysutilAvcGetSpeakerVolumeLevel()
{ {
fmt::throw_exception("Unimplemented" HERE); cellSysutil.todo("cellSysutilAvcGetSpeakerVolumeLevel()");
return CELL_OK;
} }
s32 cellSysutilAvcGetVideoMuting() s32 cellSysutilAvcGetVideoMuting()
{ {
fmt::throw_exception("Unimplemented" HERE); cellSysutil.todo("cellSysutilAvcGetVideoMuting()");
return CELL_OK;
} }
s32 cellSysutilAvcGetVoiceMuting() s32 cellSysutilAvcGetVoiceMuting()
{ {
fmt::throw_exception("Unimplemented" HERE); cellSysutil.todo("cellSysutilAvcGetVoiceMuting()");
return CELL_OK;
} }
s32 cellSysutilAvcHidePanel() s32 cellSysutilAvcHidePanel()
{ {
fmt::throw_exception("Unimplemented" HERE); cellSysutil.todo("cellSysutilAvcHidePanel()");
return CELL_OK;
} }
s32 cellSysutilAvcJoinRequest() s32 cellSysutilAvcJoinRequest()
{ {
fmt::throw_exception("Unimplemented" HERE); cellSysutil.todo("cellSysutilAvcJoinRequest()");
return CELL_OK;
} }
s32 cellSysutilAvcLoadAsync() s32 cellSysutilAvcLoadAsync()
{ {
fmt::throw_exception("Unimplemented" HERE); cellSysutil.todo("cellSysutilAvcLoadAsync()");
return CELL_OK;
} }
s32 cellSysutilAvcSetAttribute() s32 cellSysutilAvcSetAttribute()
{ {
fmt::throw_exception("Unimplemented" HERE); cellSysutil.todo("cellSysutilAvcSetAttribute()");
return CELL_OK;
} }
s32 cellSysutilAvcSetLayoutMode() s32 cellSysutilAvcSetLayoutMode()
{ {
fmt::throw_exception("Unimplemented" HERE); cellSysutil.todo("cellSysutilAvcSetLayoutMode()");
return CELL_OK;
} }
s32 cellSysutilAvcSetSpeakerVolumeLevel() s32 cellSysutilAvcSetSpeakerVolumeLevel()
{ {
fmt::throw_exception("Unimplemented" HERE); cellSysutil.todo("cellSysutilAvcSetSpeakerVolumeLevel()");
return CELL_OK;
} }
s32 cellSysutilAvcSetVideoMuting() s32 cellSysutilAvcSetVideoMuting()
{ {
fmt::throw_exception("Unimplemented" HERE); cellSysutil.todo("cellSysutilAvcSetVideoMuting()");
return CELL_OK;
} }
s32 cellSysutilAvcSetVoiceMuting() s32 cellSysutilAvcSetVoiceMuting()
{ {
fmt::throw_exception("Unimplemented" HERE); cellSysutil.todo("cellSysutilAvcSetVoiceMuting()");
return CELL_OK;
} }
s32 cellSysutilAvcShowPanel() s32 cellSysutilAvcShowPanel()
{ {
fmt::throw_exception("Unimplemented" HERE); cellSysutil.todo("cellSysutilAvcShowPanel()");
return CELL_OK;
} }
s32 cellSysutilAvcUnloadAsync() s32 cellSysutilAvcUnloadAsync()
{ {
fmt::throw_exception("Unimplemented" HERE); cellSysutil.todo("cellSysutilAvcUnloadAsync()");
return CELL_OK;
} }
void cellSysutil_SysutilAvc_init() void cellSysutil_SysutilAvc_init()

View file

@ -265,32 +265,38 @@ error_code cellVideoOutGetResolutionAvailability(u32 videoOut, u32 resolutionId,
s32 cellVideoOutConfigure2() s32 cellVideoOutConfigure2()
{ {
fmt::throw_exception("Unimplemented" HERE); cellSysutil.todo("cellVideoOutConfigure2()");
return CELL_OK;
} }
s32 cellVideoOutGetResolutionAvailability2() s32 cellVideoOutGetResolutionAvailability2()
{ {
fmt::throw_exception("Unimplemented" HERE); cellSysutil.todo("cellVideoOutGetResolutionAvailability2()");
return CELL_OK;
} }
s32 cellVideoOutGetConvertCursorColorInfo(vm::ptr<u8> rgbOutputRange) s32 cellVideoOutGetConvertCursorColorInfo(vm::ptr<u8> rgbOutputRange)
{ {
fmt::throw_exception("Unimplemented" HERE); cellSysutil.todo("cellVideoOutGetConvertCursorColorInfo()");
return CELL_OK;
} }
s32 cellVideoOutDebugSetMonitorType(u32 videoOut, u32 monitorType) s32 cellVideoOutDebugSetMonitorType(u32 videoOut, u32 monitorType)
{ {
fmt::throw_exception("Unimplemented" HERE); cellSysutil.todo("cellVideoOutDebugSetMonitorType()");
return CELL_OK;
} }
s32 cellVideoOutRegisterCallback(u32 slot, vm::ptr<CellVideoOutCallback> function, vm::ptr<void> userData) s32 cellVideoOutRegisterCallback(u32 slot, vm::ptr<CellVideoOutCallback> function, vm::ptr<void> userData)
{ {
fmt::throw_exception("Unimplemented" HERE); cellSysutil.todo("cellVideoOutRegisterCallback()");
return CELL_OK;
} }
s32 cellVideoOutUnregisterCallback(u32 slot) s32 cellVideoOutUnregisterCallback(u32 slot)
{ {
fmt::throw_exception("Unimplemented" HERE); cellSysutil.todo("cellVideoOutUnregisterCallback()");
return CELL_OK;
} }

View file

@ -14,12 +14,14 @@ struct browser_info
s32 cellWebBrowserActivate() s32 cellWebBrowserActivate()
{ {
fmt::throw_exception("Unimplemented" HERE); cellSysutil.todo("cellWebBrowserActivate()");
return CELL_OK;
} }
s32 cellWebBrowserConfig() s32 cellWebBrowserConfig()
{ {
fmt::throw_exception("Unimplemented" HERE); cellSysutil.todo("cellWebBrowserConfig()");
return CELL_OK;
} }
error_code cellWebBrowserConfig2(vm::cptr<CellWebBrowserConfig2> config, u32 version) error_code cellWebBrowserConfig2(vm::cptr<CellWebBrowserConfig2> config, u32 version)
@ -30,27 +32,32 @@ error_code cellWebBrowserConfig2(vm::cptr<CellWebBrowserConfig2> config, u32 ver
s32 cellWebBrowserConfigGetHeapSize() s32 cellWebBrowserConfigGetHeapSize()
{ {
fmt::throw_exception("Unimplemented" HERE); cellSysutil.todo("cellWebBrowserConfigGetHeapSize()");
return CELL_OK;
} }
s32 cellWebBrowserConfigGetHeapSize2() s32 cellWebBrowserConfigGetHeapSize2()
{ {
fmt::throw_exception("Unimplemented" HERE); cellSysutil.todo("cellWebBrowserConfigGetHeapSize2()");
return CELL_OK;
} }
s32 cellWebBrowserConfigSetCustomExit() s32 cellWebBrowserConfigSetCustomExit()
{ {
fmt::throw_exception("Unimplemented" HERE); cellSysutil.todo("cellWebBrowserConfigSetCustomExit()");
return CELL_OK;
} }
s32 cellWebBrowserConfigSetDisableTabs() s32 cellWebBrowserConfigSetDisableTabs()
{ {
fmt::throw_exception("Unimplemented" HERE); cellSysutil.todo("cellWebBrowserConfigSetDisableTabs()");
return CELL_OK;
} }
s32 cellWebBrowserConfigSetErrorHook2() s32 cellWebBrowserConfigSetErrorHook2()
{ {
fmt::throw_exception("Unimplemented" HERE); cellSysutil.todo("cellWebBrowserConfigSetErrorHook2()");
return CELL_OK;
} }
error_code cellWebBrowserConfigSetFullScreen2(vm::cptr<CellWebBrowserConfig2> config, u32 full) error_code cellWebBrowserConfigSetFullScreen2(vm::cptr<CellWebBrowserConfig2> config, u32 full)
@ -61,12 +68,14 @@ error_code cellWebBrowserConfigSetFullScreen2(vm::cptr<CellWebBrowserConfig2> co
s32 cellWebBrowserConfigSetFullVersion2() s32 cellWebBrowserConfigSetFullVersion2()
{ {
fmt::throw_exception("Unimplemented" HERE); cellSysutil.todo("cellWebBrowserConfigSetFullVersion2()");
return CELL_OK;
} }
s32 cellWebBrowserConfigSetFunction() s32 cellWebBrowserConfigSetFunction()
{ {
fmt::throw_exception("Unimplemented" HERE); cellSysutil.todo("cellWebBrowserConfigSetFunction()");
return CELL_OK;
} }
error_code cellWebBrowserConfigSetFunction2(vm::ptr<CellWebBrowserConfig2> config, u32 funcset) error_code cellWebBrowserConfigSetFunction2(vm::ptr<CellWebBrowserConfig2> config, u32 funcset)
@ -77,7 +86,8 @@ error_code cellWebBrowserConfigSetFunction2(vm::ptr<CellWebBrowserConfig2> confi
s32 cellWebBrowserConfigSetHeapSize() s32 cellWebBrowserConfigSetHeapSize()
{ {
fmt::throw_exception("Unimplemented" HERE); cellSysutil.todo("cellWebBrowserConfigSetHeapSize()");
return CELL_OK;
} }
error_code cellWebBrowserConfigSetHeapSize2(vm::ptr<CellWebBrowserConfig2> config, u32 size) error_code cellWebBrowserConfigSetHeapSize2(vm::ptr<CellWebBrowserConfig2> config, u32 size)
@ -88,7 +98,8 @@ error_code cellWebBrowserConfigSetHeapSize2(vm::ptr<CellWebBrowserConfig2> confi
s32 cellWebBrowserConfigSetMimeSet() s32 cellWebBrowserConfigSetMimeSet()
{ {
fmt::throw_exception("Unimplemented" HERE); cellSysutil.todo("cellWebBrowserConfigSetMimeSet()");
return CELL_OK;
} }
error_code cellWebBrowserConfigSetNotifyHook2(vm::cptr<CellWebBrowserConfig2> config, vm::ptr<CellWebBrowserNotify> cb, vm::ptr<void> userdata) error_code cellWebBrowserConfigSetNotifyHook2(vm::cptr<CellWebBrowserConfig2> config, vm::ptr<CellWebBrowserNotify> cb, vm::ptr<void> userdata)
@ -99,12 +110,14 @@ error_code cellWebBrowserConfigSetNotifyHook2(vm::cptr<CellWebBrowserConfig2> co
s32 cellWebBrowserConfigSetRequestHook2() s32 cellWebBrowserConfigSetRequestHook2()
{ {
fmt::throw_exception("Unimplemented" HERE); cellSysutil.todo("cellWebBrowserConfigSetRequestHook2()");
return CELL_OK;
} }
s32 cellWebBrowserConfigSetStatusHook2() s32 cellWebBrowserConfigSetStatusHook2()
{ {
fmt::throw_exception("Unimplemented" HERE); cellSysutil.todo("cellWebBrowserConfigSetStatusHook2()");
return CELL_OK;
} }
error_code cellWebBrowserConfigSetTabCount2(vm::cptr<CellWebBrowserConfig2> config, u32 tab_count) error_code cellWebBrowserConfigSetTabCount2(vm::cptr<CellWebBrowserConfig2> config, u32 tab_count)
@ -121,7 +134,8 @@ error_code cellWebBrowserConfigSetUnknownMIMETypeHook2(vm::cptr<CellWebBrowserCo
s32 cellWebBrowserConfigSetVersion() s32 cellWebBrowserConfigSetVersion()
{ {
fmt::throw_exception("Unimplemented" HERE); cellSysutil.todo("cellWebBrowserConfigSetVersion()");
return CELL_OK;
} }
error_code cellWebBrowserConfigSetViewCondition2(vm::ptr<CellWebBrowserConfig2> config, u32 cond) error_code cellWebBrowserConfigSetViewCondition2(vm::ptr<CellWebBrowserConfig2> config, u32 cond)
@ -132,67 +146,80 @@ error_code cellWebBrowserConfigSetViewCondition2(vm::ptr<CellWebBrowserConfig2>
s32 cellWebBrowserConfigSetViewRect2() s32 cellWebBrowserConfigSetViewRect2()
{ {
fmt::throw_exception("Unimplemented" HERE); cellSysutil.todo("cellWebBrowserConfigSetViewRect2()");
return CELL_OK;
} }
s32 cellWebBrowserConfigWithVer() s32 cellWebBrowserConfigWithVer()
{ {
fmt::throw_exception("Unimplemented" HERE); cellSysutil.todo("cellWebBrowserConfigWithVer()");
return CELL_OK;
} }
s32 cellWebBrowserCreate() s32 cellWebBrowserCreate()
{ {
fmt::throw_exception("Unimplemented" HERE); cellSysutil.todo("cellWebBrowserCreate()");
return CELL_OK;
} }
s32 cellWebBrowserCreate2() s32 cellWebBrowserCreate2()
{ {
fmt::throw_exception("Unimplemented" HERE); cellSysutil.todo("cellWebBrowserCreate2()");
return CELL_OK;
} }
s32 cellWebBrowserCreateRender2() s32 cellWebBrowserCreateRender2()
{ {
fmt::throw_exception("Unimplemented" HERE); cellSysutil.todo("cellWebBrowserCreateRender2()");
return CELL_OK;
} }
s32 cellWebBrowserCreateRenderWithRect2() s32 cellWebBrowserCreateRenderWithRect2()
{ {
fmt::throw_exception("Unimplemented" HERE); cellSysutil.todo("cellWebBrowserCreateRenderWithRect2()");
return CELL_OK;
} }
s32 cellWebBrowserCreateWithConfig() s32 cellWebBrowserCreateWithConfig()
{ {
fmt::throw_exception("Unimplemented" HERE); cellSysutil.todo("cellWebBrowserCreateWithConfig()");
return CELL_OK;
} }
s32 cellWebBrowserCreateWithConfigFull() s32 cellWebBrowserCreateWithConfigFull()
{ {
fmt::throw_exception("Unimplemented" HERE); cellSysutil.todo("cellWebBrowserCreateWithConfigFull()");
return CELL_OK;
} }
s32 cellWebBrowserCreateWithRect2() s32 cellWebBrowserCreateWithRect2()
{ {
fmt::throw_exception("Unimplemented" HERE); cellSysutil.todo("cellWebBrowserCreateWithRect2()");
return CELL_OK;
} }
s32 cellWebBrowserDeactivate() s32 cellWebBrowserDeactivate()
{ {
fmt::throw_exception("Unimplemented" HERE); cellSysutil.todo("cellWebBrowserDeactivate()");
return CELL_OK;
} }
s32 cellWebBrowserDestroy() s32 cellWebBrowserDestroy()
{ {
fmt::throw_exception("Unimplemented" HERE); cellSysutil.todo("cellWebBrowserDestroy()");
return CELL_OK;
} }
s32 cellWebBrowserDestroy2() s32 cellWebBrowserDestroy2()
{ {
fmt::throw_exception("Unimplemented" HERE); cellSysutil.todo("cellWebBrowserDestroy2()");
return CELL_OK;
} }
s32 cellWebBrowserEstimate() s32 cellWebBrowserEstimate()
{ {
fmt::throw_exception("Unimplemented" HERE); cellSysutil.todo("cellWebBrowserEstimate()");
return CELL_OK;
} }
error_code cellWebBrowserEstimate2(vm::cptr<CellWebBrowserConfig2> config, vm::ptr<u32> memSize) error_code cellWebBrowserEstimate2(vm::cptr<CellWebBrowserConfig2> config, vm::ptr<u32> memSize)
@ -229,17 +256,20 @@ error_code cellWebBrowserInitialize(vm::ptr<CellWebBrowserSystemCallback> system
s32 cellWebBrowserNavigate2() s32 cellWebBrowserNavigate2()
{ {
fmt::throw_exception("Unimplemented" HERE); cellSysutil.todo("cellWebBrowserNavigate2()");
return CELL_OK;
} }
s32 cellWebBrowserSetLocalContentsAdditionalTitleID() s32 cellWebBrowserSetLocalContentsAdditionalTitleID()
{ {
fmt::throw_exception("Unimplemented" HERE); cellSysutil.todo("cellWebBrowserSetLocalContentsAdditionalTitleID()");
return CELL_OK;
} }
s32 cellWebBrowserSetSystemCallbackUsrdata() s32 cellWebBrowserSetSystemCallbackUsrdata()
{ {
fmt::throw_exception("Unimplemented" HERE); cellSysutil.todo("cellWebBrowserSetSystemCallbackUsrdata()");
return CELL_OK;
} }
void cellWebBrowserShutdown() void cellWebBrowserShutdown()
@ -257,27 +287,32 @@ void cellWebBrowserShutdown()
s32 cellWebBrowserUpdatePointerDisplayPos2() s32 cellWebBrowserUpdatePointerDisplayPos2()
{ {
fmt::throw_exception("Unimplemented" HERE); cellSysutil.todo("cellWebBrowserUpdatePointerDisplayPos2()");
return CELL_OK;
} }
s32 cellWebBrowserWakeupWithGameExit() s32 cellWebBrowserWakeupWithGameExit()
{ {
fmt::throw_exception("Unimplemented" HERE); cellSysutil.todo("cellWebBrowserWakeupWithGameExit()");
return CELL_OK;
} }
s32 cellWebComponentCreate() s32 cellWebComponentCreate()
{ {
fmt::throw_exception("Unimplemented" HERE); cellSysutil.todo("cellWebComponentCreate()");
return CELL_OK;
} }
s32 cellWebComponentCreateAsync() s32 cellWebComponentCreateAsync()
{ {
fmt::throw_exception("Unimplemented" HERE); cellSysutil.todo("cellWebComponentCreateAsync()");
return CELL_OK;
} }
s32 cellWebComponentDestroy() s32 cellWebComponentDestroy()
{ {
fmt::throw_exception("Unimplemented" HERE); cellSysutil.todo("cellWebComponentDestroy()");
return CELL_OK;
} }

View file

@ -19,12 +19,14 @@ s32 cellSnd3Exit()
u16 cellSnd3Note2Pitch(u16 center_note, u16 center_fine, u16 note, s16 fine) u16 cellSnd3Note2Pitch(u16 center_note, u16 center_fine, u16 note, s16 fine)
{ {
fmt::throw_exception("Unimplemented" HERE); libsnd3.todo("cellSnd3Note2Pitch()");
return 0;
} }
u16 cellSnd3Pitch2Note(u16 center_note, u16 center_fine, u16 pitch) u16 cellSnd3Pitch2Note(u16 center_note, u16 center_fine, u16 pitch)
{ {
fmt::throw_exception("Unimplemented" HERE); libsnd3.todo("cellSnd3Pitch2Note()");
return 0;
} }
s32 cellSnd3SetOutputMode(u32 mode) s32 cellSnd3SetOutputMode(u32 mode)
@ -59,22 +61,26 @@ s32 cellSnd3UnbindSoundData(u32 hd3ID)
s32 cellSnd3NoteOnByTone(u32 hd3ID, u32 toneIndex, u32 note, u32 keyOnID, vm::ptr<CellSnd3KeyOnParam> keyOnParam) s32 cellSnd3NoteOnByTone(u32 hd3ID, u32 toneIndex, u32 note, u32 keyOnID, vm::ptr<CellSnd3KeyOnParam> keyOnParam)
{ {
fmt::throw_exception("Unimplemented" HERE); libsnd3.todo("cellSnd3NoteOnByTone()");
return CELL_OK;
} }
s32 cellSnd3KeyOnByTone(u32 hd3ID, u32 toneIndex, u32 pitch, u32 keyOnID, vm::ptr<CellSnd3KeyOnParam> keyOnParam) s32 cellSnd3KeyOnByTone(u32 hd3ID, u32 toneIndex, u32 pitch, u32 keyOnID, vm::ptr<CellSnd3KeyOnParam> keyOnParam)
{ {
fmt::throw_exception("Unimplemented" HERE); libsnd3.todo("cellSnd3KeyOnByTone()");
return CELL_OK;
} }
s32 cellSnd3VoiceNoteOnByTone(u32 hd3ID, u32 voiceNum, u32 toneIndex, u32 note, u32 keyOnID, vm::ptr<CellSnd3KeyOnParam> keyOnParam) s32 cellSnd3VoiceNoteOnByTone(u32 hd3ID, u32 voiceNum, u32 toneIndex, u32 note, u32 keyOnID, vm::ptr<CellSnd3KeyOnParam> keyOnParam)
{ {
fmt::throw_exception("Unimplemented" HERE); libsnd3.todo("cellSnd3VoiceNoteOnByTone()");
return CELL_OK;
} }
s32 cellSnd3VoiceKeyOnByTone(u32 hd3ID, u32 voiceNum, u32 toneIndex, u32 pitch, u32 keyOnID, vm::ptr<CellSnd3KeyOnParam> keyOnParam) s32 cellSnd3VoiceKeyOnByTone(u32 hd3ID, u32 voiceNum, u32 toneIndex, u32 pitch, u32 keyOnID, vm::ptr<CellSnd3KeyOnParam> keyOnParam)
{ {
fmt::throw_exception("Unimplemented" HERE); libsnd3.todo("cellSnd3VoiceKeyOnByTone()");
return CELL_OK;
} }
s32 cellSnd3VoiceSetReserveMode(u32 voiceNum, u32 reserveMode) s32 cellSnd3VoiceSetReserveMode(u32 voiceNum, u32 reserveMode)
@ -139,7 +145,8 @@ s32 cellSnd3VoiceGetEnvelope(u32 voiceNum)
s32 cellSnd3VoiceGetStatus(u32 voiceNum) s32 cellSnd3VoiceGetStatus(u32 voiceNum)
{ {
fmt::throw_exception("Unimplemented" HERE); libsnd3.todo("cellSnd3VoiceGetStatus()");
return CELL_OK;
} }
u32 cellSnd3KeyOffByID(u32 keyOnID) u32 cellSnd3KeyOffByID(u32 keyOnID)
@ -186,12 +193,14 @@ s32 cellSnd3SetEffectType(u16 effectType, s16 returnVol, u16 delay, u16 feedback
s32 cellSnd3SMFBind(vm::ptr<CellSnd3SmfCtx> smfCtx, vm::ptr<void> smf, u32 hd3ID) s32 cellSnd3SMFBind(vm::ptr<CellSnd3SmfCtx> smfCtx, vm::ptr<void> smf, u32 hd3ID)
{ {
fmt::throw_exception("Unimplemented" HERE); libsnd3.todo("cellSnd3SMFBind()");
return CELL_OK;
} }
s32 cellSnd3SMFUnbind(u32 smfID) s32 cellSnd3SMFUnbind(u32 smfID)
{ {
fmt::throw_exception("Unimplemented" HERE); libsnd3.todo("cellSnd3SMFUnbind()");
return CELL_OK;
} }
s32 cellSnd3SMFPlay(u32 smfID, u32 playVelocity, u32 playPan, u32 playCount) s32 cellSnd3SMFPlay(u32 smfID, u32 playVelocity, u32 playPan, u32 playCount)
@ -232,7 +241,8 @@ s32 cellSnd3SMFAddTempo(u32 smfID, s32 addTempo)
s32 cellSnd3SMFGetTempo(u32 smfID) s32 cellSnd3SMFGetTempo(u32 smfID)
{ {
fmt::throw_exception("Unimplemented" HERE); libsnd3.todo("cellSnd3SMFGetTempo()");
return CELL_OK;
} }
s32 cellSnd3SMFSetPlayVelocity(u32 smfID, u32 playVelocity) s32 cellSnd3SMFSetPlayVelocity(u32 smfID, u32 playVelocity)
@ -243,7 +253,8 @@ s32 cellSnd3SMFSetPlayVelocity(u32 smfID, u32 playVelocity)
s32 cellSnd3SMFGetPlayVelocity(u32 smfID) s32 cellSnd3SMFGetPlayVelocity(u32 smfID)
{ {
fmt::throw_exception("Unimplemented" HERE); libsnd3.todo("cellSnd3SMFGetPlayVelocity()");
return CELL_OK;
} }
s32 cellSnd3SMFSetPlayPanpot(u32 smfID, u32 playPanpot) s32 cellSnd3SMFSetPlayPanpot(u32 smfID, u32 playPanpot)
@ -260,17 +271,20 @@ s32 cellSnd3SMFSetPlayPanpotEx(u32 smfID, u32 playPanpotEx)
s32 cellSnd3SMFGetPlayPanpot(u32 smfID) s32 cellSnd3SMFGetPlayPanpot(u32 smfID)
{ {
fmt::throw_exception("Unimplemented" HERE); libsnd3.todo("cellSnd3SMFGetPlayPanpot()");
return CELL_OK;
} }
s32 cellSnd3SMFGetPlayPanpotEx(u32 smfID) s32 cellSnd3SMFGetPlayPanpotEx(u32 smfID)
{ {
fmt::throw_exception("Unimplemented" HERE); libsnd3.todo("cellSnd3SMFGetPlayPanpotEx()");
return CELL_OK;
} }
s32 cellSnd3SMFGetPlayStatus(u32 smfID) s32 cellSnd3SMFGetPlayStatus(u32 smfID)
{ {
fmt::throw_exception("Unimplemented" HERE); libsnd3.todo("cellSnd3SMFGetPlayStatus()");
return CELL_OK;
} }
s32 cellSnd3SMFSetPlayChannel(u32 smfID, u32 playChannelBit) s32 cellSnd3SMFSetPlayChannel(u32 smfID, u32 playChannelBit)
@ -281,7 +295,8 @@ s32 cellSnd3SMFSetPlayChannel(u32 smfID, u32 playChannelBit)
s32 cellSnd3SMFGetPlayChannel(u32 smfID, vm::ptr<u32> playChannelBit) s32 cellSnd3SMFGetPlayChannel(u32 smfID, vm::ptr<u32> playChannelBit)
{ {
fmt::throw_exception("Unimplemented" HERE); libsnd3.todo("cellSnd3SMFGetPlayChannel()");
return CELL_OK;
} }
s32 cellSnd3SMFGetKeyOnID(u32 smfID, u32 midiChannel, vm::ptr<u32> keyOnID) s32 cellSnd3SMFGetKeyOnID(u32 smfID, u32 midiChannel, vm::ptr<u32> keyOnID)

View file

@ -33,7 +33,7 @@ void cellSoundSynth2SetParam(u16 reg, u16 value)
u16 cellSoundSynth2GetParam(u16 reg) u16 cellSoundSynth2GetParam(u16 reg)
{ {
libsynth2.todo("cellSoundSynth2GetParam(register=0x%x)", reg); libsynth2.todo("cellSoundSynth2GetParam(register=0x%x)", reg);
fmt::throw_exception("Unimplemented" HERE); return 0;
} }
void cellSoundSynth2SetSwitch(u16 reg, u32 value) void cellSoundSynth2SetSwitch(u16 reg, u32 value)
@ -44,7 +44,7 @@ void cellSoundSynth2SetSwitch(u16 reg, u32 value)
u32 cellSoundSynth2GetSwitch(u16 reg) u32 cellSoundSynth2GetSwitch(u16 reg)
{ {
libsynth2.todo("cellSoundSynth2GetSwitch(register=0x%x)", reg); libsynth2.todo("cellSoundSynth2GetSwitch(register=0x%x)", reg);
fmt::throw_exception("Unimplemented" HERE); return 0;
} }
s32 cellSoundSynth2SetAddr(u16 reg, u32 value) s32 cellSoundSynth2SetAddr(u16 reg, u32 value)
@ -56,7 +56,7 @@ s32 cellSoundSynth2SetAddr(u16 reg, u32 value)
u32 cellSoundSynth2GetAddr(u16 reg) u32 cellSoundSynth2GetAddr(u16 reg)
{ {
libsynth2.todo("cellSoundSynth2GetAddr(register=0x%x)", reg); libsynth2.todo("cellSoundSynth2GetAddr(register=0x%x)", reg);
fmt::throw_exception("Unimplemented" HERE); return 0;
} }
s32 cellSoundSynth2SetEffectAttr(s16 bus, vm::ptr<CellSoundSynth2EffectAttr> attr) s32 cellSoundSynth2SetEffectAttr(s16 bus, vm::ptr<CellSoundSynth2EffectAttr> attr)
@ -97,13 +97,13 @@ s32 cellSoundSynth2VoiceTransStatus(s16 channel, s16 flag)
u16 cellSoundSynth2Note2Pitch(u16 center_note, u16 center_fine, u16 note, s16 fine) u16 cellSoundSynth2Note2Pitch(u16 center_note, u16 center_fine, u16 note, s16 fine)
{ {
libsynth2.todo("cellSoundSynth2Note2Pitch(center_note=0x%x, center_fine=0x%x, note=0x%x, fine=%d)", center_note, center_fine, note, fine); libsynth2.todo("cellSoundSynth2Note2Pitch(center_note=0x%x, center_fine=0x%x, note=0x%x, fine=%d)", center_note, center_fine, note, fine);
fmt::throw_exception("Unimplemented" HERE); return 0;
} }
u16 cellSoundSynth2Pitch2Note(u16 center_note, u16 center_fine, u16 pitch) u16 cellSoundSynth2Pitch2Note(u16 center_note, u16 center_fine, u16 pitch)
{ {
libsynth2.todo("cellSoundSynth2Pitch2Note(center_note=0x%x, center_fine=0x%x, pitch=0x%x)", center_note, center_fine, pitch); libsynth2.todo("cellSoundSynth2Pitch2Note(center_note=0x%x, center_fine=0x%x, pitch=0x%x)", center_note, center_fine, pitch);
fmt::throw_exception("Unimplemented" HERE); return 0;
} }

View file

@ -1933,47 +1933,56 @@ s32 _sceNpSysutilClientFree()
s32 _Z33_sce_np_sysutil_send_empty_packetiPN16sysutil_cxmlutil11FixedMemoryEPKcS3_() s32 _Z33_sce_np_sysutil_send_empty_packetiPN16sysutil_cxmlutil11FixedMemoryEPKcS3_()
{ {
fmt::throw_exception("Unimplemented" HERE); sceNp.todo("_Z33_sce_np_sysutil_send_empty_packetiPN16sysutil_cxmlutil11FixedMemoryEPKcS3_()");
return CELL_OK;
} }
s32 _Z27_sce_np_sysutil_send_packetiRN4cxml8DocumentE() s32 _Z27_sce_np_sysutil_send_packetiRN4cxml8DocumentE()
{ {
fmt::throw_exception("Unimplemented" HERE); sceNp.todo("_Z27_sce_np_sysutil_send_packetiRN4cxml8DocumentE()");
return CELL_OK;
} }
s32 _Z36_sce_np_sysutil_recv_packet_fixedmemiPN16sysutil_cxmlutil11FixedMemoryERN4cxml8DocumentERNS2_7ElementE() s32 _Z36_sce_np_sysutil_recv_packet_fixedmemiPN16sysutil_cxmlutil11FixedMemoryERN4cxml8DocumentERNS2_7ElementE()
{ {
fmt::throw_exception("Unimplemented" HERE); sceNp.todo("_Z36_sce_np_sysutil_recv_packet_fixedmemiPN16sysutil_cxmlutil11FixedMemoryERN4cxml8DocumentERNS2_7ElementE()");
return CELL_OK;
} }
s32 _Z40_sce_np_sysutil_recv_packet_fixedmem_subiPN16sysutil_cxmlutil11FixedMemoryERN4cxml8DocumentERNS2_7ElementE() s32 _Z40_sce_np_sysutil_recv_packet_fixedmem_subiPN16sysutil_cxmlutil11FixedMemoryERN4cxml8DocumentERNS2_7ElementE()
{ {
fmt::throw_exception("Unimplemented" HERE); sceNp.todo("_Z40_sce_np_sysutil_recv_packet_fixedmem_subiPN16sysutil_cxmlutil11FixedMemoryERN4cxml8DocumentERNS2_7ElementE()");
return CELL_OK;
} }
s32 _Z27_sce_np_sysutil_recv_packetiRN4cxml8DocumentERNS_7ElementE() s32 _Z27_sce_np_sysutil_recv_packetiRN4cxml8DocumentERNS_7ElementE()
{ {
fmt::throw_exception("Unimplemented" HERE); sceNp.todo("_Z27_sce_np_sysutil_recv_packetiRN4cxml8DocumentERNS_7ElementE()");
return CELL_OK;
} }
s32 _Z29_sce_np_sysutil_cxml_set_npidRN4cxml8DocumentERNS_7ElementEPKcPK7SceNpId() s32 _Z29_sce_np_sysutil_cxml_set_npidRN4cxml8DocumentERNS_7ElementEPKcPK7SceNpId()
{ {
fmt::throw_exception("Unimplemented" HERE); sceNp.todo("_Z29_sce_np_sysutil_cxml_set_npidRN4cxml8DocumentERNS_7ElementEPKcPK7SceNpId()");
return CELL_OK;
} }
s32 _Z31_sce_np_sysutil_send_packet_subiRN4cxml8DocumentE() s32 _Z31_sce_np_sysutil_send_packet_subiRN4cxml8DocumentE()
{ {
fmt::throw_exception("Unimplemented" HERE); sceNp.todo("_Z31_sce_np_sysutil_send_packet_subiRN4cxml8DocumentE()");
return CELL_OK;
} }
s32 _Z37sce_np_matching_set_matching2_runningb() s32 _Z37sce_np_matching_set_matching2_runningb()
{ {
fmt::throw_exception("Unimplemented" HERE); sceNp.todo("_Z37sce_np_matching_set_matching2_runningb()");
return CELL_OK;
} }
s32 _Z32_sce_np_sysutil_cxml_prepare_docPN16sysutil_cxmlutil11FixedMemoryERN4cxml8DocumentEPKcRNS2_7ElementES6_i() s32 _Z32_sce_np_sysutil_cxml_prepare_docPN16sysutil_cxmlutil11FixedMemoryERN4cxml8DocumentEPKcRNS2_7ElementES6_i()
{ {
fmt::throw_exception("Unimplemented" HERE); sceNp.todo("_Z32_sce_np_sysutil_cxml_prepare_docPN16sysutil_cxmlutil11FixedMemoryERN4cxml8DocumentEPKcRNS2_7ElementES6_i()");
return CELL_OK;
} }

View file

@ -45,17 +45,20 @@ s32 sceNpCommerce2DestroyCtx()
s32 sceNpCommerce2EmptyStoreCheckStart() s32 sceNpCommerce2EmptyStoreCheckStart()
{ {
fmt::throw_exception("Unimplemented" HERE); sceNpCommerce2.todo("sceNpCommerce2EmptyStoreCheckStart()");
return CELL_OK;
} }
s32 sceNpCommerce2EmptyStoreCheckAbort() s32 sceNpCommerce2EmptyStoreCheckAbort()
{ {
fmt::throw_exception("Unimplemented" HERE); sceNpCommerce2.todo("sceNpCommerce2EmptyStoreCheckAbort()");
return CELL_OK;
} }
s32 sceNpCommerce2EmptyStoreCheckFinish() s32 sceNpCommerce2EmptyStoreCheckFinish()
{ {
fmt::throw_exception("Unimplemented" HERE); sceNpCommerce2.todo("sceNpCommerce2EmptyStoreCheckFinish()");
return CELL_OK;
} }
s32 sceNpCommerce2CreateSessionStart() s32 sceNpCommerce2CreateSessionStart()
@ -306,12 +309,14 @@ s32 sceNpCommerce2DestroyReq()
s32 sceNpCommerce2DoServiceListStartAsync() s32 sceNpCommerce2DoServiceListStartAsync()
{ {
fmt::throw_exception("Unimplemented" HERE); sceNpCommerce2.todo("sceNpCommerce2DoServiceListStartAsync()");
return CELL_OK;
} }
s32 sceNpCommerce2DoServiceListFinishAsync() s32 sceNpCommerce2DoServiceListFinishAsync()
{ {
fmt::throw_exception("Unimplemented" HERE); sceNpCommerce2.todo("sceNpCommerce2DoServiceListFinishAsync()");
return CELL_OK;
} }
DECLARE(ppu_module_manager::sceNpCommerce2)("sceNpCommerce2", []() DECLARE(ppu_module_manager::sceNpCommerce2)("sceNpCommerce2", []()

View file

@ -93,7 +93,8 @@ s32 sys_get_random_number(vm::ptr<void> addr, u64 size)
s32 console_getc() s32 console_getc()
{ {
fmt::throw_exception("Unimplemented" HERE); sysPrxForUser.todo("console_getc()");
return CELL_OK;
} }
void console_putc(char ch) void console_putc(char ch)

View file

@ -153,42 +153,50 @@ void sys_game_process_exitspawn2(ppu_thread& ppu, vm::cptr<char> path, vm::cpptr
s32 sys_game_board_storage_read() s32 sys_game_board_storage_read()
{ {
fmt::throw_exception("Unimplemented" HERE); sysPrxForUser.todo("sys_game_board_storage_read()");
return CELL_OK;
} }
s32 sys_game_board_storage_write() s32 sys_game_board_storage_write()
{ {
fmt::throw_exception("Unimplemented" HERE); sysPrxForUser.todo("sys_game_board_storage_write()");
return CELL_OK;
} }
s32 sys_game_get_rtc_status() s32 sys_game_get_rtc_status()
{ {
fmt::throw_exception("Unimplemented" HERE); sysPrxForUser.todo("sys_game_get_rtc_status()");
return CELL_OK;
} }
s32 sys_game_get_system_sw_version() s32 sys_game_get_system_sw_version()
{ {
fmt::throw_exception("Unimplemented" HERE); sysPrxForUser.todo("sys_game_get_system_sw_version()");
return CELL_OK;
} }
s32 sys_game_get_temperature() s32 sys_game_get_temperature()
{ {
fmt::throw_exception("Unimplemented" HERE); sysPrxForUser.todo("sys_game_get_temperature()");
return CELL_OK;
} }
s32 sys_game_watchdog_clear() s32 sys_game_watchdog_clear()
{ {
fmt::throw_exception("Unimplemented" HERE); sysPrxForUser.todo("sys_game_watchdog_clear()");
return CELL_OK;
} }
s32 sys_game_watchdog_start() s32 sys_game_watchdog_start()
{ {
fmt::throw_exception("Unimplemented" HERE); sysPrxForUser.todo("sys_game_watchdog_start()");
return CELL_OK;
} }
s32 sys_game_watchdog_stop() s32 sys_game_watchdog_stop()
{ {
fmt::throw_exception("Unimplemented" HERE); sysPrxForUser.todo("sys_game_watchdog_stop()");
return CELL_OK;
} }

View file

@ -62,22 +62,26 @@ s32 _sys_heap_free(u32 heap, u32 addr)
s32 _sys_heap_alloc_heap_memory() s32 _sys_heap_alloc_heap_memory()
{ {
fmt::throw_exception("Unimplemented" HERE); sysPrxForUser.todo("_sys_heap_alloc_heap_memory()");
return CELL_OK;
} }
s32 _sys_heap_get_mallinfo() s32 _sys_heap_get_mallinfo()
{ {
fmt::throw_exception("Unimplemented" HERE); sysPrxForUser.todo("_sys_heap_get_mallinfo()");
return CELL_OK;
} }
s32 _sys_heap_get_total_free_size() s32 _sys_heap_get_total_free_size()
{ {
fmt::throw_exception("Unimplemented" HERE); sysPrxForUser.todo("_sys_heap_get_total_free_size()");
return CELL_OK;
} }
s32 _sys_heap_stats() s32 _sys_heap_stats()
{ {
fmt::throw_exception("Unimplemented" HERE); sysPrxForUser.todo("_sys_heap_stats()");
return CELL_OK;
} }
void sysPrxForUser_sys_heap_init() void sysPrxForUser_sys_heap_init()

View file

@ -10,42 +10,50 @@ extern void cellMouse_init();
s32 sys_config_start() s32 sys_config_start()
{ {
fmt::throw_exception("Unimplemented" HERE); sys_io.todo("sys_config_start()");
return CELL_OK;
} }
s32 sys_config_stop() s32 sys_config_stop()
{ {
fmt::throw_exception("Unimplemented" HERE); sys_io.todo("sys_config_stop()");
return CELL_OK;
} }
s32 sys_config_add_service_listener() s32 sys_config_add_service_listener()
{ {
fmt::throw_exception("Unimplemented" HERE); sys_io.todo("sys_config_add_service_listener()");
return CELL_OK;
} }
s32 sys_config_remove_service_listener() s32 sys_config_remove_service_listener()
{ {
fmt::throw_exception("Unimplemented" HERE); sys_io.todo("sys_config_remove_service_listener()");
return CELL_OK;
} }
s32 sys_config_register_io_error_handler() s32 sys_config_register_io_error_handler()
{ {
fmt::throw_exception("Unimplemented" HERE); sys_io.todo("sys_config_register_io_error_handler()");
return CELL_OK;
} }
s32 sys_config_register_service() s32 sys_config_register_service()
{ {
fmt::throw_exception("Unimplemented" HERE); sys_io.todo("sys_config_register_service()");
return CELL_OK;
} }
s32 sys_config_unregister_io_error_handler() s32 sys_config_unregister_io_error_handler()
{ {
fmt::throw_exception("Unimplemented" HERE); sys_io.todo("sys_config_unregister_io_error_handler()");
return CELL_OK;
} }
s32 sys_config_unregister_service() s32 sys_config_unregister_service()
{ {
fmt::throw_exception("Unimplemented" HERE); sys_io.todo("sys_config_unregister_service()");
return CELL_OK;
} }

View file

@ -436,17 +436,20 @@ s32 _sys_sprintf(ppu_thread& ppu, vm::ptr<char> buffer, vm::cptr<char> fmt, ppu_
s32 _sys_vprintf() s32 _sys_vprintf()
{ {
fmt::throw_exception("Unimplemented" HERE); sysPrxForUser.todo("_sys_vprintf()");
return CELL_OK;
} }
s32 _sys_vsnprintf() s32 _sys_vsnprintf()
{ {
fmt::throw_exception("Unimplemented" HERE); sysPrxForUser.todo("_sys_vsnprintf()");
return CELL_OK;
} }
s32 _sys_vsprintf() s32 _sys_vsprintf()
{ {
fmt::throw_exception("Unimplemented" HERE); sysPrxForUser.todo("_sys_vsprintf()");
return CELL_OK;
} }
void _sys_qsort(vm::ptr<void> base, u32 nelem, u32 size, vm::ptr<qsortcmp> cmp) void _sys_qsort(vm::ptr<void> base, u32 nelem, u32 size, vm::ptr<qsortcmp> cmp)

View file

@ -69,184 +69,219 @@ void fmt_class_string<CellLv2DbgError>::format(std::string& out, u64 arg)
s32 sys_dbg_read_ppu_thread_context(u64 id, vm::ptr<sys_dbg_ppu_thread_context_t> ppu_context) s32 sys_dbg_read_ppu_thread_context(u64 id, vm::ptr<sys_dbg_ppu_thread_context_t> ppu_context)
{ {
fmt::throw_exception("Unimplemented" HERE); sys_lv2dbg.todo("sys_dbg_read_ppu_thread_context()");
return CELL_OK;
} }
s32 sys_dbg_read_spu_thread_context(u32 id, vm::ptr<sys_dbg_spu_thread_context_t> spu_context) s32 sys_dbg_read_spu_thread_context(u32 id, vm::ptr<sys_dbg_spu_thread_context_t> spu_context)
{ {
fmt::throw_exception("Unimplemented" HERE); sys_lv2dbg.todo("sys_dbg_read_spu_thread_context()");
return CELL_OK;
} }
s32 sys_dbg_read_spu_thread_context2(u32 id, vm::ptr<sys_dbg_spu_thread_context2_t> spu_context) s32 sys_dbg_read_spu_thread_context2(u32 id, vm::ptr<sys_dbg_spu_thread_context2_t> spu_context)
{ {
fmt::throw_exception("Unimplemented" HERE); sys_lv2dbg.todo("sys_dbg_read_spu_thread_context2()");
return CELL_OK;
} }
s32 sys_dbg_set_stacksize_ppu_exception_handler(u32 stacksize) s32 sys_dbg_set_stacksize_ppu_exception_handler(u32 stacksize)
{ {
fmt::throw_exception("Unimplemented" HERE); sys_lv2dbg.todo("sys_dbg_set_stacksize_ppu_exception_handler()");
return CELL_OK;
} }
s32 sys_dbg_initialize_ppu_exception_handler(s32 prio) s32 sys_dbg_initialize_ppu_exception_handler(s32 prio)
{ {
fmt::throw_exception("Unimplemented" HERE); sys_lv2dbg.todo("sys_dbg_initialize_ppu_exception_handler()");
return CELL_OK;
} }
s32 sys_dbg_finalize_ppu_exception_handler() s32 sys_dbg_finalize_ppu_exception_handler()
{ {
fmt::throw_exception("Unimplemented" HERE); sys_lv2dbg.todo("sys_dbg_finalize_ppu_exception_handler()");
return CELL_OK;
} }
s32 sys_dbg_register_ppu_exception_handler(vm::ptr<dbg_exception_handler_t> callback, u64 ctrl_flags) s32 sys_dbg_register_ppu_exception_handler(vm::ptr<dbg_exception_handler_t> callback, u64 ctrl_flags)
{ {
fmt::throw_exception("Unimplemented" HERE); sys_lv2dbg.todo("sys_dbg_register_ppu_exception_handler()");
return CELL_OK;
} }
s32 sys_dbg_unregister_ppu_exception_handler() s32 sys_dbg_unregister_ppu_exception_handler()
{ {
fmt::throw_exception("Unimplemented" HERE); sys_lv2dbg.todo("sys_dbg_unregister_ppu_exception_handler()");
return CELL_OK;
} }
s32 sys_dbg_signal_to_ppu_exception_handler(u64 flags) s32 sys_dbg_signal_to_ppu_exception_handler(u64 flags)
{ {
fmt::throw_exception("Unimplemented" HERE); sys_lv2dbg.todo("sys_dbg_signal_to_ppu_exception_handler()");
return CELL_OK;
} }
s32 sys_dbg_get_mutex_information(u32 id, vm::ptr<sys_dbg_mutex_information_t> info) s32 sys_dbg_get_mutex_information(u32 id, vm::ptr<sys_dbg_mutex_information_t> info)
{ {
fmt::throw_exception("Unimplemented" HERE); sys_lv2dbg.todo("sys_dbg_get_mutex_information()");
return CELL_OK;
} }
s32 sys_dbg_get_cond_information(u32 id, vm::ptr<sys_dbg_cond_information_t> info) s32 sys_dbg_get_cond_information(u32 id, vm::ptr<sys_dbg_cond_information_t> info)
{ {
fmt::throw_exception("Unimplemented" HERE); sys_lv2dbg.todo("sys_dbg_get_cond_information()");
return CELL_OK;
} }
s32 sys_dbg_get_rwlock_information(u32 id, vm::ptr<sys_dbg_rwlock_information_t> info) s32 sys_dbg_get_rwlock_information(u32 id, vm::ptr<sys_dbg_rwlock_information_t> info)
{ {
fmt::throw_exception("Unimplemented" HERE); sys_lv2dbg.todo("sys_dbg_get_rwlock_information()");
return CELL_OK;
} }
s32 sys_dbg_get_event_queue_information(u32 id, vm::ptr<sys_dbg_event_queue_information_t> info) s32 sys_dbg_get_event_queue_information(u32 id, vm::ptr<sys_dbg_event_queue_information_t> info)
{ {
fmt::throw_exception("Unimplemented" HERE); sys_lv2dbg.todo("sys_dbg_get_event_queue_information()");
return CELL_OK;
} }
s32 sys_dbg_get_semaphore_information(u32 id, vm::ptr<sys_dbg_semaphore_information_t> info) s32 sys_dbg_get_semaphore_information(u32 id, vm::ptr<sys_dbg_semaphore_information_t> info)
{ {
fmt::throw_exception("Unimplemented" HERE); sys_lv2dbg.todo("sys_dbg_get_semaphore_information()");
return CELL_OK;
} }
s32 sys_dbg_get_lwmutex_information(u32 id, vm::ptr<sys_dbg_lwmutex_information_t> info) s32 sys_dbg_get_lwmutex_information(u32 id, vm::ptr<sys_dbg_lwmutex_information_t> info)
{ {
fmt::throw_exception("Unimplemented" HERE); sys_lv2dbg.todo("sys_dbg_get_lwmutex_information()");
return CELL_OK;
} }
s32 sys_dbg_get_lwcond_information(u32 id, vm::ptr<sys_dbg_lwcond_information_t> info) s32 sys_dbg_get_lwcond_information(u32 id, vm::ptr<sys_dbg_lwcond_information_t> info)
{ {
fmt::throw_exception("Unimplemented" HERE); sys_lv2dbg.todo("sys_dbg_get_lwcond_information()");
return CELL_OK;
} }
s32 sys_dbg_get_event_flag_information(u32 id, vm::ptr<sys_dbg_event_flag_information_t> info) s32 sys_dbg_get_event_flag_information(u32 id, vm::ptr<sys_dbg_event_flag_information_t> info)
{ {
fmt::throw_exception("Unimplemented" HERE); sys_lv2dbg.todo("sys_dbg_get_event_flag_information()");
return CELL_OK;
} }
s32 sys_dbg_get_ppu_thread_ids(vm::ptr<u64> ids, vm::ptr<u64> ids_num, vm::ptr<u64> all_ids_num) s32 sys_dbg_get_ppu_thread_ids(vm::ptr<u64> ids, vm::ptr<u64> ids_num, vm::ptr<u64> all_ids_num)
{ {
fmt::throw_exception("Unimplemented" HERE); sys_lv2dbg.todo("sys_dbg_get_ppu_thread_ids()");
return CELL_OK;
} }
s32 sys_dbg_get_spu_thread_group_ids(vm::ptr<u32> ids, vm::ptr<u64> ids_num, vm::ptr<u64> all_ids_num) s32 sys_dbg_get_spu_thread_group_ids(vm::ptr<u32> ids, vm::ptr<u64> ids_num, vm::ptr<u64> all_ids_num)
{ {
fmt::throw_exception("Unimplemented" HERE); sys_lv2dbg.todo("sys_dbg_get_spu_thread_group_ids()");
return CELL_OK;
} }
s32 sys_dbg_get_spu_thread_ids(u32 group_id, vm::ptr<u32> ids, vm::ptr<u64> ids_num, vm::ptr<u64> all_ids_num) s32 sys_dbg_get_spu_thread_ids(u32 group_id, vm::ptr<u32> ids, vm::ptr<u64> ids_num, vm::ptr<u64> all_ids_num)
{ {
fmt::throw_exception("Unimplemented" HERE); sys_lv2dbg.todo("sys_dbg_get_spu_thread_ids()");
return CELL_OK;
} }
s32 sys_dbg_get_ppu_thread_name(u64 id, vm::ptr<char> name) s32 sys_dbg_get_ppu_thread_name(u64 id, vm::ptr<char> name)
{ {
fmt::throw_exception("Unimplemented" HERE); sys_lv2dbg.todo("sys_dbg_get_ppu_thread_name()");
return CELL_OK;
} }
s32 sys_dbg_get_spu_thread_name(u32 id, vm::ptr<char> name) s32 sys_dbg_get_spu_thread_name(u32 id, vm::ptr<char> name)
{ {
fmt::throw_exception("Unimplemented" HERE); sys_lv2dbg.todo("sys_dbg_get_spu_thread_name()");
return CELL_OK;
} }
s32 sys_dbg_get_spu_thread_group_name(u32 id, vm::ptr<char> name) s32 sys_dbg_get_spu_thread_group_name(u32 id, vm::ptr<char> name)
{ {
fmt::throw_exception("Unimplemented" HERE); sys_lv2dbg.todo("sys_dbg_get_spu_thread_group_name()");
return CELL_OK;
} }
s32 sys_dbg_get_ppu_thread_status(u64 id, vm::ptr<u32> status) s32 sys_dbg_get_ppu_thread_status(u64 id, vm::ptr<u32> status)
{ {
fmt::throw_exception("Unimplemented" HERE); sys_lv2dbg.todo("sys_dbg_get_ppu_thread_status()");
return CELL_OK;
} }
s32 sys_dbg_get_spu_thread_group_status(u32 id, vm::ptr<u32> status) s32 sys_dbg_get_spu_thread_group_status(u32 id, vm::ptr<u32> status)
{ {
fmt::throw_exception("Unimplemented" HERE); sys_lv2dbg.todo("sys_dbg_get_spu_thread_group_status()");
return CELL_OK;
} }
s32 sys_dbg_enable_floating_point_enabled_exception(u64 id, u64 flags, u64 opt1, u64 opt2) s32 sys_dbg_enable_floating_point_enabled_exception(u64 id, u64 flags, u64 opt1, u64 opt2)
{ {
fmt::throw_exception("Unimplemented" HERE); sys_lv2dbg.todo("sys_dbg_enable_floating_point_enabled_exception()");
return CELL_OK;
} }
s32 sys_dbg_disable_floating_point_enabled_exception(u64 id, u64 flags, u64 opt1, u64 opt2) s32 sys_dbg_disable_floating_point_enabled_exception(u64 id, u64 flags, u64 opt1, u64 opt2)
{ {
fmt::throw_exception("Unimplemented" HERE); sys_lv2dbg.todo("sys_dbg_disable_floating_point_enabled_exception()");
return CELL_OK;
} }
s32 sys_dbg_vm_get_page_information(u32 addr, u32 num, vm::ptr<sys_vm_page_information_t> pageinfo) s32 sys_dbg_vm_get_page_information(u32 addr, u32 num, vm::ptr<sys_vm_page_information_t> pageinfo)
{ {
fmt::throw_exception("Unimplemented" HERE); sys_lv2dbg.todo("sys_dbg_vm_get_page_information()");
return CELL_OK;
} }
s32 sys_dbg_set_address_to_dabr(u64 addr, u64 ctrl_flag) s32 sys_dbg_set_address_to_dabr(u64 addr, u64 ctrl_flag)
{ {
fmt::throw_exception("Unimplemented" HERE); sys_lv2dbg.todo("sys_dbg_set_address_to_dabr()");
return CELL_OK;
} }
s32 sys_dbg_get_address_from_dabr(vm::ptr<u64> addr, vm::ptr<u64> ctrl_flag) s32 sys_dbg_get_address_from_dabr(vm::ptr<u64> addr, vm::ptr<u64> ctrl_flag)
{ {
fmt::throw_exception("Unimplemented" HERE); sys_lv2dbg.todo("sys_dbg_get_address_from_dabr()");
return CELL_OK;
} }
s32 sys_dbg_signal_to_coredump_handler(u64 data1, u64 data2, u64 data3) s32 sys_dbg_signal_to_coredump_handler(u64 data1, u64 data2, u64 data3)
{ {
fmt::throw_exception("Unimplemented" HERE); sys_lv2dbg.todo("sys_dbg_signal_to_coredump_handler()");
return CELL_OK;
} }
s32 sys_dbg_mat_set_condition(u32 addr, u64 cond) s32 sys_dbg_mat_set_condition(u32 addr, u64 cond)
{ {
fmt::throw_exception("Unimplemented" HERE); sys_lv2dbg.todo("sys_dbg_mat_set_condition()");
return CELL_OK;
} }
s32 sys_dbg_mat_get_condition(u32 addr, vm::ptr<u64> condp) s32 sys_dbg_mat_get_condition(u32 addr, vm::ptr<u64> condp)
{ {
fmt::throw_exception("Unimplemented" HERE); sys_lv2dbg.todo("sys_dbg_mat_get_condition()");
return CELL_OK;
} }
s32 sys_dbg_get_coredump_params(vm::ptr<s32> param) s32 sys_dbg_get_coredump_params(vm::ptr<s32> param)
{ {
fmt::throw_exception("Unimplemented" HERE); sys_lv2dbg.todo("sys_dbg_get_coredump_params()");
return CELL_OK;
} }
s32 sys_dbg_set_mask_to_ppu_exception_handler(u64 mask, u64 flags) s32 sys_dbg_set_mask_to_ppu_exception_handler(u64 mask, u64 flags)
{ {
fmt::throw_exception("Unimplemented" HERE); sys_lv2dbg.todo("sys_dbg_set_mask_to_ppu_exception_handler()");
return CELL_OK;
} }
DECLARE(ppu_module_manager::sys_lv2dbg)("sys_lv2dbg", [] DECLARE(ppu_module_manager::sys_lv2dbg)("sys_lv2dbg", []