zemu 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/zemu/interactive.rb +1 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dbdac0f92af987d3202f5975f4bc119c448a0c3356c5bfa069ff659977e6c150
4
- data.tar.gz: 55becc89a08a3aee55baddf0dd172bd702dbfe2ab328340578f5ed313a983aa3
3
+ metadata.gz: e21eb92ebce3eb8f03d9a17ddaec4f857989216a673791267602c0eb848319c7
4
+ data.tar.gz: 3ff049b8e132ae33a3376f21768378f06d6bd59b8f5014b81ede14f50e37eda6
5
5
  SHA512:
6
- metadata.gz: a41f637706dc296b456da80be43af7cb1aeb7e7e34700c3d2e731f9da3698a16cb18f7b622b8a82054eb3c789d451bea6cbd73f145f9a76e6fd8c5850c9fbede
7
- data.tar.gz: 8174742e9ab6adc69f284bd8a33763d03074daafaa638f385fc4ff3cc27db2ebbeed85d23999b77439a2340722882bc1048626a8b4bc5eda1768263cdecdbff4
6
+ metadata.gz: 34706fc39b8212b6b3a07e077f5cd63479550e1832509bb01f742f86928c8c79844ce9689d4a11d79a2664d4ac13c6433f8a502b8806bf5e3390110009a27237
7
+ data.tar.gz: 74082dc5aad00935a79f3af11db3b288179015ddce3ce4cbd96439771cd1bce4377f08cc069c23574474942dc4ba5dff736c44cc7cc263df0a6a007e715a6fe0
@@ -132,7 +132,7 @@ module Zemu
132
132
  if @instance.clock_speed > 0
133
133
  elapsed = ending - start
134
134
 
135
- execution_time = actual_cycles * (1/@instance.clock_speed)
135
+ execution_time = cycles_done * (1/@instance.clock_speed)
136
136
  padding = execution_time - elapsed
137
137
  sleep(padding) unless padding < 0
138
138
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zemu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jay Valentine
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-03-05 00:00:00.000000000 Z
11
+ date: 2020-03-23 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: |2
14
14
  Zemu is a gem which allows the user to configure a Z80-based system