Mercurial > sdl-ios-xcode
view src/hermes/README @ 1614:6162b8d921ce
Date: Wed, 29 Mar 2006 17:26:55 +0200 CEST
From: "Fran���is Revol"
Subject: [SDL] BeOS port fix: PrintScreen key crashing
It seems the latest SDL crashes when someone hits the PrtScrn key in
ZETA (BeOS R6), somewhere it gets a negative value as key code (or a
big unsigned maybe ?), and uses it as an index in the keysym table...
I'll investigate the cause for the negative value, but it's always
better to check for bounds correctly when indexing a table. The
attached diff fixes it.
Fran���is Revol
--
Software Architect
yellowTAB GmbH
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Fri, 31 Mar 2006 06:16:20 +0000 |
parents | 74212992fb08 |
children |
line wrap: on
line source
HERMES 1.2.4 (c)1998 Christian Nentwich (brn) (c.nentwich@cs.ucl.ac.uk) and quite a few assembler routines (c) Glenn Fielder (gaffer@gaffer.org) This library and all the files enclosed in this package are free software under the terms of the GNU Library General Public License (LGPL). Please refer to the included file COPYING.LIB for the exact terms. ---------------------------------------------------------------------------- This is a stripped down version of HERMES, including only the x86 assembler converters, for use with Simple DirectMedia Layer. The full HERMES library is available at: http://hermes.terminal.at/