Minor stylistic changes.

This commit is contained in:
LT-Schmiddy 2024-11-24 18:37:03 -05:00
parent 50d2a2ac51
commit 869f3d19d4
6 changed files with 4 additions and 4 deletions

View File

@ -73,7 +73,7 @@
</panel> </panel>
</tabset> </tabset>
<div class="config__icon-buttons"> <div class="config__icon-buttons">
<button <button
class="icon-button" class="icon-button"
onclick="open_reset_game_prompt" onclick="open_reset_game_prompt"
id="config__reset_game-button" id="config__reset_game-button"

View File

@ -6,7 +6,7 @@ namespace zelda64 {
//void quicksave_save(); //void quicksave_save();
//void quicksave_load(); //void quicksave_load();
void enqueue_game_reset(); void trigger_game_reset();
}; };
#endif #endif

View File

@ -17,7 +17,7 @@
static std::atomic<uint8_t> should_game_reset = 0x00; static std::atomic<uint8_t> should_game_reset = 0x00;
void zelda64::enqueue_game_reset() { void zelda64::trigger_game_reset() {
should_game_reset.store(0x01); should_game_reset.store(0x01);
} }

View File

@ -287,7 +287,7 @@ void zelda64::open_reset_game_prompt() {
"Quit", "Quit",
"Cancel", "Cancel",
[]() { []() {
zelda64::enqueue_game_reset(); zelda64::trigger_game_reset();
close_config_menu(); close_config_menu();
}, },
[]() {}, []() {},