mirror of
https://github.com/holub/mame
synced 2025-10-06 17:08:28 +03:00
DRC: fix regression on OS X [Phil Bennett]
This commit is contained in:
parent
8cda81fc8b
commit
cbee54fe1e
@ -286,7 +286,7 @@ const uint32_t drcbe_c::s_condition_map[] =
|
||||
drcbe_c::drcbe_c(drcuml_state &drcuml, device_t &device, drc_cache &cache, uint32_t flags, int modes, int addrbits, int ignorebits)
|
||||
: drcbe_interface(drcuml, cache, device),
|
||||
m_hash(cache, modes, addrbits, ignorebits),
|
||||
m_map(cache, 0),
|
||||
m_map(cache, 0xaaaaaaaa55555555),
|
||||
m_labels(cache),
|
||||
m_fixup_delegate(&drcbe_c::fixup_label, this)
|
||||
{
|
||||
|
@ -618,7 +618,7 @@ inline void drcbe_x64::emit_smart_call_m64(x86code *&dst, x86code **target)
|
||||
drcbe_x64::drcbe_x64(drcuml_state &drcuml, device_t &device, drc_cache &cache, uint32_t flags, int modes, int addrbits, int ignorebits)
|
||||
: drcbe_interface(drcuml, cache, device),
|
||||
m_hash(cache, modes, addrbits, ignorebits),
|
||||
m_map(cache, 0),
|
||||
m_map(cache, 0xaaaaaaaa5555),
|
||||
m_labels(cache),
|
||||
m_log(nullptr),
|
||||
m_sse41(false),
|
||||
|
@ -72,7 +72,7 @@ private:
|
||||
static const size_t CODEGEN_MAX_BYTES = 65536;
|
||||
|
||||
// minimum alignment, in bytes (must be power of 2)
|
||||
static const size_t CACHE_ALIGNMENT = 8;
|
||||
static const size_t CACHE_ALIGNMENT = alignof(std::max_align_t);
|
||||
|
||||
// largest permanent allocation we allow
|
||||
static const size_t MAX_PERMANENT_ALLOC = 1024;
|
||||
|
Loading…
Reference in New Issue
Block a user