Skip to content

Commit 4b645cd

Browse files
QuzarDCQuzarDC
authored andcommitted
maple: Use maple_frame_lock correctly.
THis had been written with the previous behavior in mind.
1 parent 05aa1fa commit 4b645cd

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

kernel/arch/dreamcast/hardware/maple/maple_init_shutdown.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,7 @@ static void maple_dev_reset(maple_device_t *dev) {
5151
assert(dev != NULL);
5252

5353
/* Lock the frame */
54-
while(maple_frame_lock(&dev->frame) < 0)
55-
thd_pass();
54+
maple_frame_lock(&dev->frame);
5655

5756
/* Reset the frame */
5857
maple_frame_init(&dev->frame);

0 commit comments

Comments
 (0)