2014-07-12 09:46:14 +02:00
|
|
|
#include "stdafx.h"
|
2016-03-21 20:43:03 +01:00
|
|
|
#include "Emu/Cell/PPUModule.h"
|
2013-09-28 04:36:57 +02:00
|
|
|
|
2017-05-13 20:30:37 +02:00
|
|
|
logs::channel cellMusicExport("cellMusicExport");
|
2013-09-28 04:36:57 +02:00
|
|
|
|
|
|
|
|
// Return Codes
|
|
|
|
|
enum
|
|
|
|
|
{
|
2014-04-04 15:25:38 +02:00
|
|
|
CELL_MUSIC_EXPORT_UTIL_RET_OK = 0,
|
|
|
|
|
CELL_MUSIC_EXPORT_UTIL_RET_CANCEL = 1,
|
|
|
|
|
CELL_MUSIC_EXPORT_UTIL_ERROR_BUSY = 0x8002c601,
|
|
|
|
|
CELL_MUSIC_EXPORT_UTIL_ERROR_INTERNAL = 0x8002c602,
|
|
|
|
|
CELL_MUSIC_EXPORT_UTIL_ERROR_PARAM = 0x8002c603,
|
|
|
|
|
CELL_MUSIC_EXPORT_UTIL_ERROR_ACCESS_ERROR = 0x8002c604,
|
|
|
|
|
CELL_MUSIC_EXPORT_UTIL_ERROR_DB_INTERNAL = 0x8002c605,
|
|
|
|
|
CELL_MUSIC_EXPORT_UTIL_ERROR_DB_REGIST = 0x8002c606,
|
|
|
|
|
CELL_MUSIC_EXPORT_UTIL_ERROR_SET_META = 0x8002c607,
|
|
|
|
|
CELL_MUSIC_EXPORT_UTIL_ERROR_FLUSH_META = 0x8002c608,
|
|
|
|
|
CELL_MUSIC_EXPORT_UTIL_ERROR_MOVE = 0x8002c609,
|
|
|
|
|
CELL_MUSIC_EXPORT_UTIL_ERROR_INITIALIZE = 0x8002c60a,
|
2013-09-28 04:36:57 +02:00
|
|
|
};
|
|
|
|
|
|
2015-07-30 02:10:36 +02:00
|
|
|
s32 cellMusicExportInitialize()
|
2013-09-28 04:36:57 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(cellMusicExport);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2015-07-30 02:10:36 +02:00
|
|
|
s32 cellMusicExportInitialize2()
|
2013-09-28 04:36:57 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(cellMusicExport);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2015-07-30 02:10:36 +02:00
|
|
|
s32 cellMusicExportFinalize()
|
2013-09-28 04:36:57 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(cellMusicExport);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2015-07-30 02:10:36 +02:00
|
|
|
s32 cellMusicExportFromFile()
|
2013-09-28 04:36:57 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(cellMusicExport);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2015-07-30 02:10:36 +02:00
|
|
|
s32 cellMusicExportProgress()
|
2013-09-28 04:36:57 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(cellMusicExport);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2016-03-21 20:43:03 +01:00
|
|
|
DECLARE(ppu_module_manager::cellMusicExport)("cellMusicExportUtility", []()
|
2013-09-28 04:36:57 +02:00
|
|
|
{
|
2016-03-21 20:43:03 +01:00
|
|
|
REG_FUNC(cellMusicExportUtility, cellMusicExportInitialize);
|
|
|
|
|
REG_FUNC(cellMusicExportUtility, cellMusicExportInitialize2);
|
|
|
|
|
REG_FUNC(cellMusicExportUtility, cellMusicExportFinalize);
|
|
|
|
|
REG_FUNC(cellMusicExportUtility, cellMusicExportFromFile);
|
|
|
|
|
REG_FUNC(cellMusicExportUtility, cellMusicExportProgress);
|
2015-07-30 02:10:36 +02:00
|
|
|
});
|