- [FIX] posible leak al carregar el bmp de la font
- [FIX] arreglats un milló de warnings
This commit is contained in:
+2
-1
@@ -26,13 +26,14 @@ int main(int argc, char *argv[]) {
|
||||
wait = 16;
|
||||
if (atari2600::is_paused()) SDL_WaitEventTimeout(NULL, 1000);
|
||||
while (SDL_PollEvent(&e)) {
|
||||
bool result = true;
|
||||
//bool result = true;
|
||||
|
||||
if (e.type == SDL_EVENT_QUIT) { atari2600::quit(); break; }
|
||||
if (e.type == SDL_EVENT_KEY_DOWN) {
|
||||
if (atari2600::is_paused()) {
|
||||
switch (e.key.scancode) {
|
||||
case SDL_SCANCODE_F10: atari2600::step(); m6502debugger::refresh(); break;
|
||||
default: break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user