1
0
Fork 0
mirror of https://github.com/ErikAndren/cue2pops-mac.git synced 2025-04-19 23:48:06 +02:00

Commit graph

  • 608aebf7f2 Encapsulate parameters into a struct master Erik Andrén Zachrisson 2015-11-04 21:27:28 +01:00
  • 98b05d61c2 Rename game variables Erik Andrén Zachrisson 2015-11-04 20:26:23 +01:00
  • 31435df361 Add brackets Erik Andrén Zachrisson 2015-11-02 22:04:07 +01:00
  • 8c342f1b1f Rename variable to i Erik Andrén Zachrisson 2015-11-02 21:58:02 +01:00
  • 7d00f9a83a Add brackets Erik Andrén Zachrisson 2015-11-02 21:56:36 +01:00
  • c50f62c31b Localize variable Erik Andrén Zachrisson 2015-11-02 21:54:18 +01:00
  • 8a55be728e Rename GetLeadOut Erik Andrén Zachrisson 2015-11-02 21:51:45 +01:00
  • 951382b9e0 Rename some functions Erik Andrén Zachrisson 2015-11-02 21:51:20 +01:00
  • 9db425f111 Remove double semicolon Erik Andrén Zachrisson 2015-11-02 21:44:25 +01:00
  • f1b687cea8 batch variable is now deprecated Erik Andrén Zachrisson 2015-11-02 21:43:01 +01:00
  • c55fb620f3 Allocate on heap, not on stack Erik Andrén Zachrisson 2015-11-01 22:36:31 +01:00
  • de659afea1 Homogenize the Error: messages Erik Andrén Zachrisson 2015-11-01 22:32:53 +01:00
  • e6506eaa1e Remove interactive CDRWIN fix. Why wouldn't the user want it? Also it was broken Erik Andrén Zachrisson 2015-11-01 22:30:17 +01:00
  • 1bd9698870 Add brackets aroudn if statements Erik Andrén Zachrisson 2015-11-01 22:26:35 +01:00
  • ce0d78b3bd Remove lots of code duplication Erik Andrén Zachrisson 2015-11-01 22:17:09 +01:00
  • d4ffa2429e Fix indentation Erik Andrén Zachrisson 2015-11-01 22:06:44 +01:00
  • 6c856cb429 Remove use of argv when writing the VCD Erik Andrén Zachrisson 2015-11-01 22:01:02 +01:00
  • 9551730de6 Make argument parsing more generic. First argument must always be the input file Erik Andrén Zachrisson 2015-11-01 20:18:41 +01:00
  • fef2de4175 Support that arg 2 is command Erik Andrén Zachrisson 2015-11-01 19:51:16 +01:00
  • 989427e8ed Create separate function to convert to .vcd file ending Erik Andrén Zachrisson 2015-11-01 19:48:16 +01:00
  • e6ea357cb7 Correct string copy when passing two arguments Erik Andrén Zachrisson 2015-11-01 19:19:57 +01:00
  • 2ec80869cf Create argument handler function. Some variables needed to go global again. Handle that later Erik Andrén Zachrisson 2015-11-01 19:15:17 +01:00
  • 5e3522b1f5 Allocate outbuf on the heap instead of the stack Erik Andrén Zachrisson 2015-11-01 14:01:24 +01:00
  • 23a78f1981 Localize bin_size Erik Andrén Zachrisson 2015-11-01 13:55:37 +01:00
  • 7421fd53f3 Add extra braces Erik Andrén Zachrisson 2015-11-01 13:53:39 +01:00
  • 63ac60d201 Add extra braces Erik Andrén Zachrisson 2015-11-01 13:50:05 +01:00
  • efbffe16b4 Revert back to static 4 byte copy and add an assert protecting the runtime Erik Andrén Zachrisson 2015-11-01 13:48:27 +01:00
  • ce7be4c8db Fix variable grouping Erik Andrén Zachrisson 2015-11-01 13:40:35 +01:00
  • 94256ae1f4 Remove non-necessary newlines Erik Andrén Zachrisson 2015-11-01 13:40:20 +01:00
  • c0617e78a0 Remove superfluous comment Erik Andrén Zachrisson 2015-11-01 13:39:35 +01:00
  • f123276080 Do not use global size variable. Rename local file handle to something more appropriate Erik Andrén Zachrisson 2015-11-01 13:38:45 +01:00
  • c441eefe0b Localize bin_file Erik Andrén Zachrisson 2015-11-01 13:37:32 +01:00
  • 955bd8445e Localize file ptr and correct its naming to vcd_file Erik Andrén Zachrisson 2015-11-01 13:36:09 +01:00
  • eb632a36dc Rename ptr to the somewhat more relevant cue_ptr Erik Andrén Zachrisson 2015-11-01 13:26:21 +01:00
  • 07c68f8fe9 Localize cue_ptr and rename it to cue_index_ptr Erik Andrén Zachrisson 2015-11-01 13:21:56 +01:00
  • 28be06864f Rename cuesize to cue_size for clarity Erik Andrén Zachrisson 2015-11-01 13:18:00 +01:00
  • e1da69ce5c Rename cuebuf pointer to cue_buf for clarity Erik Andrén Zachrisson 2015-11-01 13:17:12 +01:00
  • c1012aea2b Generalize GetBinSize to GetFileSize, use it when dealing with the cue file Erik Andrén Zachrisson 2015-11-01 13:15:51 +01:00
  • f4c2269d7f Check if the bin_path malloc failed Erik Andrén Zachrisson 2015-11-01 12:55:01 +01:00
  • ecc773c38f Check if the headerbuf malloc succeeded Erik Andrén Zachrisson 2015-11-01 12:53:06 +01:00
  • 07ecab26f9 Use ascii symbol instead of constant Erik Andrén Zachrisson 2015-11-01 12:48:43 +01:00
  • 9e05bba87e Localize bin_path Erik Andrén Zachrisson 2015-11-01 12:45:14 +01:00
  • 2ff4f7b67d Update comment Erik Andrén Zachrisson 2015-11-01 12:42:05 +01:00
  • 7223af09ec Split out bin size calculation into separate function Erik Andrén Zachrisson 2015-11-01 12:41:48 +01:00
  • 360c1fb351 Localize track_count Erik Andrén Zachrisson 2015-11-01 12:36:46 +01:00
  • b0df891d6d Make memcpy more architecture generic (no hardcoded assumption that an int is 4 bytes Erik Andrén Zachrisson 2015-11-01 12:33:49 +01:00
  • 0109bb0ab3 Delete trailing whitespace Erik Andrén Zachrisson 2015-11-01 12:28:32 +01:00
  • 10586f19ea Localize daTrack_ptr Erik Andrén Zachrisson 2015-11-01 12:27:28 +01:00
  • c7ab02638b headersize and sectorsize are constants. Make them uppercase for clarity Erik Andrén Zachrisson 2015-11-01 12:25:09 +01:00
  • be18ff3355 Constify headersize Erik Andrén Zachrisson 2015-11-01 12:24:14 +01:00
  • b7c2ef6a1a Localize more global variables Erik Andrén Zachrisson 2015-11-01 12:22:36 +01:00
  • 396a9fed30 Localize global variables that are in fact local Erik Andrén Zachrisson 2015-11-01 12:20:28 +01:00
  • 6eadff488d sectorsize is used as a constant. Make it so Erik Andrén Zachrisson 2015-11-01 12:19:07 +01:00
  • dcb1b88851 Remove global variable. Place inside the function where it is used instead Erik Andrén Zachrisson 2015-11-01 12:17:05 +01:00
  • 411f444861 Replace hex values with actual ascii symbol for clarity Erik Andrén Zachrisson 2015-11-01 11:53:50 +01:00
  • c66508b474 Change return value Erik Andrén Zachrisson 2015-11-01 11:46:17 +01:00
  • b4bb3bf1e7 Enclose if statements with braces Erik Andrén Zachrisson 2015-11-01 11:45:34 +01:00
  • 80d36074c8 Constify variables that are set at compile time Erik Andrén Zachrisson 2015-11-01 11:44:03 +01:00
  • cddc4323b1 Use local file descriptor to minimize risk of mixing them up. Check the error status of the fseek and ftell Erik Andrén Zachrisson 2015-11-01 11:41:15 +01:00
  • a5c7a5b8c6 Rename dumpsize to bin_size Erik Andrén Zachrisson 2015-11-01 09:37:16 +01:00
  • 83fe739c98 Rename dumpaddr to bin_path Erik Andrén Zachrisson 2015-11-01 09:35:04 +01:00
  • 242bca6adb Copy the bin string Erik Andrén Zachrisson 2015-10-31 15:35:17 +01:00
  • 2a1197cc79 Use a build time macro instead of hard coded value Erik Andrén Zachrisson 2015-10-31 09:55:16 +01:00
  • 6ac6c586d1 Prevent writing out of range by extending the buffer by one Erik Andrén Zachrisson 2015-10-31 09:50:18 +01:00
  • da8a911771 #else not #elif Erik Andrén Zachrisson 2015-10-30 23:12:53 +01:00
  • 35fcad77b2 Install depends on cue2pops Erik Andrén Zachrisson 2015-10-30 23:12:39 +01:00
  • 7b6207bb9f Activate DEBUG variable upon debug build Erik Andrén Zachrisson 2015-10-30 23:11:40 +01:00
  • 45cf9667eb It is ok to not have a full path in the cue Erik Andrén Zachrisson 2015-10-30 23:07:56 +01:00
  • 57da5e5e00 Add debug target Erik Andrén Zachrisson 2015-10-30 22:55:53 +01:00
  • f44e4754b7 Add support for both back and forward slashes. Also decrypt the ascii code to actual character Erik Andrén Zachrisson 2015-10-30 22:54:48 +01:00
  • e49828da8f Add original files Erik Andrén Zachrisson 2015-10-30 22:16:40 +01:00
  • 1949b0d734 Add install target Erik Andrén Zachrisson 2015-10-30 22:14:08 +01:00
  • 2f1d14a302 Remove needless pauses that do not work on non windows systems Erik Andrén Zachrisson 2015-10-30 22:12:34 +01:00
  • ae9222cc1a Silence another warning Erik Andrén Zachrisson 2015-10-30 22:03:05 +01:00
  • ff28a9f6c4 Remove unnecessary assignment Erik Andrén Zachrisson 2015-10-30 22:01:01 +01:00
  • b0b680c3eb Add compiler flags Erik Andrén Zachrisson 2015-10-30 22:00:52 +01:00
  • 1d8b0f92d3 Convert file to unix linefeeds Erik Andrén Zachrisson 2015-10-30 21:58:49 +01:00
  • 55dc8fd680 Change to unsigned type to silence warning Erik Andrén Zachrisson 2015-10-30 21:54:58 +01:00
  • 9141477cb0 Add dedicated rule and clean Erik Andrén Zachrisson 2015-10-30 21:51:24 +01:00
  • e4bf314ee4 Add src file Erik Andrén Zachrisson 2015-10-30 21:50:10 +01:00
  • 9631990390 Initial makefile Erik Andrén Zachrisson 2015-10-30 21:49:01 +01:00