- [NEW] Ja es pot especificar zoom i fullscreen seguint el standard Jailer
This commit is contained in:
16
main.cpp
16
main.cpp
@@ -24,7 +24,7 @@ int main(int argc, char *argv[])
|
||||
|
||||
SDL_Init(SDL_INIT_EVERYTHING);
|
||||
z80debug::show();
|
||||
zxscreen::show();
|
||||
zxscreen::init();
|
||||
|
||||
zx_ula::sound_init();
|
||||
|
||||
@@ -75,15 +75,19 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
} else {
|
||||
if (e.type == SDL_KEYDOWN) {
|
||||
if (e.key.keysym.scancode==SDL_SCANCODE_F8) {
|
||||
if (e.key.keysym.scancode==SDL_SCANCODE_F1) {
|
||||
zxscreen::decZoom();
|
||||
} else if (e.key.keysym.scancode==SDL_SCANCODE_F2) {
|
||||
zxscreen::incZoom();
|
||||
} else if (e.key.keysym.scancode==SDL_SCANCODE_F3) {
|
||||
zxscreen::toggleFullscreen();
|
||||
} else if (e.key.keysym.scancode==SDL_SCANCODE_F8) {
|
||||
z80debug::stop();
|
||||
zxscreen::redraw();
|
||||
}
|
||||
if (e.key.keysym.scancode==SDL_SCANCODE_F12) {
|
||||
} else if (e.key.keysym.scancode==SDL_SCANCODE_F12) {
|
||||
zx_tape::go_berserk();
|
||||
zx_tape::play();
|
||||
}
|
||||
if (e.key.keysym.scancode==SDL_SCANCODE_F11) {
|
||||
} else if (e.key.keysym.scancode==SDL_SCANCODE_F11) {
|
||||
zx_tape::rewind();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user