mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 08:09:26 +01:00
blubberdiblub
38e80fe094
Fixes some file handling in IPC_HLE
* change File::GetSize to fetch the size directly from the open file instead of stat'ing it when challed with a FILE* * use changed File::GetSize(FILE *f) instead of calling with file name in two places * remove "seek_pos % file_size" hack for ZTP, so one can seek to the end of file again. Please check Zelda: Twilight Princess for regressions * return error codes when reading or writing from/to a file A lot of those changes are from j4ck.fr0st, so kudos to him. I did not change the file open mode for ISFS_OPEN_WRITE to "wb". While that would probably be more correct, it says in the comment that it might affect Mario Kart Wii. I would prefer somebody with that game try that change locally first. Please check your games for regressions (or even improvement). Some games that may be affected are Zelda - Twilight Princess and Metroid Prime 3. Fixes issue 1749 git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6634 8ced0084-cf51-0410-be5f-012b33b47a6e
Dolphin-emu - The Gamecube / Wii Emulator ========================================== Homesite: http://dolphin-emu.com/ Project Site: http://code.google.com/p/dolphin-emu About: Dolphin-emu is a emulator for Gamecube, Wii, Triforce that lets you run Wii/GCN/Tri games on your Windows/Linux/MacOSX PC system Open Source Release under GPL 2 Project Leaders: F|RES, ector Team members: http://code.google.com/p/dolphin-emu/people/ Please read the FAQ before use: http://code.google.com/p/dolphin-emu/wiki/Facts_And_Questions System Requirements: * OS: Microsoft Windows (2000/XP/Vista or higher) or Linux or Apple Mac OS X. * Processor: Fast CPU with SSE2 supported (recommended at least 2Ghz). Dual Core for speed boost. * Graphics: Any graphics card that supports Direct3D 9 or OpenGL 2.1. [Command line usage] Usage: Dolphin [-h] [-d] [-l] [-e <str>] [-V <str>] [-A <str>] [-P <str>] [-W <str>] -h, --help Show this help message -d, --debugger Opens the debugger -l, --logger Opens the logger -e, --exec=<str> Loads the specified file (DOL, ELF, WAD, GCM, ISO) -V, --video_plugin=<str> Specify a video plugin -A, --audio_plugin=<str> Specify an audio plugin [Libraries] Cg: Cg Shading API (http://developer.nvidia.com/object/cg_toolkit.html) WiiUse: Wiimote Bluetooth API (http://www.wiiuse.net/) SDL: Simple DirectMedia Layer API (http://www.libsdl.org/) *.pdb = Program Debug Database (use these symbols with a program debugger) [DSP Plugins] Plugin_DSP_HLE: High Level DSP Emulation Plugin_DSP_LLE: Low Level DSP Emulation [Video Plugins] Plugin_VideoDX9: Render with Direct3D 9 Plugin_VideoDX11: Render with Direct3D 11 Plugin_VideoOGL: Render with OpenGL + Cg Shader Language [Sys Files] totaldb.dsy: Database of symbols (for devs only) font_ansi.bin/font_sjis.bin: font dumps setting-usa/jpn/usa.txt: config files for Wii [Support Folders] Cache: used to cache the ISO list Config: emulator configuration files Dump: anything dumped from dolphin will go here GC: Gamecube memory cards GameConfig: holds the INI game config files Load: high resolution textures Logs: logs go here Maps: symbol tables go here (dev only) OpenCL: OpenCL code ScreenShots: screenshots are saved here Shaders: post-processing shaders StateSaves: save states are stored here Wii: Wii saves and config is stored here
Languages
C++
88.5%
Kotlin
4.9%
C
2.4%
CMake
1.2%
Objective-C++
1%
Other
1.7%