Skip to content

Commit

Permalink
some final cleanup before merge
Browse files Browse the repository at this point in the history
  • Loading branch information
TheIronWolfModding committed Sep 5, 2018
1 parent b354fd3 commit c8c77fa
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Include/rF2State.h
Original file line number Diff line number Diff line change
Expand Up @@ -800,7 +800,7 @@ struct rF2MultiRules : public rF2MappedBufferHeaderWithSize

struct rF2ForceFeedback : public rF2MappedBufferHeader
{
double mForceValue;
double mForceValue; // Current FFB value reported via InternalsPlugin::ForceFeedback.
};


Expand Down
2 changes: 1 addition & 1 deletion Monitor/rF2SMMonitor/rF2SMMonitor/rF2Data.cs
Original file line number Diff line number Diff line change
Expand Up @@ -774,7 +774,7 @@ public struct rF2ForceFeedback
public uint mVersionUpdateBegin; // Incremented right before buffer is written to.
public uint mVersionUpdateEnd; // Incremented after buffer write is done.

public double mForceValue;
public double mForceValue; // Current FFB value reported via InternalsPlugin::ForceFeedback.
}


Expand Down
1 change: 0 additions & 1 deletion Source/rFactor2SharedMemoryMap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -776,7 +776,6 @@ bool SharedMemoryPlugin::ForceFeedback(double& forceValue)
return false;

DEBUG_MSG(DebugLevel::Timing, "ForceFeedback - Invoked.");
DEBUG_FLOAT2(DebugLevel::Timing, "FFB:", forceValue);

// If I understand correctly, this is atomic operation. Since this is a single value buffer, no need to do anything else.
mForceFeedback.mpBuff->mForceValue = forceValue;
Expand Down

0 comments on commit c8c77fa

Please sign in to comment.