mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-03 13:31:27 +12:00
fixed_typemap.hpp: make it a bit fool-proof
Require objects to be non-copyable (move is still allowed).
This commit is contained in:
parent
004ebfdaee
commit
52fe86b56c
19 changed files with 121 additions and 57 deletions
|
@ -85,14 +85,18 @@ using CellMusicDecode2Callback = void(u32, vm::ptr<void> param, vm::ptr<void> us
|
|||
|
||||
struct music_decode
|
||||
{
|
||||
vm::ptr<CellMusicDecodeCallback> func;
|
||||
vm::ptr<void> userData;
|
||||
vm::ptr<CellMusicDecodeCallback> func{};
|
||||
vm::ptr<void> userData{};
|
||||
|
||||
shared_mutex mutex;
|
||||
};
|
||||
|
||||
struct music_decode2
|
||||
{
|
||||
vm::ptr<CellMusicDecode2Callback> func;
|
||||
vm::ptr<void> userData;
|
||||
vm::ptr<CellMusicDecode2Callback> func{};
|
||||
vm::ptr<void> userData{};
|
||||
|
||||
shared_mutex mutex;
|
||||
};
|
||||
|
||||
error_code cellMusicDecodeInitialize(s32 mode, u32 container, s32 spuPriority, vm::ptr<CellMusicDecodeCallback> func, vm::ptr<void> userData)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue