Skip to content

Commit 923d0ff

Browse files
authored
Aligned comment with code, i hate non-fancy shit
1 parent e7bd610 commit 923d0ff

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/loader.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -176,11 +176,11 @@ VPADRead(0, &vpad_data, 1, &error);
176176

177177
if (vpad_data.btn_hold & BUTTON_A) { // Press A
178178

179-
/* Clean up the heap and driver list so we can exit */
179+
/* Clean up the heap and driver list so we can exit */
180180
kern_write((void*)(KERN_HEAP + STARTID_OFFSET), 0);
181181
kern_write((void*)KERN_DRVPTR, drvhax[0x48/4]);
182182

183-
/* Modify the kernel address table and exit */
183+
/* Modify the kernel address table and exit */
184184
kern_write(KERN_ADDRESS_TBL + 0x12, 0x10000000);
185185
kern_write(KERN_ADDRESS_TBL + 0x13, 0x28305800);
186186

@@ -191,11 +191,11 @@ VPADRead(0, &vpad_data, 1, &error);
191191

192192
if (vpad_data.btn_hold & BUTTON_B) { // Press B
193193

194-
/* Clean up the heap and driver list so we can exit */
194+
/* Clean up the heap and driver list so we can exit */
195195
kern_write((void*)(KERN_HEAP + STARTID_OFFSET), 0);
196196
kern_write((void*)KERN_DRVPTR, drvhax[0x48/4]);
197197

198-
/* Modify the kernel address table and exit */
198+
/* Modify the kernel address table and exit */
199199
kern_write(KERN_ADDRESS_TBL + 0x12, 0x31000000);
200200
kern_write(KERN_ADDRESS_TBL + 0x13, 0x28305800);
201201

@@ -354,4 +354,4 @@ void initScreen() {
354354
fillScreen(0,0,0,0);
355355
flipBuffers();
356356
}
357-
}
357+
}

0 commit comments

Comments
 (0)