Commit graph

19 commits

Author SHA1 Message Date
Ilari Liusvaara
7e924d9c83 Be ready if some clown decides to change core frequencies 2011-10-20 17:42:29 +03:00
Ilari Liusvaara
78ea0a9d88 Use C++11 isms new in G++ 4.6. 2011-10-19 19:25:31 +03:00
Ilari Liusvaara
e28c2046e0 Fix all sorts of color fsckups from 16bit to 32bit change 2011-10-19 19:01:13 +03:00
Ilari Liusvaara
58d823d373 Cursor should be white, not usually yellow 2011-10-19 18:26:50 +03:00
Ilari Liusvaara
869cee64bc Fix wrong offsets in SDL code
This is fallout from 16 to 32 bit change.
2011-10-19 18:24:35 +03:00
Ilari Liusvaara
2ac0ca2413 Switch back to 32-bit colors
Now that bsnes core supports luma, 32-bit colors are needed to properly
reproduce the colors.
2011-10-19 13:59:54 +03:00
Ilari Liusvaara
cb4daf66e6 Fix drawing SDL area boundaries
When not in console mode, the code used 2 instead of screen height + 12
for minimum y coordinate for message are.
2011-10-08 23:21:19 +03:00
Ilari Liusvaara
3517ba2eee Move joystick axis manipulation from SDL to keymapper code
Joystick axis manipulation isn't really platform-dependent, so move it
from SDL platform code to keymapper code. Additionally, add command to
show all axes and parameters.
2011-10-02 22:40:58 +03:00
Ilari Liusvaara
bdd0a17bef All supported platforms support gettimeofday and usleep
Move to using gettimeofday and usleep instead of SDL time and delay
functions.
2011-10-02 19:05:45 +03:00
Ilari Liusvaara
99468dc616 Switch internally to 16-bit graphics instead of 32-bit 2011-09-26 23:35:13 +03:00
Ilari Liusvaara
9c3cdb57c5 Remove some unused defines 2011-09-26 19:09:37 +03:00
Ilari Liusvaara
f2550aebd5 Function comment cleanups 2011-09-26 19:02:43 +03:00
Ilari Liusvaara
847519c961 Use ld --wrap to intercept time() by bsnes core
This allows games using S-RTC to be rerecorded.
2011-09-25 02:13:50 +03:00
Ilari Liusvaara
b1295a3f11 Remove errant tab from joystick message 2011-09-23 22:46:33 +03:00
Ilari Liusvaara
f0c3f7b61c Use dedicated callbacks for mouse/close, not commands 2011-09-22 14:54:00 +03:00
Ilari Liusvaara
dfea0bce31 Work even if sound can't be initialized
If sound wasn't initialized, then the program tried to drop/dup samples
using increment 0 modulus 1, which causes instant lockup on first audio
sample. Fix the program to use increment 0 modulus 0 (which causes all
audio to be dropped) if audio can't be initialized.
2011-09-21 15:44:47 +03:00
Ilari Liusvaara
83db3a0834 Various fixups from trying to compile this for win32 2011-09-21 02:58:15 +03:00
Ilari Liusvaara
e96fadcd09 Print messages to console if SDL is not initialized 2011-09-19 22:37:16 +03:00
Ilari Liusvaara
89d511f321 Major source reorganization 2011-09-18 12:42:33 +03:00