mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-22 12:35:21 +00:00
Compilation fix
This commit is contained in:
parent
655acc746d
commit
fdad4019e5
2 changed files with 3 additions and 3 deletions
|
@ -163,8 +163,8 @@ __forceinline u32 Module::AddFuncSub(const char group[8], const u64 ops[], const
|
|||
|
||||
#define REG_SUB(module, group, name, ...) \
|
||||
static const u64 name ## _table[] = {__VA_ARGS__ , 0}; \
|
||||
if (name ## _table[0]) module.AddFuncSub<name>(group, name ## _table, #name, name)
|
||||
if (name ## _table[0]) module.AddFuncSub<&name>(group, name ## _table, #name, name)
|
||||
|
||||
#define REG_FUNC(module, name) module.AddFunc<name>(#name, name)
|
||||
#define REG_FUNC(module, name) module.AddFunc<&name>(#name, name)
|
||||
|
||||
#define UNIMPLEMENTED_FUNC(module) module.Error("%s", __FUNCTION__)
|
||||
|
|
|
@ -212,4 +212,4 @@ namespace ppu_func_detail
|
|||
}
|
||||
}
|
||||
|
||||
#define bind_func(func) (ppu_func_detail::_bind_func<func>(func))
|
||||
#define bind_func(func) (ppu_func_detail::_bind_func<&func>(func))
|
||||
|
|
Loading…
Add table
Reference in a new issue