Patches: Explicitly construct xbox_patch_t

This commit is contained in:
darkf 2020-04-07 01:45:03 -07:00
parent 4eff9b9dab
commit 1309f25c7b
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ const uint32_t PATCH_HLE_OHCI = 1 << 3;
const uint32_t PATCH_IS_FIBER = 1 << 4;
#define PATCH_ENTRY(Name, Func, Flags) \
{ Name, { &Func, Flags} }
{ Name, xbox_patch_t { (void *)&Func, Flags} }
// Map of Xbox Patch names to Emulator Patches
// A std::string is used as it's possible for a symbol to have multiple names