cellMusic.cpp Change Throw Exception into UNIMPLEMENTED_FUNC

Also return CELL_OK in function until the it become properly developed.
This commit is contained in:
ikki84 2017-02-05 13:27:53 -03:00 committed by Ivan
parent 246b9f3182
commit 9b122e5449

View file

@ -16,97 +16,116 @@ struct music2_t
s32 cellMusicGetSelectionContext() s32 cellMusicGetSelectionContext()
{ {
fmt::throw_exception("Unimplemented" HERE); UNIMPLEMENTED_FUNC(cellMusic);
return CELL_OK;
} }
s32 cellMusicSetSelectionContext2() s32 cellMusicSetSelectionContext2()
{ {
fmt::throw_exception("Unimplemented" HERE); UNIMPLEMENTED_FUNC(cellMusic);
return CELL_OK;
} }
s32 cellMusicSetVolume2() s32 cellMusicSetVolume2()
{ {
fmt::throw_exception("Unimplemented" HERE); UNIMPLEMENTED_FUNC(cellMusic);
return CELL_OK;
} }
s32 cellMusicGetContentsId() s32 cellMusicGetContentsId()
{ {
fmt::throw_exception("Unimplemented" HERE); UNIMPLEMENTED_FUNC(cellMusic);
return CELL_OK;
} }
s32 cellMusicSetSelectionContext() s32 cellMusicSetSelectionContext()
{ {
fmt::throw_exception("Unimplemented" HERE); UNIMPLEMENTED_FUNC(cellMusic);
return CELL_OK;
} }
s32 cellMusicInitialize2SystemWorkload() s32 cellMusicInitialize2SystemWorkload()
{ {
fmt::throw_exception("Unimplemented" HERE); UNIMPLEMENTED_FUNC(cellMusic);
return CELL_OK;
} }
s32 cellMusicGetPlaybackStatus2() s32 cellMusicGetPlaybackStatus2()
{ {
fmt::throw_exception("Unimplemented" HERE); UNIMPLEMENTED_FUNC(cellMusic);
return CELL_OK;
} }
s32 cellMusicGetContentsId2() s32 cellMusicGetContentsId2()
{ {
fmt::throw_exception("Unimplemented" HERE); UNIMPLEMENTED_FUNC(cellMusic);
return CELL_OK;
} }
s32 cellMusicFinalize() s32 cellMusicFinalize()
{ {
fmt::throw_exception("Unimplemented" HERE); UNIMPLEMENTED_FUNC(cellMusic);
return CELL_OK;
} }
s32 cellMusicInitializeSystemWorkload() s32 cellMusicInitializeSystemWorkload()
{ {
fmt::throw_exception("Unimplemented" HERE); UNIMPLEMENTED_FUNC(cellMusic);
return CELL_OK;
} }
s32 cellMusicInitialize() s32 cellMusicInitialize()
{ {
fmt::throw_exception("Unimplemented" HERE); UNIMPLEMENTED_FUNC(cellMusic);
return CELL_OK;
} }
s32 cellMusicFinalize2() s32 cellMusicFinalize2()
{ {
fmt::throw_exception("Unimplemented" HERE); UNIMPLEMENTED_FUNC(cellMusic);
return CELL_OK;
} }
s32 cellMusicGetSelectionContext2() s32 cellMusicGetSelectionContext2()
{ {
fmt::throw_exception("Unimplemented" HERE); UNIMPLEMENTED_FUNC(cellMusic);
return CELL_OK;
} }
s32 cellMusicGetVolume() s32 cellMusicGetVolume()
{ {
fmt::throw_exception("Unimplemented" HERE); UNIMPLEMENTED_FUNC(cellMusic);
return CELL_OK;
} }
s32 cellMusicGetPlaybackStatus() s32 cellMusicGetPlaybackStatus()
{ {
fmt::throw_exception("Unimplemented" HERE); UNIMPLEMENTED_FUNC(cellMusic);
return CELL_OK;
} }
s32 cellMusicSetPlaybackCommand2() s32 cellMusicSetPlaybackCommand2()
{ {
fmt::throw_exception("Unimplemented" HERE); UNIMPLEMENTED_FUNC(cellMusic);
return CELL_OK;
} }
s32 cellMusicSetPlaybackCommand() s32 cellMusicSetPlaybackCommand()
{ {
fmt::throw_exception("Unimplemented" HERE); UNIMPLEMENTED_FUNC(cellMusic);
return CELL_OK;
} }
s32 cellMusicSelectContents2() s32 cellMusicSelectContents2()
{ {
fmt::throw_exception("Unimplemented" HERE); UNIMPLEMENTED_FUNC(cellMusic);
return CELL_OK;
} }
s32 cellMusicSelectContents() s32 cellMusicSelectContents()
{ {
fmt::throw_exception("Unimplemented" HERE); UNIMPLEMENTED_FUNC(cellMusic);
return CELL_OK;
} }
s32 cellMusicInitialize2(s32 mode, s32 spuPriority, vm::ptr<CellMusic2Callback> func, vm::ptr<void> userData) s32 cellMusicInitialize2(s32 mode, s32 spuPriority, vm::ptr<CellMusic2Callback> func, vm::ptr<void> userData)
@ -134,12 +153,14 @@ s32 cellMusicInitialize2(s32 mode, s32 spuPriority, vm::ptr<CellMusic2Callback>
s32 cellMusicSetVolume() s32 cellMusicSetVolume()
{ {
fmt::throw_exception("Unimplemented" HERE); UNIMPLEMENTED_FUNC(cellMusic);
return CELL_OK;
} }
s32 cellMusicGetVolume2() s32 cellMusicGetVolume2()
{ {
fmt::throw_exception("Unimplemented" HERE); UNIMPLEMENTED_FUNC(cellMusic);
return CELL_OK;
} }