rofl0r
9d9df72c2a
a2091.c: export some functions which are now used from cdtv.c
2014-03-23 03:01:29 +01:00
Mustafa Tufan
30865290f9
2.7.1b11
2014-03-19 16:44:31 +02:00
Mustafa TUFAN
428ab282e0
Merge pull request #42 from rofl0r/fix_mtim
...
fix issue with 0S X lacking st_mtim
2014-03-06 21:22:44 +02:00
rofl0r
9d8f7e914c
fix issue with 0S X lacking st_mtim
...
POSIX 2008+ says that struct stat contains a member st_mtim.
OS X blatantly ignores that.
the struct is called st_mtimespec there, but it gets undefined when
_POSIX_C_SOURCE is set, so we must additionally set _DARWIN_C_SOURCE
to get it back.
2014-03-06 16:19:31 +01:00
Mustafa Tufan
861101c5c5
2.7.1b10
2014-03-06 14:00:28 +02:00
Mustafa Tufan
8ad39419d9
2.7.1b10
2014-03-06 13:59:37 +02:00
Mustafa TUFAN
4fca5e70cf
Merge pull request #41 from rofl0r/fix_warnings
...
Fix warnings and switch uaecptr to always be 32bit
2014-03-06 08:38:45 +02:00
rofl0r
2bb1bb228e
fix all format specificier warnings
...
most of them are caused from the switch to make uaecptr always 32 bit.
2014-03-05 22:16:55 +01:00
rofl0r
8cf3ca7e87
disk.c: fix statement with no effect
2014-03-05 22:14:50 +01:00
rofl0r
6e9d4400e8
enforcer.c: use m68k_getpc() instead of pointer truncation
...
fix as advised by Toni Wilen in
https://github.com/tonioni/WinUAE/pull/5
2014-03-05 22:12:21 +01:00
rofl0r
d829a8dc43
make uaecptr 32bit even on 64bit archs
...
this type is only used to point into the amiga memory.
see https://github.com/tonioni/WinUAE/pull/5 for more information.
additionally we make the 64bit types always typedef'd to long long,
where possible (lack of long long is only possible on broken pre-
C99 compilers), this has the advantage that we can always use the "ll"
format specifier when dealing with those types, which would result in
warnings if the implementation typedefs int64_t from stdint to long
on 64bit archs (which is the case for typical linux gcc setups).
2014-03-05 22:06:26 +01:00
rofl0r
e7839fc445
include unistd.h where needed
...
close, read, sync, ftruncate, alarm, etc etc
2014-03-05 22:05:21 +01:00
rofl0r
d7237c02f6
qemuuaeglue.h: fix forward declaration of struct CirrusVGAState
2014-03-05 22:00:11 +01:00
rofl0r
2a994c3d08
qemuuaeglue.h: fix problem when compiled with gcc 4.5.4
2014-03-05 21:23:33 +01:00
Mustafa Tufan
fc443a35ff
2.7.1b10
2014-03-05 10:13:04 +02:00
Mustafa Tufan
9c65acc617
2.7.1b9
2014-02-27 20:59:23 +02:00
Mustafa Tufan
8713b5a5ce
2.7.1b9
2014-02-22 22:23:40 +02:00
Mustafa Tufan
9ad9fc0baa
2.7.1b8
2014-02-22 13:24:47 +02:00
Mustafa TUFAN
2dcfa6672e
Merge pull request #39 from rofl0r/fix270b8
...
fixes 270b8, from rofl0r
2014-02-22 08:32:36 +02:00
rofl0r
b89a090578
add build script for linux with sdl-gui
2014-02-22 00:06:50 +01:00
rofl0r
deff5cabd4
fix INLINE related breakage from new dms C files
...
short version: inline on its own doesn't make sense - how can
you export a function and at the same time inline it ?
thus use static inline.
also reorder the code so the bogus forward declarations are not
needed anymore.
2014-02-21 23:56:18 +01:00
rofl0r
8e3ffa1548
md-x86-gcc/support.c: fix omitted variable declaration
...
it's quite strange that this didnt cause a build error before...
2014-02-21 23:54:22 +01:00
Mustafa Tufan
53188444cd
2.7.1b8 sdl2fix
2014-02-17 13:40:17 +02:00
Mustafa Tufan
7098dcc769
2.7.1b8
2014-02-17 13:36:20 +02:00
Mustafa Tufan
3766cac47f
2.7.1b8
2014-02-17 13:35:18 +02:00
Mustafa Tufan
8d0e364312
2.7.1b7
2014-02-09 17:54:14 +02:00
Mustafa Tufan
0ac54c6934
2.7.1b7
2014-02-09 17:52:58 +02:00
Mustafa Tufan
a988ca0541
PNaCl
2014-02-06 02:05:25 +02:00
Mustafa Tufan
1574c898ee
PNaCl
2014-02-06 02:04:12 +02:00
Mustafa Tufan
f4fa9b5d40
2.7.1b5
2014-02-03 14:25:54 +02:00
Mustafa Tufan
8bd283cdd8
2.7.1b5
2014-02-03 14:25:07 +02:00
Mustafa Tufan
c9a04859f5
2.7.1b4 fixes
2014-01-31 11:26:27 +02:00
Mustafa TUFAN
8e04be11a6
Merge pull request #38 from rofl0r/linux_i386
...
Linux i386
2014-01-30 21:43:58 -08:00
rofl0r
1a3d2fb59b
qemuuaeglue.h: fix problem when compiled with gcc 4.5.4
2014-01-30 23:56:45 +01:00
rofl0r
c0376a8f52
configure: __x86_64__ is set automatically by the compiler
...
if we let configure add this when it (erroneously) detects amd64
(due to a 32bit-crosscompiler build on a 64 bit kernel), we break
the 32bit build.
2014-01-30 23:53:08 +01:00
rofl0r
fbfef8385c
make md-amd64-gcc & md-i386-gcc symlinks to x86
2014-01-30 23:50:05 +01:00
rofl0r
ce51f99dc8
add a new generic x86 machdep directory
...
this merges i386 and x86_64 into a single dir.
the few differences use #ifdef __x86_64__.
2014-01-30 23:45:47 +01:00
Mustafa Tufan
ba2582df1e
2.7.1b4 fixes
2014-01-29 10:46:14 +02:00
Mustafa Tufan
a7b6e0d3fd
2.7.1b4 fixes
2014-01-29 10:46:01 +02:00
Mustafa TUFAN
5a09cb387c
Merge pull request #37 from rofl0r/sdl-gui-rebased-on-master
...
make sdl gui usable
2014-01-28 22:37:33 -08:00
rofl0r
bd6ff5264f
gui-sdl: set proper keyrepeat while in menu
2014-01-29 01:15:35 +01:00
rofl0r
c3519a60f0
gui-sdl: major functionality enhancement
...
- implement loading/saving of savestates (storage menu)
- add possibility to enter fullscreen with ALT-Enter (only from menu)
- implement preferences for floppy speed, sound, RAM, etc
- fix buffer overblows in dirz() with filenames > 64
- only redraw menu when necessary. reduces cpu load from 100% to 2%
while menu is open.
2014-01-29 01:15:34 +01:00
rofl0r
2d875ff59d
gui-sdl: save and restore amiga screen contents upon entering menu
2014-01-29 01:15:34 +01:00
rofl0r
e417443ddb
gui-sdl: introduce menu_load_surface and menu_restore_surface
...
that way the surfaces dont have to be created all over again
and again... and they weren't even freed -> memleaks en masse.
2014-01-29 01:15:34 +01:00
rofl0r
66d536a01e
gui-sdl: write_text: use beginning and end of too long strings
...
previously it just wrote outside the screen buffer when encountering
a long filename.
now the first and last 20 bytes are taken and the middle part replaced
with "...". this allows to see the file extension and disk number,
which is usually at the end, as well as the first part of the game
name.
2014-01-29 01:15:34 +01:00
rofl0r
41f3298233
gui-sdl: use SDL_DisplayFormat to create surface with copied attrs
2014-01-29 01:15:34 +01:00
rofl0r
031cd0ee87
gui-sdl: make write_text take const char*, and use header decl
2014-01-29 01:15:34 +01:00
rofl0r
f616afc401
gui-sdl: fix improper usage of SDL_Quit
...
actually using it is not even needed, as it's added to atexit()
handlers in main.c.
2014-01-29 01:15:34 +01:00
rofl0r
2faa9227ea
gui-sdl: fix fugly green non-transparent mousecursor bg
2014-01-29 01:15:34 +01:00
rofl0r
48b3129f4d
gui-sdl: fix unrepainted mousecursor trash outside the menu window
...
we simply dont allow it anymore to be moved outside the menu.
2014-01-29 01:15:34 +01:00