diff options
| author | Hannes Schulze <haschu0103@outlook.de> | 2025-02-01 23:32:55 +0100 |
|---|---|---|
| committer | Hannes Schulze <haschu0103@outlook.de> | 2025-02-01 23:32:55 +0100 |
| commit | 8062afc25e895cb49e76f6e26e51a7d4a1ad2df2 (patch) | |
| tree | f64e6522a84a8f58912b9e58a66c187fbcaadd78 /lib/nes/app/application.cc | |
| parent | bf88e17d552d85cd18bc31757ef9d73049b327c4 (diff) | |
revamp input system
Diffstat (limited to 'lib/nes/app/application.cc')
| -rw-r--r-- | lib/nes/app/application.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/nes/app/application.cc b/lib/nes/app/application.cc index 264e07a..b18e6d6 100644 --- a/lib/nes/app/application.cc +++ b/lib/nes/app/application.cc @@ -43,8 +43,8 @@ namespace nes::app if (console_) { - console_->ref_controller_1().set_pressed(input_manager_.get_input_1().read_mask()); - console_->ref_controller_2().set_pressed(input_manager_.get_input_2().read_mask()); + console_->ref_controller_1().set_pressed(input_manager_.get_input_1().read_buttons()); + console_->ref_controller_2().set_pressed(input_manager_.get_input_2().read_buttons()); // The scene is rendered by the console after the PPU requests a new frame (thus calling // display_proxy::switch_buffers). |
