Core: Cleaned up SingleStep(), updated default LCD refresh to assume each instruction is ~3 cycles

This commit is contained in:
bunnei 2014-06-06 00:06:33 -04:00
parent 3449aaa350
commit 0deeda54ee
2 changed files with 14 additions and 12 deletions

View file

@ -8,7 +8,8 @@
namespace LCD {
static const u32 kFrameTicks = 268123480 / 60; ///< 268MHz / 60 frames per second
static const u32 kFrameCycles = 268123480 / 60; ///< 268MHz / 60 frames per second
static const u32 kFrameTicks = kFrameCycles / 3; ///< Approximate number of instructions/frame
struct Registers {
u32 framebuffer_top_left_1;