Skip to content

Commit

Permalink
fix 3ds compilations
Browse files Browse the repository at this point in the history
  • Loading branch information
TurtleP committed Nov 11, 2022
1 parent 6e93dfc commit 4d5c704
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 2 additions & 0 deletions platform/ctr/include/modules/window_ext.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ namespace love
class Window<Console::CTR> : public Window<Console::ALL>
{
public:
Window();

virtual ~Window();

void SetGraphics(Graphics<Console::CTR>* graphics)
Expand Down
2 changes: 1 addition & 1 deletion platform/ctr/source/modules/window_ext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Window<Console::CTR>::~Window()
this->Close();

this->SetDisplaySleepEnabled(this->sleepAllowed);
spt this->graphics.Set(nullptr);
this->graphics.Set(nullptr);
}

bool Window<Console::CTR>::SetWindow(int width, int height, WindowSettings* settings)
Expand Down
2 changes: 0 additions & 2 deletions source/utilities/pool/vibrations.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,6 @@ bool VibrationPool::ReleaseVibration(::Vibration* vibration)
if (this->FindVibration(vibration, index))
{
this->available.push(index);

LOG("Stopping: %d", vibration->Stop());
this->vibrating.erase(vibration);

return true;
Expand Down

0 comments on commit 4d5c704

Please sign in to comment.