Changeset 7eb8971 in buchla-emu
- Timestamp:
- 07/23/2017 10:48:38 AM (7 years ago)
- Branches:
- master
- Children:
- 2a75e87
- Parents:
- a23f3d9
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile
ra23f3d9 r7eb8971 17 17 18 18 ifeq ($(OS), Linux) 19 FLAGS_EMU += -D EMU_LINUX 19 20 FLAGS_LNK := $(FLAGS) -pthread -Wall -Wextra 20 21 LIBS := $(SDL2_LIB)/libSDL2.a \ … … 25 26 26 27 ifeq ($(OS), Darwin) 28 FLAGS_EMU += -D EMU_OS_X 27 29 FLAGS_LNK := $(FLAGS) -Wall -Wextra 28 30 LIBS := $(SDL2_LIB)/libSDL2.a \ -
emu/cpu.c
ra23f3d9 r7eb8971 620 620 621 621 bool run = true; 622 623 #if defined EMU_LINUX 622 624 SDL_Scancode down = SDL_SCANCODE_UNKNOWN; 625 #endif 623 626 624 627 while (run) { … … 631 634 632 635 while (SDL_PollEvent(&ev) > 0) { 636 #if defined EMU_LINUX 633 637 // Work around duplicate key-down events on Linux. 634 638 … … 643 647 down = SDL_SCANCODE_UNKNOWN; 644 648 } 649 #endif 645 650 646 651 if (ev.type == SDL_QUIT ||
Note:
See TracChangeset
for help on using the changeset viewer.