Changeset 7eb8971 in buchla-emu


Ignore:
Timestamp:
07/23/2017 10:48:38 AM (7 years ago)
Author:
Thomas Lopatic <thomas@…>
Branches:
master
Children:
2a75e87
Parents:
a23f3d9
Message:

Don't use Linux fix on OS X.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    ra23f3d9 r7eb8971  
    1717
    1818ifeq ($(OS), Linux)
     19FLAGS_EMU +=    -D EMU_LINUX
    1920FLAGS_LNK :=    $(FLAGS) -pthread -Wall -Wextra
    2021LIBS :=                 $(SDL2_LIB)/libSDL2.a \
     
    2526
    2627ifeq ($(OS), Darwin)
     28FLAGS_EMU +=    -D EMU_OS_X
    2729FLAGS_LNK :=    $(FLAGS) -Wall -Wextra
    2830LIBS :=                 $(SDL2_LIB)/libSDL2.a \
  • emu/cpu.c

    ra23f3d9 r7eb8971  
    620620
    621621        bool run = true;
     622
     623#if defined EMU_LINUX
    622624        SDL_Scancode down = SDL_SCANCODE_UNKNOWN;
     625#endif
    623626
    624627        while (run) {
     
    631634
    632635                while (SDL_PollEvent(&ev) > 0) {
     636#if defined EMU_LINUX
    633637                        // Work around duplicate key-down events on Linux.
    634638
     
    643647                                down = SDL_SCANCODE_UNKNOWN;
    644648                        }
     649#endif
    645650
    646651                        if (ev.type == SDL_QUIT ||
Note: See TracChangeset for help on using the changeset viewer.