Skip to content

Commit e64a109

Browse files
Update migrate.mdx
1 parent 803a15d commit e64a109

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/content/docs/hh3/getting-started/migrate.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ If your app loads into VRAM:
242242
* **Alignment**: File path buffers passed to SDK functions (like `File_FindFirst`) MUST be 4-byte aligned on SuperH. Use `__attribute__((aligned(4)))`.
243243
* **Structs**: `File_FindInfo` uses scoped enums like `File_FindInfo::EntryTypeDirectory` (or just `EntryTypeDirectory` depending on SDK version/macros). Check scoping.
244244

245-
## Input
245+
### Input
246246
* **Polling**: Use `GetInput` instead of `GetKey`.
247247
* **Struct**: `struct Input_Event` MUST be 4-byte aligned. Use `__attribute__((aligned(4)))`. Misalignment causes crashes (address error) at runtime.
248248
* **Keycodes**: Use `KEYCODE_*` enums.

0 commit comments

Comments
 (0)