Many console ports done by teams in India start the same way: a mobile or PC game that works well, a publisher or platform deal that suddenly makes consoles possible, and a codebase where save files, achievements and controller input are called directly from gameplay code in dozens of places. The first weeks of the port then go into hunting down those calls instead of making the game run well on new hardware.
A thin platform abstraction layer, written before the port starts, fixes most of that. Here's how I'd set one up for saves, achievements and input, without touching any console SDK details (those stay under each platform holder's NDA).
1. Find every platform call first
Before writing an interface, list what you actually call today.…