SCI: Add some fixmes noted by salty-horse.
svn-id: r44513
This commit is contained in:
parent
5a8b81119b
commit
7d6848dfa3
2 changed files with 4 additions and 1 deletions
|
@ -2719,7 +2719,9 @@ bool Console::cmdAddresses(int argc, const char **argv) {
|
|||
return true;
|
||||
}
|
||||
|
||||
int parse_reg_t(EngineState *s, const char *str, reg_t *dest) { // Returns 0 on success
|
||||
// Returns 0 on success
|
||||
int parse_reg_t(EngineState *s, const char *str, reg_t *dest) {
|
||||
// FIXME: Stop this function from changing str.
|
||||
int rel_offsetting = 0;
|
||||
const char *offsetting = NULL;
|
||||
// Non-NULL: Parse end of string for relative offsets
|
||||
|
|
|
@ -565,6 +565,7 @@ static void ami_event(sfx_softseq_t *self, byte command, int argc, byte *argv) {
|
|||
void ami_poll(sfx_softseq_t *self, byte *dest, int len) {
|
||||
int i, j;
|
||||
int16 *buf = (int16 *) dest;
|
||||
// FIXME: memleak
|
||||
int16 *buffers = (int16*)malloc(len * 2 * CHANNELS_NR);
|
||||
|
||||
memset(buffers, 0, len * 2 * CHANNELS_NR);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue