2014-07-12 09:46:14 +02:00
|
|
|
#include "stdafx.h"
|
2015-02-22 09:50:26 +01:00
|
|
|
#include "Emu/System.h"
|
2016-03-21 20:43:03 +01:00
|
|
|
#include "Emu/Cell/PPUModule.h"
|
|
|
|
|
|
2015-02-22 15:50:11 +01:00
|
|
|
#include "cellSearch.h"
|
2013-09-28 04:36:57 +02:00
|
|
|
|
2017-05-13 20:30:37 +02:00
|
|
|
logs::channel cellSearch("cellSearch");
|
2013-09-28 04:36:57 +02:00
|
|
|
|
2015-02-22 16:36:22 +01:00
|
|
|
s32 cellSearchInitialize(CellSearchMode mode, u32 container, vm::ptr<CellSearchSystemCallback> func, vm::ptr<u32> userData)
|
2013-09-28 04:36:57 +02:00
|
|
|
{
|
2016-01-12 22:57:16 +01:00
|
|
|
cellSearch.warning("cellSearchInitialize()");
|
2015-02-22 15:50:11 +01:00
|
|
|
|
|
|
|
|
// TODO: Store the arguments somewhere so we can use them later.
|
|
|
|
|
|
2013-09-28 04:36:57 +02:00
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2015-02-22 09:50:26 +01:00
|
|
|
s32 cellSearchFinalize()
|
2013-09-28 04:36:57 +02:00
|
|
|
{
|
2016-01-12 22:57:16 +01:00
|
|
|
cellSearch.warning("cellSearchFinalize()");
|
2015-02-22 15:50:11 +01:00
|
|
|
|
2013-09-28 04:36:57 +02:00
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2015-02-22 09:50:26 +01:00
|
|
|
s32 cellSearchStartListSearch()
|
2013-09-28 04:36:57 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(cellSearch);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2015-02-22 09:50:26 +01:00
|
|
|
s32 cellSearchStartContentSearchInList()
|
2013-09-28 04:36:57 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(cellSearch);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2015-02-22 09:50:26 +01:00
|
|
|
s32 cellSearchStartContentSearch()
|
2013-09-28 04:36:57 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(cellSearch);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2015-02-22 09:50:26 +01:00
|
|
|
s32 cellSearchStartSceneSearchInVideo()
|
2013-09-28 04:36:57 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(cellSearch);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2015-02-22 09:50:26 +01:00
|
|
|
s32 cellSearchStartSceneSearch()
|
2013-09-28 04:36:57 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(cellSearch);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2015-02-22 09:50:26 +01:00
|
|
|
s32 cellSearchGetContentInfoByOffset()
|
2013-09-28 04:36:57 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(cellSearch);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2015-02-22 09:50:26 +01:00
|
|
|
s32 cellSearchGetContentInfoByContentId()
|
2013-09-28 04:36:57 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(cellSearch);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2015-02-22 09:50:26 +01:00
|
|
|
s32 cellSearchGetOffsetByContentId()
|
2013-09-28 04:36:57 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(cellSearch);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2015-02-22 09:50:26 +01:00
|
|
|
s32 cellSearchGetContentIdByOffset()
|
2013-09-28 04:36:57 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(cellSearch);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2015-02-22 09:50:26 +01:00
|
|
|
s32 cellSearchGetContentInfoGameComment()
|
2013-09-28 04:36:57 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(cellSearch);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2015-02-22 09:50:26 +01:00
|
|
|
s32 cellSearchGetMusicSelectionContext()
|
2013-09-28 04:36:57 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(cellSearch);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2015-02-22 09:50:26 +01:00
|
|
|
s32 cellSearchGetMusicSelectionContextOfSingleTrack()
|
2013-09-28 04:36:57 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(cellSearch);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2015-02-22 09:50:26 +01:00
|
|
|
s32 cellSearchGetContentInfoPath()
|
2013-09-28 04:36:57 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(cellSearch);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2015-02-22 09:50:26 +01:00
|
|
|
s32 cellSearchGetContentInfoPathMovieThumb()
|
2013-09-28 04:36:57 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(cellSearch);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2015-02-22 09:50:26 +01:00
|
|
|
s32 cellSearchPrepareFile()
|
2013-09-28 04:36:57 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(cellSearch);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2015-02-22 09:50:26 +01:00
|
|
|
s32 cellSearchGetContentInfoDeveloperData()
|
2013-09-28 04:36:57 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(cellSearch);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2015-02-22 09:50:26 +01:00
|
|
|
s32 cellSearchCancel()
|
2013-09-28 04:36:57 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(cellSearch);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2015-02-22 09:50:26 +01:00
|
|
|
s32 cellSearchEnd()
|
2013-09-28 04:36:57 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(cellSearch);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2016-03-21 20:43:03 +01:00
|
|
|
DECLARE(ppu_module_manager::cellSearch)("cellSearchUtility", []()
|
2013-09-28 04:36:57 +02:00
|
|
|
{
|
2016-03-21 20:43:03 +01:00
|
|
|
REG_FUNC(cellSearchUtility, cellSearchInitialize);
|
|
|
|
|
REG_FUNC(cellSearchUtility, cellSearchFinalize);
|
|
|
|
|
REG_FUNC(cellSearchUtility, cellSearchStartListSearch);
|
|
|
|
|
REG_FUNC(cellSearchUtility, cellSearchStartContentSearchInList);
|
|
|
|
|
REG_FUNC(cellSearchUtility, cellSearchStartContentSearch);
|
|
|
|
|
REG_FUNC(cellSearchUtility, cellSearchStartSceneSearchInVideo);
|
|
|
|
|
REG_FUNC(cellSearchUtility, cellSearchStartSceneSearch);
|
|
|
|
|
REG_FUNC(cellSearchUtility, cellSearchGetContentInfoByOffset);
|
|
|
|
|
REG_FUNC(cellSearchUtility, cellSearchGetContentInfoByContentId);
|
|
|
|
|
REG_FUNC(cellSearchUtility, cellSearchGetOffsetByContentId);
|
|
|
|
|
REG_FUNC(cellSearchUtility, cellSearchGetContentIdByOffset);
|
|
|
|
|
REG_FUNC(cellSearchUtility, cellSearchGetContentInfoGameComment);
|
|
|
|
|
REG_FUNC(cellSearchUtility, cellSearchGetMusicSelectionContext);
|
|
|
|
|
REG_FUNC(cellSearchUtility, cellSearchGetMusicSelectionContextOfSingleTrack);
|
|
|
|
|
REG_FUNC(cellSearchUtility, cellSearchGetContentInfoPath);
|
|
|
|
|
REG_FUNC(cellSearchUtility, cellSearchGetContentInfoPathMovieThumb);
|
|
|
|
|
REG_FUNC(cellSearchUtility, cellSearchPrepareFile);
|
|
|
|
|
REG_FUNC(cellSearchUtility, cellSearchGetContentInfoDeveloperData);
|
|
|
|
|
REG_FUNC(cellSearchUtility, cellSearchCancel);
|
|
|
|
|
REG_FUNC(cellSearchUtility, cellSearchEnd);
|
2015-02-22 12:38:14 +01:00
|
|
|
});
|