mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-14 19:10:25 +00:00
Filename & line number args cleanup (#1891)
* Filename & line number args cleanup * Use int for line number args over s32/u32 * Add missing const qualifiers from filename args * Fix gcc warning in game.c * Add comment to weird assignments in GameState_Init
This commit is contained in:
parent
a32221c36e
commit
dcf61174e9
17 changed files with 76 additions and 73 deletions
|
@ -598,7 +598,7 @@ void DmaMgr_Init(void) {
|
|||
* @see DmaMgr_RequestAsync
|
||||
*/
|
||||
s32 DmaMgr_RequestAsyncDebug(DmaRequest* req, void* ram, uintptr_t vrom, size_t size, u32 unk5, OSMesgQueue* queue,
|
||||
OSMesg msg, const char* file, s32 line) {
|
||||
OSMesg msg, const char* file, int line) {
|
||||
req->filename = file;
|
||||
req->line = line;
|
||||
return DmaMgr_RequestAsync(req, ram, vrom, size, unk5, queue, msg);
|
||||
|
@ -609,7 +609,7 @@ s32 DmaMgr_RequestAsyncDebug(DmaRequest* req, void* ram, uintptr_t vrom, size_t
|
|||
*
|
||||
* @see DmaMgr_RequestSync
|
||||
*/
|
||||
s32 DmaMgr_RequestSyncDebug(void* ram, uintptr_t vrom, size_t size, const char* file, s32 line) {
|
||||
s32 DmaMgr_RequestSyncDebug(void* ram, uintptr_t vrom, size_t size, const char* file, int line) {
|
||||
DmaRequest req;
|
||||
s32 ret;
|
||||
OSMesgQueue queue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue