Commit Graph

1637 Commits

Author SHA1 Message Date
Stefanos Kornilios Mitsis Poiitidis c942b2bbcc VisualStudio: Enable Edit&Continue, fix interm. dir 2015-08-19 00:54:33 +02:00
Stefanos Kornilios Mitsis Poiitidis 4a4a304815 VisualStudio: Update project for cfg (#755)
- Add cfg/ini.cpp and cfg/ini.h to the project
2015-08-19 00:51:45 +02:00
Jan Holthuis fd913f0c3d Merge pull request #762 from reicast/holzhaus/makefiles
Makefile: Fix Linux_x86
2015-08-17 20:36:59 +02:00
Jan Holthuis e942feb338 Merge pull request #763 from reicast/holzhaus/update-readme
README: Update 'Building for Linux' section
2015-08-17 20:34:23 +02:00
Jan Holthuis 6500201a38 README: Update 'Building for Linux' section 2015-08-17 20:32:46 +02:00
Jan Holthuis bf84eb3ca8 ARM: Append CFLAGS to ASFLAGS (because gcc is used for AS) 2015-08-17 19:55:17 +02:00
Gabriel Corona 5eaafbc7f0 Fix Linux Makefile
as does not recognize -m32
2015-08-17 19:51:20 +02:00
Stefanos Kornilios Mitsis Poiitidis a90a2cf91c Merge pull request #755 from reicast/holzhaus/cfg-improvements
cfg: Make ConfigFile class reusable
2015-08-17 03:10:07 +02:00
Jan Holthuis e0f00e661b Merge pull request #756 from reicast/holzhaus/update-gitignore
gitignore: Update .map and *.elf paths
2015-08-16 23:46:56 +02:00
Jan Holthuis 6c5575f089 gitignore: Update .map and *.elf paths 2015-08-16 23:46:17 +02:00
Jan Holthuis 509ac93463 cfg: Move ConfigFile classes to ini.cpp/h 2015-08-16 23:35:13 +02:00
Jan Holthuis e4527bf531 cfg: Fix indentation 2015-08-16 23:00:05 +02:00
Jan Holthuis 8744516e52 cfg: Remove redundant code 2015-08-16 21:25:54 +02:00
Jan Holthuis 87f7ca0bb4 cfg: Allow LoadInt to parse hex strings 2015-08-16 21:25:54 +02:00
Jan Holthuis 60e094dbb9 cfg: Make ConfigFile reusable 2015-08-16 21:25:39 +02:00
Jan Holthuis 78091577ea cfg: Move more code into the ConfigFile class 2015-08-16 21:22:25 +02:00
Jan Holthuis f1ec705067 cfg: Move actual file parsing code into ParseFile method 2015-08-16 18:51:44 +02:00
Jan Holthuis 595af1a267 Merge pull request #753 from reicast/holzhaus/small-code-fixes
Fix some compiler warnings
2015-08-15 18:41:06 +02:00
Jan Holthuis 5ab3d7b59b core/hw/sh4/dyna/shil.cpp: Fix '&&' within '||' warning
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
                                                    ^
                                   (                                         )
2015-08-15 18:15:50 +02:00
Jan Holthuis 1d0ef81a43 core/hw/sh5/dyna/decoder.cpp: place parentheses around && expression
This compiler warning has been fixed:
../../core/hw/sh4/dyna/decoder.cpp:1181:66: warning: '&&' within '||'
      [-Wlogical-op-parentheses]
  ...|| blk->BlockType==BET_Cond_1 && blk->BranchBlock<=blk->addr)
     ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../core/hw/sh4/dyna/decoder.cpp:1181:66: note: place parentheses around the
      '&&' expression to silence this warning
  ...|| blk->BlockType==BET_Cond_1 && blk->BranchBlock<=blk->addr)
                                   ^
        (                                                        )
