mirror of
https://github.com/libretro/RetroArch
synced 2025-02-27 18:41:01 +00:00
Build fixes.
This commit is contained in:
parent
d0a4102efa
commit
c5f825eaa5
2
Makefile
2
Makefile
@ -2,7 +2,7 @@ include config.mk
|
|||||||
|
|
||||||
TARGET = ssnes tools/ssnes-joyconfig
|
TARGET = ssnes tools/ssnes-joyconfig
|
||||||
|
|
||||||
OBJ = ssnes.o file.o driver.o settings.o dynamic.o message.o
|
OBJ = ssnes.o file.o driver.o settings.o dynamic.o message.o rewind.o
|
||||||
JOYCONFIG_OBJ = tools/ssnes-joyconfig.o conf/config_file.o
|
JOYCONFIG_OBJ = tools/ssnes-joyconfig.o conf/config_file.o
|
||||||
HEADERS = $(wildcard */*.h) $(wildcard *.h)
|
HEADERS = $(wildcard */*.h) $(wildcard *.h)
|
||||||
|
|
||||||
|
5
rewind.c
5
rewind.c
@ -86,7 +86,6 @@ bool state_manager_pop(state_manager_t *state, void **data)
|
|||||||
if (state->top_ptr == state->bottom_ptr) // Our stack is completely empty... :v
|
if (state->top_ptr == state->bottom_ptr) // Our stack is completely empty... :v
|
||||||
{
|
{
|
||||||
state->top_ptr = (state->top_ptr + 1) % state->buf_size;
|
state->top_ptr = (state->top_ptr + 1) % state->buf_size;
|
||||||
print_status(state);
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -106,11 +105,9 @@ bool state_manager_pop(state_manager_t *state, void **data)
|
|||||||
if (state->top_ptr == state->bottom_ptr) // Our stack is completely empty... :v
|
if (state->top_ptr == state->bottom_ptr) // Our stack is completely empty... :v
|
||||||
{
|
{
|
||||||
state->top_ptr = (state->top_ptr + 1) % state->buf_size;
|
state->top_ptr = (state->top_ptr + 1) % state->buf_size;
|
||||||
print_status(state);
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
print_status(state);
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -158,8 +155,6 @@ bool state_manager_push(state_manager_t *state, const void *data, bool aligned)
|
|||||||
generate_delta(state, data, aligned);
|
generate_delta(state, data, aligned);
|
||||||
memcpy(state->tmp_state, data, state->state_size * sizeof(uint32_t));
|
memcpy(state->tmp_state, data, state->state_size * sizeof(uint32_t));
|
||||||
|
|
||||||
print_status(state);
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user