Skip to content

How use lua script get gen_vdp/0/m_vram memory data #131

Answered by cuavas
uname1able asked this question in Q&A
Discussion options

You must be logged in to vote

The current way of doing it is unsupported, and will change in an incompatible way in the future.

vdp = manager.machine.devices['gen_vdp']
vram = emu.item(vdp.items['0/m_vram'])

Note that accessing the items property is very slow, so avoid doing it frequently.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@uname1able
Comment options

Answer selected by uname1able
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants