Gwenhael Le Moine
dfefc58d07
clean up and comment
2024-08-13 20:54:16 +02:00
Gwenhael Le Moine
0653be5951
more or less revert 247d0cc
, don't have the energy to chase this weird bug where in x11 and sdl pressing F7 to exit needs an extra key to be pressed to actually work. please_exit
code is just commented away to maybe come back to it later on.
2024-08-13 20:50:54 +02:00
Gwenhael Le Moine
ed04ae3a7a
[ui_x11] inlining pick_visual_of_class and id_to_visual breaks compilation with -flto
...
fixes #24
2024-08-13 20:25:04 +02:00
Lucio Sauer
ad6539edf6
Makefile: install uncompressed manpage
...
https://cmpct.info/~sam/blog/posts/automatic-manpage-compression/
2024-08-12 23:37:55 +02:00
Lucio Sauer
3551e2208d
Makefile: respect user PKG_CONFIG
2024-08-12 23:37:53 +02:00
Lucio Sauer
c79de1011f
Makefile: run silently even when ROMs to delete don't exist
2024-08-12 23:37:12 +02:00
Lucio Sauer
541c1ca04f
Makefile respect user LDFLAGS
2024-08-12 23:37:12 +02:00
Lucio Sauer
cf62efc2ce
Makefile: respect user CPPFLAGS
2024-08-12 23:37:12 +02:00
Lucio Sauer
71acf45a04
Makefile: allow user CFLAGS to override out warning flags
...
The cc-option filters out unknown flags which make the compiler error
out.
Note that Clang enables Wunused-command-line-argument by default and
merely emits a warning but incurs no error, when it encounters such a
flag. GCC on the other hand exits unsuccessfully when it is passed a
flag of the form -Wunknown-warning, but no diagnostic is produced for
-Wno-unknown-warning unless other diagnostics are produced.
2024-08-12 23:37:11 +02:00
Lucio Sauer
ed745f139f
Makefile: remove duplicate default CC
2024-08-12 12:47:49 +02:00
Gwenhael Le Moine
249d50c44c
append to CFLAGS
2024-08-12 09:28:31 +02:00
Gwenhael Le Moine
bcce438a44
add an explanation and a chance to wuit before downloading ROMs
2024-08-11 14:00:46 +02:00
Gwenhael Le Moine
24f5200322
don't repeat ~/
2024-08-11 13:51:35 +02:00
Gwenhael Le Moine
f1b08f7b40
symlink rom instead of copying it
2024-08-11 13:49:29 +02:00
Gwenhael Le Moine
624d4e9f5d
Don't fetch ROMs during install
2024-08-11 13:44:40 +02:00
Gwenhael Le Moine
6271bc7daf
remove actual ROMs from repo, rework setup script accordingly
2024-08-11 13:40:32 +02:00
Gwenhael Le Moine
c72a393498
pixel contrast in mono
2024-06-13 16:54:59 +02:00
Gwenhael Le Moine
14fd31d13c
variables declaration style
2024-06-13 16:43:08 +02:00
Gwenhael Le Moine
60d08c61d5
one less variable
2024-06-13 16:34:43 +02:00
Gwenhael Le Moine
554aa45b84
naming
2024-06-13 16:29:45 +02:00
Gwenhael Le Moine
d9423cbfe3
use less global variables
2024-06-12 15:23:08 +02:00
Gwenhael Le Moine
835a88eba7
[ui_sdl] remove mouse motion event handling
2024-06-12 14:23:55 +02:00
Gwenhael Le Moine
7700923cae
[ui_sdl] use COLORS
2024-06-12 14:04:32 +02:00
Gwenhael Le Moine
1d7d9969cd
remove useless zero-ing
2024-06-12 13:49:29 +02:00
Gwenhael Le Moine
1eb4ac580f
factorize using opt_gx and sdl surfaces on/off
2024-06-12 13:40:53 +02:00
Gwenhael Le Moine
3f32b34947
functions naming and cleaning
2024-06-12 13:21:41 +02:00
Gwenhael Le Moine
4810c2fc5f
[ui_sdl] tweaks
2024-06-12 12:56:52 +02:00
Gwenhael Le Moine
d3e4b33953
factorize annunciators among all UIs
2024-06-12 12:49:59 +02:00
Gwenhael Le Moine
8c4d5c5a9d
simplify sdl buttons
2024-06-12 12:40:33 +02:00
Gwenhael Le Moine
5be8dc8280
factorize buttons among all UIs
2024-06-12 12:37:14 +02:00
Gwenhael Le Moine
2077502bbe
[sdl] keypad isn't useful
2024-06-12 11:11:50 +02:00
Gwenhael Le Moine
37eca78404
[colors] factorize colors among all 3 UIs
2024-06-12 10:53:03 +02:00
Gwenhael Le Moine
3825c5e563
[ui_sdl] understand --mono and --gray + misc tweaks
2024-06-12 10:12:00 +02:00
Gwenhael Le Moine
dc6fc8765a
no need to force inline
2024-06-12 09:14:54 +02:00
Gwenhael Le Moine
9a85ee3121
inline what can be into step_instruction()
2024-06-11 16:19:59 +02:00
Gwenhael Le Moine
ad19c1b558
cleaning global variables use in emu_emulate.c
2024-06-11 15:53:58 +02:00
Gwenhael Le Moine
8454ec1ce5
[step_instruction] clean up use of variables
2024-06-11 13:58:00 +02:00
Gwenhael Le Moine
584f93fae8
cleaning
2024-06-11 13:35:43 +02:00
Gwenhael Le Moine
6e854e9ccd
merge logical sub-functions _step_instruction_*() into step_instruction()
2024-06-11 13:11:03 +02:00
Gwenhael Le Moine
d26eeebbc7
use bool and step_instruction doesn't need to return anything
2024-06-11 12:33:35 +02:00
Gwenhael Le Moine
0839613c67
remove commented code
2024-06-11 12:26:01 +02:00
Gwenhael Le Moine
0e26e0b9b4
bump patchlevel
2024-06-11 12:14:51 +02:00
Gwenhael Le Moine
875a94ff14
[emulate] eliminate jumpaddr global variable
2024-06-11 12:14:23 +02:00
Gwenhael Le Moine
964f34a92a
[ui_text] increasing order
2024-06-11 09:45:03 +02:00
Gwenhael Le Moine
79e14e1990
define number of fields
2024-06-05 15:05:50 +02:00
Gwenhael Le Moine
1bed76e9ce
moveing code
2024-06-05 14:36:19 +02:00
Gwenhael Le Moine
1a18c8a201
define in its place
2024-06-05 14:20:39 +02:00
Gwenhael Le Moine
d2dcfa167e
simplify saturn.keybuf
2024-06-05 14:08:10 +02:00
Gwenhael Le Moine
aeb3822b86
small optimization in main loop
2024-06-05 14:07:47 +02:00
Gwenhael Le Moine
83296ffbe9
[ui_sdl] named fields in structs
2024-05-23 16:50:58 +02:00