Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cellMusic.cpp Change Throw Exception into UNIMPLEMENTED_FUNC #2343

Merged
merged 1 commit into from
Feb 5, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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