Skip to content

Commit

Permalink
cellMusic.cpp Change Throw Exception into UNIMPLEMENTED_FUNC
Browse files Browse the repository at this point in the history
Also return CELL_OK in function until the it become properly developed.
  • Loading branch information
ikki84 authored and Nekotekina committed Feb 5, 2017
1 parent 246b9f3 commit 9b122e5
Showing 1 changed file with 42 additions and 21 deletions.
63 changes: 42 additions & 21 deletions rpcs3/Emu/Cell/Modules/cellMusic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,97 +16,116 @@ struct music2_t

s32 cellMusicGetSelectionContext()
{
fmt::throw_exception("Unimplemented" HERE);
UNIMPLEMENTED_FUNC(cellMusic);
return CELL_OK;
}

s32 cellMusicSetSelectionContext2()
{
fmt::throw_exception("Unimplemented" HERE);
UNIMPLEMENTED_FUNC(cellMusic);
return CELL_OK;
}

s32 cellMusicSetVolume2()
{
fmt::throw_exception("Unimplemented" HERE);
UNIMPLEMENTED_FUNC(cellMusic);
return CELL_OK;
}

s32 cellMusicGetContentsId()
{
fmt::throw_exception("Unimplemented" HERE);
UNIMPLEMENTED_FUNC(cellMusic);
return CELL_OK;
}

s32 cellMusicSetSelectionContext()
{
fmt::throw_exception("Unimplemented" HERE);
UNIMPLEMENTED_FUNC(cellMusic);
return CELL_OK;
}

s32 cellMusicInitialize2SystemWorkload()
{
fmt::throw_exception("Unimplemented" HERE);
UNIMPLEMENTED_FUNC(cellMusic);
return CELL_OK;
}

s32 cellMusicGetPlaybackStatus2()
{
fmt::throw_exception("Unimplemented" HERE);
UNIMPLEMENTED_FUNC(cellMusic);
return CELL_OK;
}

s32 cellMusicGetContentsId2()
{
fmt::throw_exception("Unimplemented" HERE);
UNIMPLEMENTED_FUNC(cellMusic);
return CELL_OK;
}

s32 cellMusicFinalize()
{
fmt::throw_exception("Unimplemented" HERE);
UNIMPLEMENTED_FUNC(cellMusic);
return CELL_OK;
}

s32 cellMusicInitializeSystemWorkload()
{
fmt::throw_exception("Unimplemented" HERE);
UNIMPLEMENTED_FUNC(cellMusic);
return CELL_OK;
}

s32 cellMusicInitialize()
{
fmt::throw_exception("Unimplemented" HERE);
UNIMPLEMENTED_FUNC(cellMusic);
return CELL_OK;
}

s32 cellMusicFinalize2()
{
fmt::throw_exception("Unimplemented" HERE);
UNIMPLEMENTED_FUNC(cellMusic);
return CELL_OK;
}

s32 cellMusicGetSelectionContext2()
{
fmt::throw_exception("Unimplemented" HERE);
UNIMPLEMENTED_FUNC(cellMusic);
return CELL_OK;
}

s32 cellMusicGetVolume()
{
fmt::throw_exception("Unimplemented" HERE);
UNIMPLEMENTED_FUNC(cellMusic);
return CELL_OK;
}

s32 cellMusicGetPlaybackStatus()
{
fmt::throw_exception("Unimplemented" HERE);
UNIMPLEMENTED_FUNC(cellMusic);
return CELL_OK;
}

s32 cellMusicSetPlaybackCommand2()
{
fmt::throw_exception("Unimplemented" HERE);
UNIMPLEMENTED_FUNC(cellMusic);
return CELL_OK;
}

s32 cellMusicSetPlaybackCommand()
{
fmt::throw_exception("Unimplemented" HERE);
UNIMPLEMENTED_FUNC(cellMusic);
return CELL_OK;
}

s32 cellMusicSelectContents2()
{
fmt::throw_exception("Unimplemented" HERE);
UNIMPLEMENTED_FUNC(cellMusic);
return CELL_OK;
}

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)
Expand Down Expand Up @@ -134,12 +153,14 @@ s32 cellMusicInitialize2(s32 mode, s32 spuPriority, vm::ptr<CellMusic2Callback>

s32 cellMusicSetVolume()
{
fmt::throw_exception("Unimplemented" HERE);
UNIMPLEMENTED_FUNC(cellMusic);
return CELL_OK;
}

s32 cellMusicGetVolume2()
{
fmt::throw_exception("Unimplemented" HERE);
UNIMPLEMENTED_FUNC(cellMusic);
return CELL_OK;
}


Expand Down

0 comments on commit 9b122e5

Please sign in to comment.