Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
TurtleP committed Jun 8, 2023
2 parents 32b5b6d + a67a649 commit 5dbcab7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions platform/3ds/source/objects/source.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ void Source::PrepareAtomic()
{
case TYPE_STATIC:
this->sources[0].data_pcm16 = (s16*)this->staticBuffer->GetBuffer();
this->sources[0].looping = this->looping;
DSP_FlushDataCache(this->sources[0].data_pcm16, this->staticBuffer->GetSize());
break;
case TYPE_STREAM:
Expand Down
2 changes: 1 addition & 1 deletion platform/3ds/source/objects/thread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ bool love::Thread::Start()
s32 priority = love::common::Thread::GetCurrentThreadPriority();

/* do not detach because otherwise it cannot be freed or joined */
this->thread = threadCreate(Runner, this, Thread::STACK_SIZE, priority - 1, 1, false);
this->thread = threadCreate(Runner, this, Thread::STACK_SIZE, priority - 1, 0, false);

this->running = (this->thread != nullptr);

Expand Down

0 comments on commit 5dbcab7

Please sign in to comment.