summaryrefslogtreecommitdiff
path: root/src/devices/file_device
diff options
context:
space:
mode:
authorBen Bridle <bridle.benjamin@gmail.com>2024-04-22 11:34:25 +1200
committerBen Bridle <bridle.benjamin@gmail.com>2024-04-22 11:34:41 +1200
commit881c4f82f7d08180d805bae71e9c494775b07a24 (patch)
treeb25265fd83a5c458ad6d6264aa3961f36b56e2ce /src/devices/file_device
parent2adb82b9ddb3e753bc7f4ea6d22c332bc5d783a2 (diff)
downloadbedrock-pc-881c4f82f7d08180d805bae71e9c494775b07a24.zip
Fix memory device
There was confusion between the role of the page_limit variable in the memory device, where it was being used to mean both the absolute upper limit of pages that are allowed to be allocated, but also to mean the number of pages that the program would like to be allocated when needed. To fix this, the program is now just told the full number of pages that it is allowed to use, without first requiring that the program request a particular number of pages.
Diffstat (limited to 'src/devices/file_device')
0 files changed, 0 insertions, 0 deletions