This project is mirrored from https://*****@github.com/libretro/flycast.git. Pull mirroring updated .
  1. 19 Aug, 2015 18 commits
  2. 18 Aug, 2015 5 commits
  3. 17 Aug, 2015 6 commits
  4. 16 Aug, 2015 9 commits
  5. 15 Aug, 2015 2 commits
    • Jan Holthuis's avatar
      Merge pull request #753 from reicast/holzhaus/small-code-fixes · 595af1a2
      Jan Holthuis authored
      Fix some compiler warnings
      595af1a2
    • Jan Holthuis's avatar
      core/hw/sh4/dyna/shil.cpp: Fix '&&' within '||' warning · 5ab3d7b5
      Jan Holthuis authored
      Here's the original compiler warning:
      ../../core/hw/sh4/dyna/shil.cpp:700:24: warning: '&&' within '||'
            [-Wlogical-op-parentheses]
        ...if (op->rd.is_reg() && op->rd._reg==reg_sr_T ||  op->op==shop_ifb)
               ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ~~
      ../../core/hw/sh4/dyna/shil.cpp:700:24: note: place parentheses around the '&&'
            expression to silence this warning
        ...if (op->rd.is_reg() && op->rd._reg==reg_sr_T ||  op->op==shop_ifb)
                               ^
               (                                       )
      ../../core/hw/sh4/dyna/shil.cpp:843:25: warning: '&&' within '||'
            [-Wlogical-op-parentheses]
                              if (op->rs1.is_reg() && op->rs1._reg==reg_sr_T
                                  ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
      ../../core/hw/sh4/dyna/shil.cpp:843:25: note: place parentheses around the '&&'
            expression to silence this warning
                              if (op->rs1.is_reg() && op->rs1._reg==reg_sr_T
                                                   ^
                                  (                                         )
      ../../core/hw/sh4/dyna/shil.cpp:844:25: warning: '&&' within '||'
            [-Wlogical-op-parentheses]
                                      || op->rs2.is_reg() &&
      op->rs2._reg==reg_sr_T
                                      ~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
      ../../core/hw/sh4/dyna/shil.cpp:844:25: note: place parentheses around the '&&'
            expression to silence this warning
                                      || op->rs2.is_reg() && op->rs2._reg==reg_sr_T
                                                          ^
                                         (                                         )
      ../../core/hw/sh4/dyna/shil.cpp:845:25: warning: '&&' within '||'
            [-Wlogical-op-parentheses]
                                      || op->rs3.is_reg() && op->rs3._reg==reg_sr_T
                                      ~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
      ../../core/hw/sh4/dyna/shil.cpp:845:25: note: place parentheses around the '&&'
            expression to silence this warning
                                      || op->rs3.is_reg() && op->rs3._reg==reg_sr_T
                                                          ^
                                         (                                         )
      5ab3d7b5