aboutsummaryrefslogtreecommitdiff
path: root/arm9/source/devices/file.h
Commit message (Collapse)AuthorAge
* Massive rewriteBen Bridle2025-09-19
| | | | | | | | | | | | | | | This commit rewrites the emulator halfway from scratch to make it easier to change and maintain in the future. The emulator core was rewritten to adhere to the released Bedrock specification (earlier versions implemented an older prototype specification, which is no longer relevant). This commit also adds proper support for running multiple concurrent Bedrock instances. This was previously supported in a limited manner for the on-screen keyboard, but now works for any regular program as well, with switching being performed by pressing the L or R bumper buttons. This is disabled by default, as programs will still need to be baked into the emulator and hand-loaded.
* Create intermediate parent directories when creating a new fileBen Bridle2024-12-16
|
* Hide the . and .. directories in file deviceBen Bridle2024-12-16
| | | | | | | The file device shows the special directories . and .. in every directory but the root directory. To hide these, in non-root directories, we reduce the reported number of child entries by 2, and when selecting a child entry we increment the pointer by 2.
* Implement file deviceBen Bridle2024-11-22
There is still a small amount of work to be done on the file device: - Read file size only when requested - Hide '.' and '..' directories - Resize files