Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Limit error when using lua mainmemory.readbyterange() #1094

Closed
udoheld opened this issue Jan 14, 2018 · 0 comments

Comments

Projects
None yet
2 participants
@udoheld
Copy link
Contributor

commented Jan 14, 2018

When reading out the memory using mainmemory.readbyterange an error is reported even though it fits in the memory range.

Error Message:
Warning: Attempted read 2048 outside memory domain size of 2048 in readbyterange()

Reproduction:

  • Create a lua script test.lua
  • add "mainmemory.readbyterange(0x0000,2048)" to the script
  • Load a NES rom and start the script using the lua console
  • The error message mentioned above is shown in the lua console.

I provided a fix via a PR.

udoheld added a commit to udoheld/BizHawk that referenced this issue Jan 14, 2018

adelikat added a commit that referenced this issue Jan 14, 2018

Merge pull request #1095 from udoheld/master
Fix for #1094 lua mainmemory.readbyterange() issue

@udoheld udoheld changed the title Error limit error when using lua mainmemory.readbyterange() Limit error when using lua mainmemory.readbyterange() Jan 14, 2018

@udoheld udoheld closed this Jan 14, 2018

@YoshiRulz YoshiRulz added Support Topic-Lua and removed Support labels Feb 8, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.