/* Copyright (C) 2012 StrmnNrmn This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include "Base/Types.h" #include "DynaRec/CodeBufferManager.h" #include #include class CCodeBufferManagerOSX : public CCodeBufferManager { public: CCodeBufferManagerOSX() { } virtual bool Initialise(); virtual void Reset(); virtual void Finalise(); virtual std::shared_ptr StartNewBlock(); virtual u32 FinaliseCurrentBlock(); }; std::shared_ptr CCodeBufferManager::Create() { return std::make_unique(); } bool CCodeBufferManagerOSX::Initialise() { DAEDALUS_ASSERT(false, "Unimplemented"); return true; } void CCodeBufferManagerOSX::Reset() { DAEDALUS_ASSERT(false, "Unimplemented"); } void CCodeBufferManagerOSX::Finalise() { DAEDALUS_ASSERT(false, "Unimplemented"); } std::shared_ptr CCodeBufferManagerOSX::StartNewBlock() { DAEDALUS_ASSERT(false, "Unimplemented"); return nullptr; } u32 CCodeBufferManagerOSX::FinaliseCurrentBlock() { DAEDALUS_ASSERT(false, "Unimplemented"); return 0; } void Dynarec_ClearedCPUStuffToDo() {} void Dynarec_SetCPUStuffToDo() { } extern "C" { void _EnterDynaRec( const void * p_function [[maybe_unused]], const void * p_base_pointer [[maybe_unused]], const void * p_rebased_mem [[maybe_unused]], u32 mem_limit [[maybe_unused]] ) { DAEDALUS_ASSERT(false, "Unimplemented"); } }