Skip to content

Commit

Permalink
Fix type inconsistency w/r/t fake_heap_end
Browse files Browse the repository at this point in the history
  • Loading branch information
TuxSH committed Mar 7, 2025
1 parent 4765db8 commit ff76c84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libctru/source/ndsp/ndsp.c
Original file line number Diff line number Diff line change
Expand Up @@ -500,8 +500,8 @@ static bool ndspFindAndLoadComponent(void)
rsrc = envGetHandle("hb:ndsp");
if (rsrc) do
{
extern u32 fake_heap_end;
u32 mapAddr = (fake_heap_end+0xFFF) &~ 0xFFF;
extern char* fake_heap_end;
u32 mapAddr = ((u32)fake_heap_end+0xFFF) &~ 0xFFF;
rc = svcMapMemoryBlock(rsrc, mapAddr, MEMPERM_READWRITE, MEMPERM_READWRITE);
if (R_FAILED(rc)) break;

Expand Down

0 comments on commit ff76c84

Please sign in to comment.