mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 00:11:24 +12: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, ...) \
|
#define REG_SUB(module, group, name, ...) \
|
||||||
static const u64 name ## _table[] = {__VA_ARGS__ , 0}; \
|
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__)
|
#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
Add a link
Reference in a new issue