nwhitehead / pzretro

libretro core to play PuzzleScript games
Other
11 stars 2 forks source link

dingux: Fix the C++11 iterators for dingux #18

Closed RobLoach closed 9 months ago

RobLoach commented 9 months ago

The C++11 syntax was confusing dingux-mips32. Being a bit more explicit about the iterator should fix it up.

src/core.cpp:372:36: error: invalid cast from type 'const std::initializer_list<const int>' to type 'int'
         if (!joypad_old_state[(int)key] && input_state_cb(0, RETRO_DEVICE_JOYPAD, 0, key)) {