Skip to content

Commit

Permalink
fix some more bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
jjshoots committed Aug 3, 2024
1 parent 9dfe314 commit 3c9c8aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/environment/ale_state.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ void ALEState::setDifficultySwitches(Event* event, unsigned int value) {
}

void ALEState::applyActionJoysticks(Event* event,
int player_a_action, int player_b_action) {
int player_a_action, int player_b_action) {
// Reset keys
resetKeys(event);
switch (player_a_action) {
Expand Down
2 changes: 1 addition & 1 deletion src/environment/stella_environment_wrapper.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class StellaEnvironmentWrapper {
public:
StellaEnvironmentWrapper(StellaEnvironment& environment);
reward_t act(Action player_a_action, Action player_b_action,
float paddle_a_strength, float paddle_b_strength);
float paddle_a_strength = 1.0, float paddle_b_strength = 1.0);
void softReset();
void pressSelect(size_t num_steps = 1);
stella::Random& getEnvironmentRNG();
Expand Down

0 comments on commit 3c9c8aa

Please sign in to comment.