| Summary: | [PATCH] riscos: Clean up SWI calls | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Cameron Cawley <ccawley2011> |
| Component: | *don't know* | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | HG 1.2 | ||
| Hardware: | ARM | ||
| OS: | RISC OS | ||
| Bug Depends on: | |||
| Bug Blocks: | 4654 | ||
| Attachments: | riscos: Clean up SWI calls | ||
Patch added! https://hg.libsdl.org/SDL/rev/c47cdc60c1b3 |
Created attachment 3765 [details] riscos: Clean up SWI calls The main thing this patch does is it changes all OS_Byte and OS_Word calls to use _kernel_osbyte and _kernel_osword from the system headers. This should provide a minor optimization since it avoids having to call the SWIs via OS_CallASWIR12. Both functions are already used elsewhere in SDL, so this change shouldn't be a big deal. It also uses the proper names for OS_ReadPalette and Joystick_Read.