mirror of
https://github.com/libretro/RetroArch
synced 2025-04-11 00:44:20 +00:00
Revert "Cleanups - remove/silence warnings"
This reverts commit cf04a2c0fe41b4c8428f0103a4f6e6b41270be1b.
This commit is contained in:
parent
1257a10686
commit
6cc5c414da
@ -581,7 +581,7 @@ static void retropad_update_input(void)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void netretropad_open_udp_socket(void)
|
static void open_UDP_socket()
|
||||||
{
|
{
|
||||||
socket_target_t in_target;
|
socket_target_t in_target;
|
||||||
|
|
||||||
@ -702,7 +702,7 @@ void NETRETROPAD_CORE_PREFIX(retro_set_video_refresh)(retro_video_refresh_t cb)
|
|||||||
void NETRETROPAD_CORE_PREFIX(retro_reset)(void)
|
void NETRETROPAD_CORE_PREFIX(retro_reset)(void)
|
||||||
{
|
{
|
||||||
netretropad_check_variables();
|
netretropad_check_variables();
|
||||||
netretropad_open_udp_socket();
|
open_UDP_socket();
|
||||||
}
|
}
|
||||||
|
|
||||||
void NETRETROPAD_CORE_PREFIX(retro_run)(void)
|
void NETRETROPAD_CORE_PREFIX(retro_run)(void)
|
||||||
@ -985,7 +985,7 @@ void NETRETROPAD_CORE_PREFIX(retro_run)(void)
|
|||||||
bool NETRETROPAD_CORE_PREFIX(retro_load_game)(const struct retro_game_info *info)
|
bool NETRETROPAD_CORE_PREFIX(retro_load_game)(const struct retro_game_info *info)
|
||||||
{
|
{
|
||||||
netretropad_check_variables();
|
netretropad_check_variables();
|
||||||
netretropad_open_udp_socket();
|
open_UDP_socket();
|
||||||
|
|
||||||
/* If a .ratst file is given (only possible via command line),
|
/* If a .ratst file is given (only possible via command line),
|
||||||
* initialize test sequence. */
|
* initialize test sequence. */
|
||||||
|
16
deps/glslang/glslang/glslang/Include/PoolAlloc.h
vendored
16
deps/glslang/glslang/glslang/Include/PoolAlloc.h
vendored
@ -63,6 +63,22 @@
|
|||||||
|
|
||||||
namespace glslang {
|
namespace glslang {
|
||||||
|
|
||||||
|
// If we are using guard blocks, we must track each individual
|
||||||
|
// allocation. If we aren't using guard blocks, these
|
||||||
|
// never get instantiated, so won't have any impact.
|
||||||
|
//
|
||||||
|
|
||||||
|
class TAllocation {
|
||||||
|
public:
|
||||||
|
TAllocation(size_t size, unsigned char* mem, TAllocation* prev = 0) :
|
||||||
|
size(size), mem(mem), prevAlloc(prev) { }
|
||||||
|
|
||||||
|
private:
|
||||||
|
size_t size; // size of the user data area
|
||||||
|
unsigned char* mem; // beginning of our allocation (pts to header)
|
||||||
|
TAllocation* prevAlloc; // prior allocation in the chain
|
||||||
|
};
|
||||||
|
|
||||||
//
|
//
|
||||||
// There are several stacks. One is to track the pushing and popping
|
// There are several stacks. One is to track the pushing and popping
|
||||||
// of the user, and not yet implemented. The others are simply a
|
// of the user, and not yet implemented. The others are simply a
|
||||||
|
@ -8108,7 +8108,7 @@ static enum menu_action ozone_parse_menu_entry_action(
|
|||||||
|
|
||||||
if ( !menu_navigation_wraparound_enable
|
if ( !menu_navigation_wraparound_enable
|
||||||
&& selection == ozone->system_tab_end + horizontal_list_size)
|
&& selection == ozone->system_tab_end + horizontal_list_size)
|
||||||
new_selection = (int)selection;
|
new_selection = selection;
|
||||||
|
|
||||||
if (new_selection != (int)selection)
|
if (new_selection != (int)selection)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user