Skip to content

Commit

Permalink
add runMode flag on EmuState
Browse files Browse the repository at this point in the history
  • Loading branch information
Luis Cabellos committed Apr 10, 2012
1 parent b2aaaef commit d16e791
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ZDCpu16/EmuState.hs
Expand Up @@ -26,10 +26,11 @@ import ZDCpu16.Hardware( DCPU_16(..), initialDCPU )
data EmuState = EmuState
{ emuCpu :: ! DCPU_16
, cycles :: ! Integer
, runMode :: ! Bool
, conComm :: ! Connection }

-- -----------------------------------------------------------------------------
mkEmuState :: Connection -> EmuState
mkEmuState = EmuState initialDCPU 0
mkEmuState = EmuState initialDCPU 0 False

-- -----------------------------------------------------------------------------

0 comments on commit d16e791

Please sign in to comment.