mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 14:08:37 +00:00
Experimental class template Module<T>
Allocates ps3 memory for specific instance T
This commit is contained in:
parent
093ecc0a02
commit
12f36cf31f
123 changed files with 494 additions and 379 deletions
|
|
@ -16,7 +16,7 @@ extern "C"
|
|||
#include "cellPamf.h"
|
||||
#include "cellAdec.h"
|
||||
|
||||
extern Module cellAdec;
|
||||
extern Module<> cellAdec;
|
||||
|
||||
AudioDecoder::AudioDecoder(s32 type, u32 addr, u32 size, vm::ptr<CellAdecCbMsg> func, u32 arg)
|
||||
: type(type)
|
||||
|
|
@ -863,7 +863,7 @@ s32 cellAdecGetPcmItem(u32 handle, vm::pptr<CellAdecPcmItem> pcmItem)
|
|||
return CELL_OK;
|
||||
}
|
||||
|
||||
Module cellAdec("cellAdec", []()
|
||||
Module<> cellAdec("cellAdec", []()
|
||||
{
|
||||
REG_FUNC(cellAdec, cellAdecQueryAttr);
|
||||
REG_FUNC(cellAdec, cellAdecOpen);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue