mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-23 19:05:45 +00:00
Core: Set all hardware emulation constants in a single file.
This commit is contained in:
parent
1ee7a4d926
commit
6fc0790f3a
17 changed files with 88 additions and 53 deletions
|
@ -7,13 +7,14 @@
|
|||
#include "core/core.h"
|
||||
#include "core/core_timing.h"
|
||||
#include "core/core_timing_util.h"
|
||||
#include "core/hardware_properties.h"
|
||||
#include "core/memory.h"
|
||||
#include "core/tools/freezer.h"
|
||||
|
||||
namespace Tools {
|
||||
namespace {
|
||||
|
||||
constexpr s64 MEMORY_FREEZER_TICKS = static_cast<s64>(Core::Timing::BASE_CLOCK_RATE / 60);
|
||||
constexpr s64 MEMORY_FREEZER_TICKS = static_cast<s64>(Core::Hardware::BASE_CLOCK_RATE / 60);
|
||||
|
||||
u64 MemoryReadWidth(Memory::Memory& memory, u32 width, VAddr addr) {
|
||||
switch (width) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue