Preston Smith
6f1fa1ab08
omx audio backend, and dispmanx window
2016-09-21 17:21:13 -05:00
Jan Holthuis
2866c879ac
cfg/cfg.cpp: Mark possible buffer overflow
2016-02-22 18:31:36 +01:00
Jan Holthuis
4267d51f90
stdclass: Make path getter function names more verbose
2015-09-02 15:49:00 +02:00
Jan Holthuis
b6d0cddcaa
stdclass: Add support for separate config/data dirs and system wide dirs
...
This adds support for separate config and data dirs.
On Linux, these will be compliant XDG Basedir Specification, i.e.
XDG_CONFIG_HOME and XDG_CONFIG_DIRS (or XDG_DATA_HOME and XDG_DATA_DIRS
respectively). On all other platforms, there currently just set to the
homedir path (so no previous behaviour has been changed).
If reicast wants to read and write a data file, it just calls
get_data_path("/samplefile.txt"). If it does not need to write to
that file, it just uses get_data_path("/samplefile.txt", false). That
way, we can also use system-wide dirs (like /usr/share/reicast on
linux), that the user usually doesn't have write access to.
The same applies for config file, where you use get_config_path(args)
respectively.
2015-09-02 15:48:53 +02:00
Jan Holthuis
d0c639eb7c
cfg/cfg: Also call savecfgf() on cfgSaveInt
2015-08-24 14:48:01 +02:00
Jan Holthuis
42977f8284
cfg/cfg: Fix a nix (add brackets)
2015-08-24 14:46:45 +02:00
Jan Holthuis
f56299209d
cfg/cfg: Only save config file if has been read or newly created
2015-08-24 14:45:52 +02:00
Stefanos Kornilios Mitsis Poiitidis
aa7aa18cab
cfg: Create emu.cfg if missing
2015-08-24 14:05:51 +02:00
Jan Holthuis
99d75220e7
cfg/cfg: Don't save the config immediately after opening.
2015-08-24 13:52:04 +02:00
Jan Holthuis
42f7919c48
cfg: Add virtual entry support
2015-08-24 13:52:01 +02:00
Jan Holthuis
7a5c90ccca
cfg: Reimplement ConfigFile using C++ maps and strings
2015-08-24 13:51:57 +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
Gabriel Corona
221ba4c22d
s/cfgSetVitual/cfgSetVirtual
2015-07-31 20:32:06 +02:00
Stefanos Kornilios Mitsis Poiitidis
0c04adba67
reios: Add support for elf booting
2015-03-22 01:30:19 +01:00
Stefanos Kornilios Mitsis Poiitidis
f5d29677b3
Merge branch 'androidui'
...
Conflicts:
core/hw/pvr/spg.cpp
core/hw/sh4/interpr/sh4_interpreter.cpp
reicast/android/src/com/reicast/emulator/MainActivity.java
2013-12-28 22:28:50 +01:00
Stefanos Kornilios Mitsis Poiitidis
7ef9de3cae
Moving code around, cleanups
2013-12-28 22:20:08 +01:00