2015-08-15 18:15:50 +02:00
Jan Holthuis 604dcce531 core/hw/holly/sb_mem.cpp: Fix "expression >= 0 is always true" warning
This is the original warning message:
../../core/hw/holly/sb_mem.cpp:219:12: warning: comparison of unsigned
      expression >= 0 is always true [-Wtautological-compare]
        if ((base >=0x0000) && (base <=0x001F) /*&& (addr<=0x001FFFFF)*/...
             ~~~~ ^ ~~~~~~
2015-08-15 18:15:49 +02:00
Jan Holthuis 109a2cce93 rec_x64.cpp: Fix function calls
Resolves #719.
2015-08-15 18:15:49 +02:00
Jan Holthuis f6c167b20b Merge pull request #751 from reicast/holzhaus/fix-linux-dist-formatting
Fix linux-dist/main.cpp formatting
2015-08-15 17:55:55 +02:00
Jan Holthuis 77cac7b0f9 linux-dist: Fix code spacing and alignment 2015-08-15 17:12:48 +02:00
Jan Holthuis 154c92bd59 linux-dist: Remove unnecessary for-loop 2015-08-15 17:12:44 +02:00
TwistedUmbrella 282dde5819 Merge pull request #748 from reicast/loungekatt
Fix path structure and relationships in iOS project
2015-08-14 23:37:46 -04:00
TwistedUmbrella a4a7540055 Fix path structure and relationships in iOS project 2015-08-14 23:16:31 -04:00
TwistedUmbrella e92b04ef01 Merge pull request #747 from reicast/loungekatt
Improve the Github API plugin, Drawer updates
2015-08-14 00:01:29 -04:00
TwistedUmbrella 90b624b081 Proper debug icon, Tile background, Standardize font
Standardize listing text, Reduce Toast text size

The toast was nearly a full screen dialog for one line of text

Differentiate the headings from the list items

Increase transparency of tiled background image

Fix an issue with text size for switch compat
2015-08-13 17:44:28 -04:00
TwistedUmbrella c0f3241bcf Ignore Android warning about useless layouts
This layout keeps the menu from overwriting the first item
2015-08-13 14:58:40 -04:00
TwistedUmbrella 8c8b952434 Replace SlidingDrawer with compatibility DrawerLayout
Remove actionable references (requires v7 overhaul)

Darken background and remove unused views

Fix alignment of pseudo action bar to list
2015-08-13 14:52:17 -04:00
TwistedUmbrella 52b423f42b Add a separate drawer offset for large-screen devices 2015-08-12 10:46:36 -04:00
TwistedUmbrella ab45419ba7 Improve the Github API plugin accessibility 2015-08-12 10:23:08 -04:00
Stefanos Kornilios Mitsis Poiitidis 71c2cb4512 Merge pull request #743 from reicast/feat/nvmem-automatic-fallback
nvmem automatic fallback
2015-08-12 03:59:16 +02:00
Stefanos Kornilios Mitsis Poiitidis 67ecd6d9f9 vmem: Automatic fallback to slowpath if alloc fails
This consolidates some of the work done for TARGET_NO_NVMEM and
feat/no-direct-memmap. If nvmem is disabled at compile time or alloc
fails _nvmem_enabled() will return false. Various other fixes
and cleanups all around.
2015-08-12 03:09:44 +02:00
Stefanos Kornilios Mitsis Poiitidis eeeb2d6a62 texcache: Correctly compute size for STRIDE PLANAR textures 2015-08-12 03:09:44 +02:00
Stefanos Kornilios Mitsis Poiitidis 6724db4f8c shrec/arm: Fix 16M mode lookups. I hate hardcoded consts 2015-08-12 03:05:14 +02:00
TwistedUmbrella d497204d02 Disable turbo mode toggle when synchronous 2015-08-11 20:57:36 -04:00
TwistedUmbrella 9ec657949a Basic Android option to toggle Synchronous Rendering 2015-08-11 20:50:34 -04:00
Jan Holthuis ab33f473b3 linux-dist: Fix indentation and reformat code 2015-08-12 01:57:29 +02:00
Jan Holthuis 025dbd6458 Merge pull request #740 from reicast/fix/some-linux-main-fixes
linux-dist/main.cpp cleanups
2015-08-12 00:31:11 +02:00
Stefanos Kornilios Mitsis Poiitidis 3703b15c3a sync: Also sync to video if too fast
config:pvr.SynchronousRendering controls this feature

Not quite perfect, but should reduce the issues
with too fast hardware
2015-08-11 23:55:51 +02:00
TwistedUmbrella 04ddf64441 Merge pull request #742 from reicast/loungekatt
Remove deprecated log tag from debug
2015-08-11 16:29:03 -04:00
TwistedUmbrella 851acf8518 Remove deprecated log tag from debug
Conflicts:
	shell/android/src/com/reicast/emulator/debug/GenerateLogs.java
2015-08-11 16:15:35 -04:00
Jan Holthuis 5fbfc0fb8b linux-dist: Rely on USES_HOMEDIR for home dir detection
Neither Mac nor Emscripten define USES_HOMEDIR in their Makefiles, so checking
if HOST_OS != OS_DARWIN && !defined(TARGET_EMSCRIPTEN) is pointless.
2015-08-11 21:36:14 +02:00
Jan Holthuis 60c827cf0c linux-dist: Clean up home dir detection 2015-08-11 21:31:57 +02:00
Stefanos Kornilios Mitsis Poiitidis 75e3c441ed Merge pull request #731 from reicast/feat/rename-newdc-reicast
Rename newdc to reicast
2015-08-11 21:01:16 +02:00
Stefanos Kornilios Mitsis Poiitidis 24b721c359 Replace reidc with reicast on logs 2015-08-11 20:52:10 +02:00
TwistedUmbrella 2b027e9897 Update log tags and add new native identifier 2015-08-11 20:52:09 +02:00
Stefanos Kornilios Mitsis Poiitidis 1706027c10 Rename newdc to reicast 2015-08-11 20:52:09 +02:00