mirror of
https://github.com/lloeki/python-dcpu_16.git
synced 2025-12-06 09:54:39 +01:00
fix param order to match doc
This commit is contained in:
parent
6fcac3cf2e
commit
f3acea29fd
1 changed files with 1 additions and 1 deletions
|
|
@ -419,7 +419,7 @@ class CPU(object):
|
|||
(c.r + [c.pc, c.sp, c.o])[i])
|
||||
for i in range(11))
|
||||
|
||||
def load_m(c, io=None, data=None):
|
||||
def load_m(c, data=None, io=None):
|
||||
"""load data in memory"""
|
||||
# TODO: load from io object
|
||||
for i in xrange(len(data)):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue