Usando this en todas partes :p

This commit is contained in:
2025-06-23 21:35:12 -04:00
parent b0d8e6135d
commit ae863ee4e9
16 changed files with 332 additions and 221 deletions

View File

@@ -10,6 +10,7 @@ class Machine {
std::shared_ptr<MachineState> machine_state;
std::unique_ptr<Interpreter> interpreter;
std::unique_ptr<Graphics> graphics;
std::unique_ptr<Chip8Display> chip8_display;
int ips;
@@ -21,7 +22,7 @@ void execute_interpreter();
public:
Machine();
void iterate();
static bool on_event(const SDL_Event* event);
bool on_event(const SDL_Event* event) const;
};
#endif //MACHINE_H