diff options
Diffstat (limited to 'SrcShared/Hardware/EmCPU.cpp')
-rw-r--r-- | SrcShared/Hardware/EmCPU.cpp | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/SrcShared/Hardware/EmCPU.cpp b/SrcShared/Hardware/EmCPU.cpp new file mode 100644 index 0000000..22c1031 --- /dev/null +++ b/SrcShared/Hardware/EmCPU.cpp @@ -0,0 +1,68 @@ +/* -*- mode: C++; tab-width: 4 -*- */ +/* ===================================================================== *\ + Copyright (c) 1998-2001 Palm, Inc. or its subsidiaries. + All rights reserved. + + This file is part of the Palm OS Emulator. + + 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. +\* ===================================================================== */ + +#include "EmCommon.h" +#include "EmCPU.h" + + +EmCPU* gCPU; + + +// --------------------------------------------------------------------------- +// ¥ EmCPU::EmCPU +// --------------------------------------------------------------------------- + +EmCPU::EmCPU (EmSession* session) : + fSession (session) +{ + EmAssert (gCPU == NULL); + gCPU = this; +} + + +// --------------------------------------------------------------------------- +// ¥ EmCPU::~EmCPU +// --------------------------------------------------------------------------- + +EmCPU::~EmCPU (void) +{ + EmAssert (gCPU == this); + gCPU = NULL; +} + + +// --------------------------------------------------------------------------- +// ¥ EmCPU::Reset +// --------------------------------------------------------------------------- + +void EmCPU::Reset (Bool /*hardwareReset*/) +{ +} + + +// --------------------------------------------------------------------------- +// ¥ EmCPU::Save +// --------------------------------------------------------------------------- + +void EmCPU::Save (SessionFile&) +{ +} + + +// --------------------------------------------------------------------------- +// ¥ EmCPU::Load +// --------------------------------------------------------------------------- + +void EmCPU::Load (SessionFile&) +{ +} |